diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-07 19:10:04 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-10-07 19:10:04 +0000 |
commit | f6b73eb2bba737fd76c0b8b576e02b518befa6c7 (patch) | |
tree | 6028e689c15f6420c53c6c223715c61bcca02796 | |
parent | 42b5d5303583b855c311d47f1f0a1fdaa646c099 (diff) |
restore explicit jtutil:: namespace qualifiers on template instantiation
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@808 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r-- | src/jtutil/fuzzy.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/jtutil/fuzzy.cc b/src/jtutil/fuzzy.cc index e9c8be2..18716b8 100644 --- a/src/jtutil/fuzzy.cc +++ b/src/jtutil/fuzzy.cc @@ -78,18 +78,15 @@ return fuzzy<fp>::is_integer(x) // my comp.lang.c++.moderated query on what syntax is correct here! // -namespace jtutil - { // template instantiations -template class fuzzy<float>; -template class fuzzy<double>; +template class jtutil::fuzzy<float>; +template class jtutil::fuzzy<double>; // template specializations template <typename fp> - fp fuzzy<fp>::tolerance = 0.0; // dummy generic version of + fp jtutil::fuzzy<fp>::tolerance = 0.0; // dummy generic version of // fuzzy::tolerance (unused) template <> - float fuzzy<float>::tolerance = 1.0e-5; // about 100 * FLT_EPSILON + float jtutil::fuzzy<float>::tolerance = 1.0e-5; // about 100 * FLT_EPSILON template <> - double fuzzy<double>::tolerance = 1.0e-12; // about 1e4 * DBL_EPSILON - } // namespace jtutil:: + double jtutil::fuzzy<double>::tolerance = 1.0e-12; // about 1e4 * DBL_EPSILON |