Mercurial > hg > octave-lyh
diff src/ov.h @ 8523:ad3afaaa19c1
implement non-copying contiguous range indexing
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 15 Jan 2009 07:22:24 +0100 |
parents | d254a21e0120 |
children | b01fef323c24 |
line wrap: on
line diff
--- a/src/ov.h +++ b/src/ov.h @@ -847,13 +847,18 @@ Array<FloatComplex> float_complex_vector_value (bool frc_str_conv = false, bool frc_vec_conv = false) const; - // Make a copy that is not a special null matrix + // Possibly economize a lazy-indexed value. - octave_value non_null_value (void) const; + void maybe_economize (void) + { rep->maybe_economize (); } + + // Make a copy suitable for storing. + + octave_value storable_value (void) const; // Ditto, but in place. - void make_non_null_value (void); + void make_storable_value (void); // Conversions. These should probably be private. If a user of this // class wants a certain kind of constant, he should simply ask for