Mercurial > hg > octave-lyh
comparison liboctave/Array.h @ 3944:818f5aec1db5
[project @ 2002-05-18 00:05:08 by jwe]
author | jwe |
---|---|
date | Sat, 18 May 2002 00:05:08 +0000 |
parents | f9ea3dcf58ee |
children | 945e8c160191 |
comparison
equal
deleted
inserted
replaced
3943:a10df4059532 | 3944:818f5aec1db5 |
---|---|
252 Array<T> index (idx_vector& i, int resize_ok = 0, | 252 Array<T> index (idx_vector& i, int resize_ok = 0, |
253 const T& rfv = Array<T>::resize_fill_value ()) const; | 253 const T& rfv = Array<T>::resize_fill_value ()) const; |
254 | 254 |
255 #endif | 255 #endif |
256 | 256 |
257 static T resize_fill_value (void) { return static_cast<T> (0); } | 257 static T resize_fill_value (void) { return T (); } |
258 | 258 |
259 void print_info (std::ostream& os, const std::string& prefix) const; | 259 void print_info (std::ostream& os, const std::string& prefix) const; |
260 }; | 260 }; |
261 | 261 |
262 template <class LT, class RT> | 262 template <class LT, class RT> |