diff options
Diffstat (limited to 'Carpet/CarpetLib/src/th.hh')
-rw-r--r-- | Carpet/CarpetLib/src/th.hh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/th.hh b/Carpet/CarpetLib/src/th.hh index 7c39a7d18..7abb657a5 100644 --- a/Carpet/CarpetLib/src/th.hh +++ b/Carpet/CarpetLib/src/th.hh @@ -6,7 +6,7 @@ copyright : (C) 2000 by Erik Schnetter email : schnetter@astro.psu.edu - $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/th.hh,v 1.2 2001/03/22 18:42:06 eschnett Exp $ + $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/th.hh,v 1.3 2001/03/27 22:26:31 eschnett Exp $ ***************************************************************************/ @@ -99,11 +99,19 @@ public: } // Output - friend ostream& operator<< <> (ostream& os, const th& d); + void output (ostream& os) const; }; +template<int D> +ostream& operator<< (ostream& os, const th<D>& t) { + t.output(os); + return os; +} + + + #if defined(TMPL_IMPLICIT) # include "th.cc" #endif |