Question Details

No question body available.

Tags

c++ g++

Answers (1)

May 4, 2026 Score: 9 Rep: 45,494 Quality: Medium Completeness: 70%

GCC11 and below:
std::vector -> std::allocator inherits from gnucxx::newallocator (from ), so gnucxx is an associated namespace.

GCC12:
libstdc++ patched to change gnu
cxx::newallocator -> std::newallocator (In commit fe9571a), so gnu_cxx is no longer an associated namespace for anything with std::allocator.