diff liboctave/array/range-fwd.h @ 30489:bd67d0045e21 stable

use separate files for MArray, intNDArray, and range template forward decls * MArray-fwd.h, intNDArray-fwd.h, range-fwd.h: New files. * liboctave/array/module.mk: Update. * pr-output.h, ov-range.h, MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc, MArray-i.cc, MArray-s.cc, MArray.cc, MArray.h, Range.h, dNDArray.h, fNDArray.h, idx-vector.h, intNDArray.h, sparse-qr.h, oct-inttypes.h: Use new header files to replace inline forward declarations of some template types.
author John W. Eaton <jwe@octave.org>
date Mon, 06 Dec 2021 14:12:11 -0500
parents
children 796f54d4ddbf
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/liboctave/array/range-fwd.h	Mon Dec 06 14:12:11 2021 -0500
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2021 The Octave Project Developers
+//
+// See the file COPYRIGHT.md in the top-level directory of this
+// distribution or <https://octave.org/copyright/>.
+//
+// This file is part of Octave.
+//
+// Octave is free software: you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Octave is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Octave; see the file COPYING.  If not, see
+// <https://www.gnu.org/licenses/>.
+//
+////////////////////////////////////////////////////////////////////////
+
+#if ! defined (octave_range_fwd_h)
+#define octave_range_fwd_h 1
+
+#include "octave-config.h"
+
+namespace octave
+{
+  template <typename T> class OCTAVE_API range;
+}
+
+#endif