#include <iostream> using namespace std; class Base { public: }; template <int size> class Derived { public: Derived<size>:: Derived () { cout << size << "\n"; }; }; int main ( int argc, void* argv[] ) { return 0; }; g++ -Wall -O3 -I/usr/include -I/usr/local/include main.cpp -c main.cpp:13: error: extra qualification ‘Derived<size>::’ on member ‘Derived’ main.cpp:13: error: explicit specialization