diff libinterp/corefcn/oct-stream.h @ 30429:e38202d3628d stable

provide header file for forward declaration of Array<T> template * Array-fwd.h: New file. * liboctave/array/module.mk: Update. * oct-stream.h, pr-output.h, Array.h, Range.h, Sparse.h, dim-vector.h, idx-vector.h, oct-spparms.h, qr.h, oct-base64.h, url-transfer.h: Include Array-fwd.h instead of repeating Array<T> template declaration in each file.
author John W. Eaton <jwe@octave.org>
date Sat, 04 Dec 2021 08:40:07 -0500
parents 32f4357ac8d9
children e5ff1b174ddf 796f54d4ddbf
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.h	Sat Dec 04 08:34:05 2021 -0500
+++ b/libinterp/corefcn/oct-stream.h	Sat Dec 04 08:40:07 2021 -0500
@@ -37,12 +37,12 @@
 
 // These only appear as reference arguments or return values.
 
-template <typename T> class Array;
 class Cell;
 class octave_value;
 class octave_value_list;
 class string_vector;
 
+#include "Array-fwd.h"
 #include "data-conv.h"
 #include "mach-info.h"