1 namespace N { 2 3 template <class T> 4 struct C { 5 template <class U, T t> 6 struct Implementation {}; 7 }; 8 9 template <class T> 10 template <T t> 11 struct C<T>::Implementation<void, t> { methodN::C::Implementation12 static void method() {} 13 }; 14 15 } 16 main()17int main() { 18 N::C<int>::Implementation<void, 0>::method(); 19 } 20