T O P I C R E V I E W |
tailsu |
Posted - Sep 14 2007 : 08:43:47 AM Suppose you have:
template <class T=void> class X { void Foo(); };
CI on Foo generates:
template <class T=void> void X<T>::Foo() {
}
which is incorrect C++ code since default template parameters are allowed only in the declaration of classes, not in methods.
The =void part should not be there. |
2 L A T E S T R E P L I E S (Newest First) |
support |
Posted - Apr 25 2013 : 2:31:57 PM case=2948 is fixed in build 1936 |
feline |
Posted - Sep 14 2007 : 09:47:13 AM I am seeing the same effect here. Thank you for the clear description.
case=2948 |