Language
C++
Compiler
gcc HEAD 9.0.0 20180722 (experimental)
Options
Warnings
Boost 1.67.0
C++17
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/gcc-head/include -std=c++17
Exit Code:
1
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.0 20180722 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/gcc-head/include -std=c++17
prog.cc:8:1: error: function 'S::S(S&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification 'noexcept'
S::S( S&&) noexcept(false) = default ;
^