Details
- Reviewers
EricWF mclow.lists mpark - Group Reviewers
Restricted Project
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 40867 Build 41005: arc lint + arc unit
Event Timeline
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp | ||
---|---|---|
33 | Can you add a test trying to call construct_at on a pointer-to-const? Apparently, the intent is that construct_at can be called on a pointer-to-const pointing to a location of memory that hasn't been initialized yet. The idea is that const only applies to objects that whose lifetime has begun, so the pointer-to-const doesn't point to a const object yet (well, not until you've in-place-newed it). |
Updated to be compatible with compilers with partial constexpr dynamic allocation support.
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp | ||
---|---|---|
24 | Those can be constexpr unconditionally. | |
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp | ||
25 | Same, constexpr unconditionally. | |
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp | ||
54 | Jeez, what a pain. Should we consider supporting construct_at in C++17 as an extension? |
Those can be constexpr unconditionally.