aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil/array.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-06-15 16:25:52 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-06-15 16:25:52 +0000
commit7670654a6844a5b729d64dea35405463cf90a2e5 (patch)
treecdc92832b22a3433686073e7a1a779822dc72724 /src/jtutil/array.hh
parent2cbee50ebb12196e4fa5c8729b7bbcfd184ef5b2 (diff)
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
Diffstat (limited to 'src/jtutil/array.hh')
-rw-r--r--src/jtutil/array.hh16
1 files changed, 4 insertions, 12 deletions
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
@@ -21,6 +21,10 @@
// 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
// arrays. However, those "arrays" aren't contiguous in memory, so the
@@ -43,8 +47,6 @@
//******************************************************************************
-namespace jtutil
- {
template <class fpt>
class array1d
{
@@ -96,12 +98,9 @@ private:
// min/max array bounds
const int min_i_, max_i_;
};
- }; // close namespace jtutil::
//******************************************************************************
-namespace jtutil
- {
template <class fpt>
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 fpt>
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 fpt>
class array4d
{
@@ -357,4 +350,3 @@ private:
const int min_k_, max_k_;
const int min_l_, max_l_;
};
- }; // close namespace jtutil::