Mercurial > hg > octave-nkf
diff liboctave/Array.h @ 355:1752b1ef8bac
[project @ 1994-02-11 01:08:48 by jwe]
author | jwe |
---|---|
date | Fri, 11 Feb 1994 01:13:22 +0000 |
parents | 1a75146ef3bb |
children | 4fbd4bc7f888 |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -236,9 +236,10 @@ { public: - Proxy (DiagArray<T> *ref, int r, int c) : object (ref), i (r), j (c) { } + inline Proxy (DiagArray<T> *ref, int r, int c) + : object (ref), i (r), j (c) { } - const Proxy& operator = (const T& val) const + inline const Proxy& operator = (const T& val) const { if (i == j) { @@ -252,7 +253,7 @@ return *this; } - operator T () const + inline operator T () const { if (object) return object->get (i);