Author
anonymous
almost 5 years ago
Language
C++
Compiler
zapcc 2017.08
Options
Warnings
Don't Use Boost
C++1z(GNU)
no pedantic
Author
anonymous
almost 5 years ago
$ zapcc++ prog.cc -Wall -Wextra -std=gnu++1z
In file included from /home/jail/prog.cc:2:
In file included from /opt/wandbox/clang-head/include/c++/v1/iostream:37:
In file included from /opt/wandbox/clang-head/include/c++/v1/ios:215:
In file included from /opt/wandbox/clang-head/include/c++/v1/__locale:14:
In file included from /opt/wandbox/clang-head/include/c++/v1/string:506:
In file included from /opt/wandbox/clang-head/include/c++/v1/string_view:175:
In file included from /opt/wandbox/clang-head/include/c++/v1/__string:57:
/opt/wandbox/clang-head/include/c++/v1/algorithm:2742:66: error: no type named 'value_type' in 'std::__1::iterator_traits<range_num<int>::num_iterator>'
__less<typename iterator_traits<_ForwardIterator>::value_type>());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/jail/prog.cc:74:33: note: in instantiation of function template specialization 'std::__1::minmax_element<range_num<int>::num_iterator>' requested here
auto [min_it, max_it] (std::minmax_element(std::begin(int_range), std::end(int_range)));
^
1 error generated.
Exit Code:
1