Language
C++
Compiler
gcc HEAD 9.0.1 20190312 (experimental)
Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
Exit Code:
1
Author
anonymous
almost 6 years ago
C++
gcc HEAD 9.0.1 20190312 (experimental)
Author
anonymous
almost 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:16:42: error: no match for 'operator>' (operand types are 'mTypes' and 'uint64_t' {aka 'long unsigned int'})
16 | std::cout << "Hello: " << (mTypes::B > (uint64_t) 1 ) << std::endl;
| ~~~~~~~~~ ^ ~~~~~~~~~~~~
| | |
| | uint64_t {aka long unsigned int}
| mTypes