diff options
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/data.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/data.hh b/Carpet/CarpetLib/src/data.hh index 8993e4d43..950222066 100644 --- a/Carpet/CarpetLib/src/data.hh +++ b/Carpet/CarpetLib/src/data.hh @@ -19,6 +19,12 @@ using namespace std; #include <iosfwd> +template<typename T> +class data; + +template<typename T> +ostream & operator << ( ostream & os, const data<T> & d ); + // A distributed multi-dimensional array template<typename T> class data: public gdata @@ -174,9 +180,6 @@ private: friend ostream & operator << <T> ( ostream & os, const data<T> & d ); }; -template<typename T> -ostream & operator << ( ostream & os, const data<T> & d ); - // Declare a specialisation |