Mercurial > octave-nkf
diff src/ov-base.h @ 2477:3d905d3820a4
[project @ 1996-11-07 16:46:11 by jwe]
author | jwe |
---|---|
date | Thu, 07 Nov 1996 16:48:16 +0000 |
parents | 1573640a9994 |
children | 8ed4362aa0d6 |
line wrap: on
line diff
--- a/src/ov-base.h Thu Nov 07 05:16:55 1996 +0000 +++ b/src/ov-base.h Thu Nov 07 16:48:16 1996 +0000 @@ -45,7 +45,9 @@ class tree_walker; -// Real scalar values. +// A base value type, so that derived types only have to redefine what +// they need (if they are derived from octave_base_value instead of +// octave_value). class octave_base_value : public octave_value @@ -62,11 +64,6 @@ octave_value *clone (void) { return new octave_base_value (*this); } -#if 0 - void *operator new (size_t size); - void operator delete (void *p, size_t size); -#endif - type_conv_fcn numeric_conversion_function (void) const { return (type_conv_fcn) 0; } @@ -182,8 +179,10 @@ private: + // Type id of base value objects, set by register_type(). static int t_id; + // Type name of base value objects, defined in ov-base.cc. static const string t_name; };