https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116549
--- Comment #3 from Zhao Dai <daidodo at gmail dot com> --- Thanks for the reply! I tested on Compiler Explorer (https://godbolt.org/z/EKxhvKoez, GCC trunk, -std=c++23). And > I couldn't find it in any of the current GCC source, especially > *libstdc++-v3/include/bits/stl_iterator.h* where std::move_iterator is > defined. https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/stl_iterator.h Regards, Zhao