aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/th.cc
diff options
context:
space:
mode:
authorschnetter <>2002-05-05 20:16:00 +0000
committerschnetter <>2002-05-05 20:16:00 +0000
commitbdacfc0747be4771b961b63679aeb5d48a8b520f (patch)
treefa5596366195128a09f5c9d5df7bbb54553397e8 /Carpet/CarpetLib/src/th.cc
parent5b760cbe5bd8275f23c0d9ee4d987aebd2ebeb95 (diff)
Removed user choice of C++ template instantiation model. In my
Removed user choice of C++ template instantiation model. In my experience, only one model works, namely explicit template instantiaion. No need to pretend that the other things work with Cactus. (Don't complain to me -- I also think it's a shame that something that calls itself "compiler" isn't able to do this automatically. Many other compilers for many other languages do this kind of thing without even mentioning it. So there's either something fundamentally wrong with the C++ standard, or with the C++ compiler writers, or with the perceived wishlists of C++ users. And I would bet an arm and a leg that it's not the second of these.) darcs-hash:20020505201656-07bb3-a1b8dfc5587d59c718ad25ce89d0c8973c2b3e6f.gz
Diffstat (limited to 'Carpet/CarpetLib/src/th.cc')
-rw-r--r--Carpet/CarpetLib/src/th.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/Carpet/CarpetLib/src/th.cc b/Carpet/CarpetLib/src/th.cc
index 1e01d4787..7d22c8829 100644
--- a/Carpet/CarpetLib/src/th.cc
+++ b/Carpet/CarpetLib/src/th.cc
@@ -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.cc,v 1.6 2001/12/09 16:43:11 schnetter Exp $
+ $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/th.cc,v 1.7 2002/05/05 22:17:03 schnetter Exp $
***************************************************************************/
@@ -26,9 +26,7 @@
#include "defs.hh"
#include "dggh.hh"
-#if !defined(TMPL_IMPLICIT) || !defined(TH_HH)
-# include "th.hh"
-#endif
+#include "th.hh"
using namespace std;
@@ -90,8 +88,3 @@ void th::output (ostream& os) const {
}
os << "}";
}
-
-
-
-#if defined(TMPL_EXPLICIT)
-#endif