https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> --- Does it matter? By design, ranges::begin does the same things as range-based for (handles arrays first, then looks for member begin(), then looks for ADL begin).