another way, actually same thing, but it's clearer

interview (intervieweree)
template<class T1, typename T2=X<T1> >
class Y
{
public:
T2 a;
};
(#376192@0)
2002-2-21 -05:00

回到话题: What's the actual type passed as T to instanciate X? This puzzled me!

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=376192