https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103096
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |libstdc++ Keywords| |compile-time-hog --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- same for clang++, so possibly a libstdc++ issue. But then you are instantiating std::pair<std::pair<int, int>, std::pair<int, int> >, etc., exponentially growing the size of the template... Which means - don't do this?