| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx2a-constexpr-dynalloc.cpp | 110 constexpr void construct_at(void *p, Args &&...args) { in construct_at() function 117 std::construct_at<int>(p, 1); in call_std_construct_at() 118 std::construct_at<int>(p + 1, 2); in call_std_construct_at() 119 std::construct_at<int>(p + 2, 3); in call_std_construct_at() 153 std::construct_at<int>(&u.b, 2); in change_union_member() 170 std::construct_at<int>(p); // expected-note {{in call}} in construct_after_lifetime() 179 std::construct_at<A::B>(&a.b); // expected-note {{in call}} in construct_after_lifetime_2() 192 std::construct_at<A>(p); in f() 200 std::construct_at<A>(p); in g() 209 std::construct_at<A>(p); in h() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/ |
| H A D | ranges_construct_at.pass.cpp | 31 LIBCPP_STATIC_ASSERT(std::is_class_v<decltype(std::ranges::construct_at)>); 45 ASSERT_SAME_TYPE(decltype(std::ranges::construct_at((int*)nullptr)), int*); 46 ASSERT_SAME_TYPE(decltype(std::ranges::construct_at((Foo*)nullptr)), Foo*); 61 int* result = std::ranges::construct_at(&x); in test() 70 int* result = std::ranges::construct_at(&x, 42); in test() 79 Foo* result = std::ranges::construct_at(std::addressof(f), 42, 123); in test() 91 Counted* result = std::ranges::construct_at(out, count); in test() 95 result = std::ranges::construct_at(out + 1, count); in test() 108 const int* result = std::ranges::construct_at(ptr, 42); in test() 117 requires requires { std::ranges::construct_at(decltype(args)(args)...); } in can_construct_at()
|
| H A D | construct_at.pass.cpp | 47 int* res = std::construct_at(&i); in test() 54 int* res = std::construct_at(&i, 42); in test() 62 Foo* res = std::construct_at(&foo, 42, 'x', 123.89, &count); in test() 72 std::construct_at(p, count); in test() 74 std::construct_at(p+1, count); in test() 87 std::construct_at(p, count); in test() 89 std::construct_at(p+1, count); in test() 101 template <class ...Args, class = decltype(std::construct_at(std::declval<Args>()...))>
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | ranges_construct_at.h | 45 return _VSTD::construct_at(__location, _VSTD::forward<_Args>(__args)...); in operator() 52 inline constexpr auto construct_at = __construct_at::__fn{};
|
| H A D | construct_at.h | 33 _LIBCPP_HIDE_FROM_ABI constexpr _Tp* construct_at(_Tp* __location, _Args&&... __args) { in construct_at() function 43 return std::construct_at(__location, std::forward<_Args>(__args)...); in __construct_at()
|
| H A D | allocator_traits.h | 298 _VSTD::construct_at(__p, _VSTD::forward<_Args>(__args)...);
|
| /llvm-project-15.0.7/libcxx/include/__ranges/ |
| H A D | copyable_box.h | 149 std::construct_at(std::addressof(__val_), __other.__val_); 159 std::construct_at(std::addressof(__val_), std::move(__other.__val_));
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
| H A D | construct.pass.cpp | 47 std::construct_at(p, std::forward<Args>(args)...); in construct()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_allocator.h | 170 std::construct_at(std::to_address(p), std::forward<U>(val)); in construct() 408 std::construct_at(p, Ctor_Tag{}, std::forward<Args>(args)...); in construct()
|
| /llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/ |
| H A D | niebloid.compile.pass.cpp | 153 static_assert(test(std::ranges::construct_at, a, 42));
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | RangesAlgorithms.csv | 100 Uninitialised memory,construct_at,Konstantin Varlamov,`D116078 <https://llvm.org/D116078>`_,✅
|
| H A D | RangesPaper.csv | 31 | `ranges::construct_at <https://llvm.org/D116078>`_
|
| H A D | Cxx20Issues.csv | 246 …3321>`__","``uninitialized_construct_using_allocator``\ should use ``construct_at``\ ","Prague","…
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | memory | 255 constexpr T* construct_at(T* location, Args&& ...args); // since C++20 259 constexpr T* construct_at(T* location, Args&&... args); // since C++20 855 #include <__memory/construct_at.h>
|
| H A D | CMakeLists.txt | 389 __memory/construct_at.h
|
| H A D | optional | 168 #include <__memory/construct_at.h> 374 _VSTD::construct_at(_VSTD::addressof(this->__val_), _VSTD::forward<_Args>(__args)...);
|
| H A D | module.modulemap.in | 842 module construct_at { private header "__memory/construct_at.h" }
|
| H A D | __bit_reference | 19 #include <__memory/construct_at.h>
|
| H A D | string | 1506 std::construct_at(std::addressof(__begin[__i]));
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 450 "__memory/construct_at.h",
|