Bug Report #4
Alexandrescu, Andrei
AlexandrescuA@MICROMODELING.COM
Sat Nov 7 22:46:00 GMT 1998
The following code generates the message:
Internal compiler error 980422.
Please submit a full bug report to `egcs-bugs@cygnus.com'.
/////////////////////////////////////////////////////
template <size_t L>
class fixed_vector
{
public:
template <class B> class of
{
public:
B Contents_[L];
};
};
template <template <typename A> class Container>
class container_traits
{
static const bool is_flexible = true;
};
template <>
class container_traits< fixed_vector<1>::of >
{
static const bool is_flexible = false;
};
/////////////////////////////////////////////////////
Yours,
Andrei
More information about the Gcc-bugs
mailing list