Mercurial > hg > octave-nkf
changeset 366:4fbd4bc7f888
[project @ 1994-02-13 19:31:49 by jwe]
author | jwe |
---|---|
date | Sun, 13 Feb 1994 19:31:49 +0000 |
parents | 8c7677b435ad |
children | 04d377033730 |
files | liboctave/Array.h |
diffstat | 1 files changed, 4 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -229,9 +229,11 @@ template <class T> class DiagArray : public Array<T> { +private: + inline T get (int i) { return Array<T>::elem (i); } + inline void set (const T& val, int i) { Array<T>::elem (i) = val; } + #if ! defined (_AIX) -private: - class Proxy { public: @@ -350,11 +352,6 @@ void resize (int n, int m); void resize (int n, int m, const T& val); - -private: - - inline T get (int i) { return Array<T>::elem (i); } - inline void set (const T& val, int i) { Array<T>::elem (i) = val; } }; #if defined (__GNUG__) && ! defined (USE_EXTERNAL_TEMPLATES)