|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
c++.beta - Error: 'A' is not a class template
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: Oct 05 2003
|