H
Helmut Jarausch
Hi,
there is the following example in Vandevoorde/Josuttis
C++ Templates (7th printing) ch 9.3.4 p 134
template <typename T>
class BXT {
public:
typedef T Mystery;
template<typename U>
struct Magic;
};
template <typename T>
class DXTM : private BXT<T> {
public:
// using BXT<T>::template Magic; // fails
// Most likely this is an oversight in the standard specifications
// and future revisions will probably make the previous construct valid
// using BXT<T>::Magic; // fails
Magic<T>* plink;
};
How has this been resolved?
Many thanks for some info.
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
there is the following example in Vandevoorde/Josuttis
C++ Templates (7th printing) ch 9.3.4 p 134
template <typename T>
class BXT {
public:
typedef T Mystery;
template<typename U>
struct Magic;
};
template <typename T>
class DXTM : private BXT<T> {
public:
// using BXT<T>::template Magic; // fails
// Most likely this is an oversight in the standard specifications
// and future revisions will probably make the previous construct valid
// using BXT<T>::Magic; // fails
Magic<T>* plink;
};
How has this been resolved?
Many thanks for some info.
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany