Mercurial > jwe > octave
comparison libinterp/octave-value/ov-base-sparse.h @ 21134:2e5c1f766ac9
provide replacement hints for deprecated C++ functions
* oct-conf-post.in.h (OCTAVE_DEPRECATED): Accept message argument.
* error.h, errwarn.h, gripes.h, symtab.h, variables.h,
* ov-base-sparse.h, ov-base.h, ov.h, Array.h, DiagArray2.h,
* PermMatrix.h, Range.h, Sparse.h, dSparse.h, lo-array-errwarn.h,
* lo-array-gripes.h, unwind-prot.h: Change all uses of
OCTAVE_DEPRECATED.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 22 Jan 2016 12:15:12 -0500 |
parents | 3e7cfee5f786 |
children | 538b57866b90 |
comparison
equal
deleted
inserted
replaced
21133:31674b9d202b | 21134:2e5c1f766ac9 |
---|---|
141 | 141 |
142 bool is_constant (void) const { return true; } | 142 bool is_constant (void) const { return true; } |
143 | 143 |
144 bool is_true (void) const; | 144 bool is_true (void) const; |
145 | 145 |
146 OCTAVE_DEPRECATED octave_idx_type capacity (void) const { return nzmax (); } | 146 OCTAVE_DEPRECATED ("use 'nzmax' instead") |
147 octave_idx_type capacity (void) const { return nzmax (); } | |
147 | 148 |
148 bool print_as_scalar (void) const; | 149 bool print_as_scalar (void) const; |
149 | 150 |
150 void print (std::ostream& os, bool pr_as_read_syntax = false); | 151 void print (std::ostream& os, bool pr_as_read_syntax = false); |
151 | 152 |