1993
|
1 // Template array classes |
1988
|
2 /* |
|
3 |
7017
|
4 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
8920
|
5 2005, 2007, 2008, 2009 John W. Eaton |
1988
|
6 |
|
7 This file is part of Octave. |
|
8 |
|
9 Octave is free software; you can redistribute it and/or modify it |
|
10 under the terms of the GNU General Public License as published by the |
7016
|
11 Free Software Foundation; either version 3 of the License, or (at your |
|
12 option) any later version. |
1988
|
13 |
|
14 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
17 for more details. |
|
18 |
|
19 You should have received a copy of the GNU General Public License |
7016
|
20 along with Octave; see the file COPYING. If not, see |
|
21 <http://www.gnu.org/licenses/>. |
1988
|
22 |
|
23 */ |
|
24 |
|
25 #if !defined (octave_Array2_h) |
|
26 #define octave_Array2_h 1 |
|
27 |
|
28 #include "Array.h" |
10352
|
29 #define Array2 Array |
1988
|
30 |
10352
|
31 // If we're with GNU C++, issue a warning. |
|
32 #ifdef __GNUC__ |
|
33 #warning Using Array2<T> is deprecated. Use Array<T> directly. |
|
34 #endif |
1988
|
35 |
|
36 #endif |