diff liboctave/Array.h @ 4548:820323598f4f

[project @ 2003-10-26 03:16:42 by jwe]
author jwe
date Sun, 26 Oct 2003 03:16:42 +0000
parents 01ee68d18069
children 802818bfac91
line wrap: on
line diff
--- a/liboctave/Array.h
+++ b/liboctave/Array.h
@@ -404,6 +404,9 @@
   T operator () (const Array<int>& ra_idx) const { return elem (ra_idx); }
 #endif
 
+  void resize_no_fill (int n);
+  void resize_and_fill (int n, const T& val);
+
   // !!! WARNING !!! -- the following resize_no_fill and
   // resize_and_fill functions are public because template friends
   // don't work properly with versions of gcc earlier than 3.3.  You
@@ -412,20 +415,13 @@
 
   // protected:
 
-  void resize_no_fill (int n);
-
   void resize_no_fill (int r, int c);
+  void resize_and_fill (int r, int c, const T& val);
 
   void resize_no_fill (int r, int c, int p);
+  void resize_and_fill (int r, int c, int p, const T& val);
 
   void resize_no_fill (const dim_vector& dims);
-
-  void resize_and_fill (int n, const T& val);
-
-  void resize_and_fill (int r, int c, const T& val);
-
-  void resize_and_fill (int r, int c, int p, const T& val);
-
   void resize_and_fill (const dim_vector& dims, const T& val);
 
 public: