https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86739
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- https://godbolt.org/z/DcywdN Apparently std::pair with reference template arguments (either of them) just doesn't work in 4.1 at all because of that missing CWG. So, do we require that hash_map's iterator's operator * returns std::pair, or can it return some other class that has first and second members?