|
Boost : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-04-08 09:38:23
The following patch seems to be needed to help KCC and the Cray C++
compiler (and maybe other compilers based on older EDG frontends) to
find the type index:
diff -u -r1.3 index_gen.hpp
--- index_gen.hpp 14 Jul 2002 17:02:30 -0000 1.3
+++ index_gen.hpp 8 Apr 2003 14:32:02 -0000
@@ -28,7 +28,7 @@
template <int NumRanges, int NumDims>
struct index_gen {
private:
- typedef index Index;
+ typedef ::boost::detail::multi_array::index Index;
typedef std::size_t SizeType;
typedef index_range<Index,SizeType> range;
public:
Could such a patch (maybe qualified for __EDG_VERSION__ < 246 ) be
applied to boost/multi_array/index_gen.hpp
Thanks in advance,
Matthias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk