[libcxx] [test] D26813: allocator<const T> is non-Standard.
authorStephan T. Lavavej <stl@exchange.microsoft.com>
Fri, 18 Nov 2016 21:54:31 +0000 (21:54 +0000)
committerStephan T. Lavavej <stl@exchange.microsoft.com>
Fri, 18 Nov 2016 21:54:31 +0000 (21:54 +0000)
commite57a2a31447e009cfe8c503429078e740a8a8448
tree00625e36e9d116c708f3eb637d2a571a33e830eb
parentc8629bd35a3f8e510d169888f5b5efeb53902fef
[libcxx] [test] D26813: allocator<const T> is non-Standard.

N4582 17.6.3.5 [allocator.requirements] says that allocators are given
cv-unqualified object types, and N4582 20.9.9 [default.allocator]
implies that allocator<const T> is ill-formed (due to colliding
address() overloads). Therefore, tests for allocator<const T>
should be marked as libcxx-specific (if not removed outright).

llvm-svn: 287381
libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
libcxx/test/std/utilities/memory/default.allocator/allocator_types.pass.cpp