[Bug c++/42272] derived template default argument
debian dot templier at free dot fr
gcc-bugzilla@gcc.gnu.org
Fri Dec 4 17:39:00 GMT 2009
------- Comment #6 from debian dot templier at free dot fr 2009-12-04 17:39 -------
i want a constructor on template class SMART<T> with reference parameter on
SMART<X> & value with the constraint of T on SMART instanciation is
T is unherited of X
class A
{
} ;
class B : virtual public A
{
} ;
where T is B and X is A
thanks
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42272
More information about the Gcc-bugs
mailing list