Mercurial > hg > octave-nkf
diff liboctave/Array.h @ 3665:0689afb1d001
[project @ 2000-05-11 19:07:56 by jwe]
author | jwe |
---|---|
date | Thu, 11 May 2000 19:10:09 +0000 |
parents | 0a93682f89c8 |
children | b8c1cb5b9fd9 |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -164,6 +164,9 @@ int capacity (void) const { return rep->length (); } int length (void) const { return rep->length (); } + T range_error (const char *fcn, int n) const; + T& range_error (const char *fcn, int n); + // No checking, even for multiple references, ever. T& xelem (int n) { return rep->elem (n); } @@ -228,9 +231,6 @@ return *this; } - T range_error (const char *fcn, int n) const; - T& range_error (const char *fcn, int n); - #ifdef HEAVYWEIGHT_INDEXING void set_max_indices (int mi) { max_indices = mi; } @@ -251,7 +251,8 @@ }; template <class LT, class RT> -int assign (Array<LT>& lhs, const Array<RT>& rhs); +int +assign (Array<LT>& lhs, const Array<RT>& rhs); #endif