Language
C++
Compiler
gcc 9.2.0
Options
Warnings
Boost 1.72.0
C++17
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-9.2.0/include -std=c++17
Exit Code:
1
Author
anonymous
about 5 years ago
C++
gcc 9.2.0
Author
anonymous
about 5 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-9.2.0/include -std=c++17
prog.cc:5:32: error: specialization of 'static S<N>::IS S<N>::init() [with int N = 1]' after instantiation
5 | template<> S<1>::IS S<1>::init() // "constructor" specialized for "1"
| ^