From 7670654a6844a5b729d64dea35405463cf90a2e5 Mon Sep 17 00:00:00 2001 From: jthorn Date: Fri, 15 Jun 2001 16:25:52 +0000 Subject: remove array classes from namespace jtutil:: -- now they're in the global namespace (?? is this a good idea ??) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@30 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- src/jtutil/array.hh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/jtutil/array.hh') diff --git a/src/jtutil/array.hh b/src/jtutil/array.hh index cc3349d..f7e584d 100644 --- a/src/jtutil/array.hh +++ b/src/jtutil/array.hh @@ -20,6 +20,10 @@ // or double, but could also be bool, int, long double, ...). These // arrays cannot be copied or passed to functions by value; use pass // by reference instead. +// +// FIXME: Maybe these should be in namespace jtutil::? +// + // // Stroustrup ("The C++ Programming Language", 3rd edition, appendix C.7) // suggests the use of STL vectors of STL vectors to provide multidimensional @@ -43,8 +47,6 @@ //****************************************************************************** -namespace jtutil - { template class array1d { @@ -96,12 +98,9 @@ private: // min/max array bounds const int min_i_, max_i_; }; - }; // close namespace jtutil:: //****************************************************************************** -namespace jtutil - { template class array2d { @@ -175,12 +174,9 @@ private: const int min_i_, max_i_; const int min_j_, max_j_; }; - }; // close namespace jtutil:: //****************************************************************************** -namespace jtutil - { template class array3d { @@ -260,12 +256,9 @@ private: const int min_j_, max_j_; const int min_k_, max_k_; }; - }; // close namespace jtutil:: //****************************************************************************** -namespace jtutil - { template class array4d { @@ -357,4 +350,3 @@ private: const int min_k_, max_k_; const int min_l_, max_l_; }; - }; // close namespace jtutil:: -- cgit v1.2.3