diff liboctave/array/dim-vector.h @ 19519:5b263e517c95

Remove liboctave methods and classes deprecated for longer than 3 years. * Array2.h, Array3.h, ArrayN.h, MArray2.h, MArrayN.h: remove these files with their corresponding classes which have been deprecated. * numeric/lo-mappers.h, numeric/lo-mappers.cc (octave_is_NaN_or_NA): remove deprecated function for input of doubles and floats. * util/lo-ieee.h, util/lo-ieee.cc (__lo_ieee_float_is_NaN_or_NA): remove deprecated function for input of doubles and floats. * array/Array.h (Array<T>::chop_trailing_singletons): remove deprecated method. * array/Array.h (Array<T>::Array (octave_idx_type), Array<T>::Array (octave_idx_type, T)): remove deprecated constructors which casused confusions since there are no 1D arrays. * dim-vector.h (dim_vector::dim_vector (octave_idx_type)): remove deprecated constructor which caused confusion since there are no 1D arrays. * liboctave/array/module.mk: update list of files.
author Carnë Draug <carandraug@octave.org>
date Mon, 10 Nov 2014 12:37:04 +0000
parents 3a6fd52e1458
children 4197fc428c7d
line wrap: on
line diff
--- a/liboctave/array/dim-vector.h
+++ b/liboctave/array/dim-vector.h
@@ -140,27 +140,6 @@
 
 public:
 
-  // The constructor
-  //
-  //   dim_vector (n)
-  //
-  // creates an dimension vector with N rows and 1 column.  It is
-  // deprecated because of the potentiol for confusion that it causes.
-  // Additional constructors of the form
-  //
-  //   dim_vector (r, c)
-  //   dim_vector (r, c, p)
-  //   dim_vector (d1, d2, d3, d4, ...)
-  //
-  // are available for up to 7 dimensions.
-
-  explicit dim_vector (octave_idx_type n) GCC_ATTR_DEPRECATED
-    : rep (newrep (2))
-  {
-    rep[0] = n;
-    rep[1] = 1;
-  }
-
 #define ASSIGN_REP(i) rep[i] = d ## i;
 #define DIM_VECTOR_CTOR(N) \
   dim_vector (OCT_MAKE_DECL_LIST (octave_idx_type, d, N)) \