https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119427
--- Comment #2 from 康桓瑋 <hewillk at gmail dot com> --- Also, erase_if should not use ranges::remove_if, since that would support member pointers via std::invoke, which the standard currently disallows. This seems like an enhancement, though.