[Bug libstdc++/102358] niter_base and miter_base overloaded for move_iterator missing constexpr
gcc at ebasoft dot com.pl
gcc-bugzilla@gcc.gnu.org
Wed Feb 16 21:43:28 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102358
Artur Bać <gcc at ebasoft dot com.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gcc at ebasoft dot com.pl
--- Comment #2 from Artur Bać <gcc at ebasoft dot com.pl> ---
I have spend 20min figuring out why std::copy fails compile at constexpr with
libstdc++ only ;-) and it is already reported.
"* include/bits/stl_iterator.h (__niter_base): Make constexpr for C++20."
c++20 ?
according to cppreference make_move_iterator is constexpr since c++17
https://en.cppreference.com/w/cpp/iterator/make_move_iterator
More information about the Gcc-bugs
mailing list