例えば:
template<unsigned number>
struct A
{
template<class T>
static void Fun()
{}
};
template<>
struct A<1>
{
template<class T>
static void Fun()
{
/* some code here. */
}
};
そして A<1>::Fun() を特化したい
template<>
template<>
void A<1>::Fun<int>()
{
/* some code here. */
}
動作しないようです。どうやってするの?ありがとう。