Mercurial > hg > octave-nkf
annotate liboctave/array/Array2.h @ 16583:e74ef19d2268
use octave_idx_type instead of int
* ls-mat-ascii.cc (looks_like_mat_ascii_file): USe octave_idx_type
instead of int for temporary variables.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 28 Apr 2013 23:21:43 -0400 |
parents | 648dabbb4c6b |
children | d63878346099 |
rev | line source |
---|---|
1993 | 1 // Template array classes |
1988 | 2 /* |
3 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
4 Copyright (C) 1996-2012 John W. Eaton |
1988 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
1988 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
1988 | 21 |
22 */ | |
23 | |
24 #if !defined (octave_Array2_h) | |
25 #define octave_Array2_h 1 | |
26 | |
27 #include "Array.h" | |
10352 | 28 #define Array2 Array |
1988 | 29 |
10352 | 30 // If we're with GNU C++, issue a warning. |
31 #ifdef __GNUC__ | |
32 #warning Using Array2<T> is deprecated. Use Array<T> directly. | |
33 #endif | |
1988 | 34 |
35 #endif |