#include <iostream> #include <string> #include <type_traits> int main() { std::cout << std::is_trivially_copyable<std::string>::value; return 0; }
1 2 10 42 11
prog.cpp: In function 'int main()': prog.cpp:7:16: error: 'is_trivially_copyable' is not a member of 'std' prog.cpp:7:54: error: expected primary-expression before '>' token prog.cpp:7:55: error: '::value' has not been declared
Standard output is empty