You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/memory
Volodymyr Sapsai d805c8746a [libcxx] Use custom allocator's `construct` in C++03 when available.
Makes libc++ behavior consistent between C++03 and C++11.

Can use `decltype` in C++03 because `include/__config` defines a macro when
`decltype` is not available.

Reviewers: mclow.lists, EricWF, erik.pilkington, ldionne

Reviewed By: ldionne

Subscribers: dexonsmith, cfe-commits, howard.hinnant, ldionne, christof, jkorous, Quuxplusone

Differential Revision: https://reviews.llvm.org/D48753


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@349676 91177308-0d34-0410-b5e6-96231b3b80d8
6 years ago
..
allocator.tag Move test into test/std subdirectory. 10 years ago
allocator.traits [libcxx] Use custom allocator's `construct` in C++03 when available. 6 years ago
allocator.uses Fix failure on 03 bot 8 years ago
c.malloc Move test into test/std subdirectory. 10 years ago
default.allocator [libcxx] Add missing <cstddef> includes in tests 6 years ago
pointer.conversion [libcxx] Implement std::to_address for C++20 7 years ago
pointer.traits [libcxx] Implement http://wg21.link/p1006, constexpr in pointer_traits 6 years ago
ptr.align Get tests running with warnings. Fix warnings in headers and tests 10 years ago
specialized.algorithms [libcxx] [test] Make files consistently end with newlines, NFC. 7 years ago
storage.iterator Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). 6 years ago
temporary.buffer Disable test in C++<11 mode due to use of alignas. 7 years ago
unique.ptr/unique.ptr.special Fix improperly failing test - and the code it was testing. Thanks to Stephan Lavavej for the catch. 7 years ago
util.dynamic.safety Fix PR26961 - Add default constructor to std::pointer_safety struct. 8 years ago
util.smartptr Use addressof instead of operator& in make_shared. Fixes PR38729. As a drive-by, make the same change in raw_storage_iterator (twice). 6 years ago