任何人都可以請告訴定義模板模板類的成員的語法是什麼。用於定義模板模板類成員的語法
template< template <typename T > class U, class T >
class Z
{
static void dispatcher();
};
template< template <typename T > class U, class T >
void Z<U>::dispatcher();
{
}
我在使用上面的語法時出現太少的參數錯誤。
模板聲明瞭兩種類型,但'ž'只使用一個。另一個在哪裏? – callyalater