https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94973
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libstdc++ |c++ Status|WAITING |NEW Target| |*-*-mingw* Keywords| |rejects-valid --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can reproduce it using x86_64-w64-mingw32-g++ 9.2.1 Reduced: #include <range/v3/algorithm/find.hpp> struct X { int get_i() const { return 0; } }; static_assert( ranges::indirectly_regular_unary_invocable<int (X::*)() const, X*> ); Th static assert fails with mingw but not with a native compiler on linux. I'm not yet convinced this isn't a ranges-v3 bug.