you should do this.

interview (intervieweree)
....

template<template<typename U> class T1 , class T2>
class Y
{
public:
T1<T2> b;

};

Y<X, int> aY;

.....
(#375756@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=375756