prog.cpp: In function ‘int main()’:
prog.cpp:32:16: error: use of deleted function ‘safer::basic_string<CharT, Traits, Allocator, Base>::basic_string(T&&) [with T = int; typename std::enable_if<std::is_same<T, int>::value, bool>::type <anonymous> = 1u; CharT = char; Traits = std::char_traits<char>; Allocator = std::allocator<char>; Base = std::__cxx11::basic_string<char>]’
crash(0);
^
prog.cpp:21:4: note: declared here
basic_string(T&&)=delete;
^~~~~~~~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:41:5: error: redefinition of ‘int main()’
int main() {
^~~~
prog.cpp:28:5: note: ‘int main()’ previously defined here
int main()
^~~~