diff options
Diffstat (limited to 'archive')
-rw-r--r-- | archive/stl_vector.hh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/archive/stl_vector.hh b/archive/stl_vector.hh new file mode 100644 index 0000000..9e4d817 --- /dev/null +++ b/archive/stl_vector.hh @@ -0,0 +1,22 @@ +// stl_vector.hh -- define STL vector class in global namespace. +// $Header$ + +// +// prerequisites: +// "cctk.h" +// + +// +// This header file defines the STL vector class in the global namespace. +// It makes use of Cactus's configuration-time probing of what header +// files are available. +// + +#if defined(HAVE_VECTOR) + #include <vector> + using std::vector; +#elif defined(HAVE_VECTOR_H) + #include <vector.h> +#else + #error "Cactus couldn't find the STL vector class!" +#endif |