Language
C++
Compiler
gcc HEAD 11.0.0 20200823 (experimental)
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2a
Exit Code:
1
Author
anonymous
almost 5 years ago
C++
gcc HEAD 11.0.0 20200823 (experimental)
Author
anonymous
almost 5 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2a
prog.cc:46:50: error: type/value mismatch at argument 1 in template parameter list for 'template<class> struct std::iterator_traits'
46 | struct iterator_traits<range_num<U>::num_iterator> {
| ^
prog.cc:46:50: note: expected a type, got 'range_num<T>::num_iterator'