#include <cassert>#include <type_traits>using namespace std; int main(){ assert(is_same<int, int>::value);}
Standard input is empty
prog.cpp:7:33: error: macro "assert" passed 2 arguments, but takes just 1 assert(is_same<int, int>::value); ^ prog.cpp: In function 'int main()': prog.cpp:7:2: error: 'assert' was not declared in this scope assert(is_same<int, int>::value); ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!