Searched refs:to_array (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/array.creation/ |
| H A D | to_array.pass.cpp | 30 auto arr = std::to_array({1, 2, 3}); in tests() 39 auto arr = std::to_array({1L, 4L, 9L, l1}); in tests() 49 auto arr = std::to_array("meow"); in tests() 60 auto arr = std::to_array(source); in tests() 69 auto arr = std::to_array(std::move(source)); in tests() 79 auto arr = std::to_array(std::move(source)); in tests() 88 auto arr = std::to_array((int[]){3, 4}); in tests() 97 auto arr = std::to_array<long>({1, 2, 3}); in tests() 110 auto arr = std::to_array<A>({{3, .1}}); in tests()
|
| H A D | to_array.fail.cpp | 25 std::to_array(source); // expected-note {{requested here}} in main() 32 std::to_array(mo); // expected-note {{requested here}} in main() 39 std::to_array(std::move(cmo)); // expected-note {{requested here}} in main()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | array | 94 constexpr array<remove_cv_t<T>, N> to_array(T (&a)[N]); // C++20 96 constexpr array<remove_cv_t<T>, N> to_array(T (&&a)[N]); // C++20 511 to_array(_Tp (&__arr)[_Size]) noexcept(is_nothrow_constructible_v<_Tp, _Tp&>) { 514 "[array.creation]/1: to_array does not accept multidimensional arrays."); 517 "[array.creation]/1: to_array requires copy constructible elements."); 523 to_array(_Tp(&&__arr)[_Size]) noexcept(is_nothrow_move_constructible_v<_Tp>) { 526 "[array.creation]/4: to_array does not accept multidimensional arrays."); 529 "[array.creation]/4: to_array requires move constructible elements.");
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/ |
| H A D | test_true_dense_tensor_algebra.py | 22 print(C.to_array().reshape(6))
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ |
| H A D | ranges.transform.pass.cpp | 128 assert((std::to_array(b) == std::array{2, 4, 6, 8, 10})); in test_iterators() 139 assert((std::to_array(b) == std::array{2, 4, 6, 8, 10})); in test_iterators() 154 assert((std::to_array(c) == std::array{6, 6, 6, 6, 6})); in test_iterators() 171 assert((std::to_array(c) == std::array{6, 6, 6, 6, 6})); in test_iterators()
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/tools/ |
| H A D | mlir_pytaco.py | 1165 def to_array(self) -> np.ndarray: member in Tensor
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | Cxx20Papers.csv | 101 "`P0325R4 <https://wg21.link/P0325R4>`__","LWG","to_array from LFTS with updates","Cologne","|Compl…
|