view .dir-locals.el @ 31460:0f968958d7d5

eliminate Range class functions that are no longer needed The Range class was deprecated in Octave 7 and should now be removed from any public interfaces but we need it (or some replacement) to allow legacy range objects to be loaded from files created by old versions of Octave. This change is a start at doing this job. In a future change, we might move the Range class from Range.h to ov-legacy-range.cc, which is the only place where it is used, and eliminate the Range data member from the octave_legacy_range class. * ov.h, ov.cc (octave_value::make_range_rep_deprecated): Delete unnecessary functions. * ov.cc: Don't include Range.h. * xpow.h: Delete forward declaration of Range. * Range.h, Range.cc (Range::nnz, Range::checkelem, Range::elem, Range::index, Range::sort_internal, Range::diag, Range::sort, Range::issorted, Range::set_base, Range::set_limit, Range::set_inc, Range::inc, Range::final_value, Range::dims, Range::rows, Range::cols, Range::columns, Range::isempty, Range::operator ()): Delete. (operator << (std::ostream&, const Range&), operator >> (std::istream&, Range&)): Delete. (operator - (const Range&), operator + (double, const Range&), operator + (const Range&, double), operator - (double, const Range&) operator - (const Range&, double), operator * (double, const Range&) operator * (const Range&, double)): Delete functions and friend decls. * doc/liboctave/range.texi: Delete docs for Range class.
author John W. Eaton <jwe@octave.org>
date Wed, 16 Nov 2022 14:05:18 -0500
parents df203b20cfc6
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))