https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97930
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|12.0 |11.2 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed on trunk by using concepts for std::pair in C++20 mode. For GCC 11 (and maybe 10) just changing the base to public is probably OK.