Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofPending NAD Editorial status.

2178.Allocator requirement changes not mentioned Annex C

Section: 16.4.4.6[allocator.requirements], C.8[diff.library]Status:Pending NAD EditorialSubmitter: Nevin LiberOpened: 2012-08-14Last modified: 2016-11-21

Priority:3

View otheractive issues in [allocator.requirements].

View all otherissues in [allocator.requirements].

View all issues withPending NAD Editorial status.

Discussion:

Given that a number of things were removed from the allocator requirements (reference,const_reference,address() in 16.4.4.6[allocator.requirements]), it seems that these incompatible changes should be mentioned in Annex C.8[diff.library], more specifically in [diff.cpp03].

[2012-10 Portland: Move to Open ]

It was clearly pointed out by Bill during the C++11 process that our change to allocator requirementspotentially broke 3rd party user containers written to expect C++03 allocators, or rather, anallocator written to the minimal requirements of C++11 might not be guaranteed to work with a containerwritten to the previous rules. This was a trade-off in making allocaters easier to write by use oftheallocator_traits framework.

This probably does merit a write-up in Annex C, and we look forward to seeing wording. Until then,the best we can do is move the issue to Open.

[2016-11-12, Issaquah]

Sat PM: JW to provide Annex C wording Status to "Pending NAD Editorial".

Proposed resolution:


[8]ページ先頭

©2009-2025 Movatter.jp