/external/llvm-project/clang/test/SemaCXX/ |
D | cxx2a-constexpr-dynalloc.cpp | 105 constexpr void construct_at(void *p, Args &&...args) { in construct_at() function 112 std::construct_at<int>(p, 1); in call_std_construct_at() 113 std::construct_at<int>(p + 1, 2); in call_std_construct_at() 114 std::construct_at<int>(p + 2, 3); in call_std_construct_at() 124 std::construct_at<float>(&a, 1.0f); // expected-note {{in call}} in bad_construct_at_type() 137 std::construct_at<int>(&a.x.a, 1); // expected-note {{in call}} in bad_construct_at_subobject() 148 std::construct_at<int>(&u.b, 2); in change_union_member() 155 static_assert((std::construct_at<int>(&external, 1), true)); // expected-error{{}} expected-note {{… 159 static_assert((std::construct_at<int>(&temporary, 1), true)); // expected-error{{}} expected-note {… 165 std::construct_at<int>(p); // expected-note {{in call}} in construct_after_lifetime() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/ |
D | construct_at.pass.cpp | 48 int* res = std::construct_at(&i); in test() 55 int* res = std::construct_at(&i, 42); in test() 63 Foo* res = std::construct_at(&foo, 42, 'x', 123.89, &count); in test() 73 std::construct_at(p, count); in test() 75 std::construct_at(p+1, count); in test() 88 std::construct_at(p, count); in test() 90 std::construct_at(p+1, count); in test() 105 std::construct_at((T*)nullptr, 1, 2) // missing arguments for Foo(...)
|
/external/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 120 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 163 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 164 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | inlined_vector.h | 120 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 163 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 164 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 120 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 163 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 164 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 120 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 163 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 164 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 120 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 163 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 164 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | inlined_vector.h | 144 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 145 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext() 168 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 169 AllocatorTraits::construct(*alloc_ptr, construct_at, *ptr_); in ConstructNext() 187 void ConstructNext(AllocatorType* alloc_ptr, Pointer construct_at) { in ConstructNext() argument 188 AllocatorTraits::construct(*alloc_ptr, construct_at); in ConstructNext()
|
/external/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
D | construct.pass.cpp | 50 std::construct_at(p, std::forward<Args>(args)...); in construct()
|
/external/llvm-project/libcxx/include/ |
D | memory | 193 constexpr T* construct_at(T* location, Args&& ...args); // since C++20 891 // construct_at 904 constexpr _Tp* construct_at(_Tp* __location, _Args&& ...__args) { 905 _LIBCPP_ASSERT(__location, "null pointer given to construct_at"); 1490 _VSTD::construct_at(__p, _VSTD::forward<_Args>(__args)...);
|
/external/llvm-project/libcxx/docs/ |
D | Cxx2aStatusIssuesStatus.csv | 245 …3321>`__","``uninitialized_construct_using_allocator``\ should use ``construct_at``\ ","Prague","…
|