classes and templates correct order.

Roberto Diaz rdiazmartin@vivaldi.dhis.org
Sun Jun 10 09:56:00 GMT 2001


Yes I know a template is not a class, but the behaviour of the compiler
should be similar.. your solution becames my class a template.. and I dont
want to have too much templates.

Thank you!

> > class A {
> >  B<int> a;
> >  ... etc ..
> > };
> >
> > template <class T > B {
> > ...etc..
> > };
> It is because of B<int> is a class and template <class T> B is a
> template and a template is no class ! You can define

Regards

Roberto

------------------------------------------------------------------------
Roberto Diaz <rdiazmartin@vivaldi.dhis.org>
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)
------------------------------------------------------------------------



More information about the Gcc-help mailing list