https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113068
--- Comment #2 from 康桓瑋 <hewillk at gmail dot com> --- (In reply to Patrick Palka from comment #1) > IIUC this will be fixed by making ranges::to's closure object > SFINAE-friendly. I didn't investigate the root cause in depth. So this should probably be considered a duplicate of PR 112802, right?