#include <iostream> struct Outer { template<typename T> struct Inner { }; template<> struct Inner<double> { }; }; int main() { }
Standard input is empty
prog.cpp:9:11: error: explicit specialization in non-namespace scope ‘struct Outer’ template<> ^
Standard output is empty