c++.beta - Error: 'A' is not a class template
- Christof Meerwald (26/26) Jun 27 2003 namespace ns
- Christof Meerwald (8/28) Oct 05 2003 This one is still not fixed in the current beta (just in case you might ...
namespace ns
{
struct B
{ };
}
template<class T>
struct A
: public ns::B
{
template<class U>
A(U u)
: ns::B()
{ }
// Error: 'A' is not a class template
};
int main()
{
A<int> a(0);
return 0;
}
Extracted from Boost's dynamic bitset.
bye, Christof
--
http://cmeerw.org JID: cmeerw jabber.at
mailto cmeerw at web.de
...and what have you contributed to the Net?
Jun 27 2003
On Fri, 27 Jun 2003 17:40:29 +0000 (UTC), Christof Meerwald wrote:
namespace ns
{
struct B
{ };
}
template<class T>
struct A
: public ns::B
{
template<class U>
A(U u)
: ns::B()
{ }
// Error: 'A' is not a class template
};
int main()
{
A<int> a(0);
return 0;
}
This one is still not fixed in the current beta (just in case you might have
forgotten it...).
bye, Christof
--
http://cmeerw.org JID: cmeerw jabber.at
mailto cmeerw at web.de
...and what have you contributed to the Net?
Oct 05 2003








Christof Meerwald <cmeerw web.de>