Language
C++
Compiler
gcc 9.2.0
Options
Warnings
Boost 1.72.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-9.2.0/include -std=gnu++2a
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=gnu++2a
prog.cc: In function 'std::ostream& syn::operator<<(std::ostream&, const syn::Simple_timer_t<Clock_t>&)':
prog.cc:62:42: error: expected primary-expression before '>' token
62 | t.remaining<std::chrono::milliseconds>().count();
| ^
prog.cc:62:44: error: expected primary-expression before ')' token
62 | t.remaining<std::chrono::milliseconds>().count();
| ^