https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124786
--- Comment #2 from Pali Rohár <pali at kernel dot org> --- allocator.requirements.general says “Returns: The largest value n that can meaningfully be passed to a.allocate(n)”. That is size of each individual allocation, not total size that can be obtained from the allocator in multiple allocations. For an arena allocator using multiple chunks of memory, that value is the size of one chunk, but since there are multiple chunks, that does not limit the size of the whole container. So it should not be used to limit the total size of the container. The container.alloc.reqmts section does not require containers to make this check.
