
28 Jan
2006
28 Jan
'06
1:29 a.m.
Arkadiy Vertleyb wrote:
template<class T, class U = T*, class V = U*> struct x;
<snip>
template<class T, class U, class V> struct x {};
Bingo. Yes, this is legal, and as a general rule, I put all my default template parameters in forward declarations this way. -- Eric Niebler Boost Consulting www.boost-consulting.com