[Bug libstdc++/106014] Overload std::distance for filesystem::recursive_directory_iterator

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 17 11:49:57 GMT 2022


--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also, ranges::advance doesn't use the custom advance for path::iterator. Maybe
we should make path::iterator satisfy the random_access_iterator concept. We
can't do that for directory iterators though, so maybe we want another
customization point for internal use.

More information about the Gcc-bugs mailing list