We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5db327 commit 0d73348Copy full SHA for 0d73348
libcudacxx/test/libcudacxx/std/containers/sequences/inplace_vector/constructor.pass.cpp
@@ -218,7 +218,7 @@ __host__ __device__ constexpr void test_init_list()
218
using inplace_vector = cuda::std::inplace_vector<T, 42>;
219
{ // inplace_vector<T, N> can be constructed from an empty initializer_list
220
cuda::std::initializer_list<T> input{};
221
- inplace_vector vec{};
+ inplace_vector vec(input);
222
assert(vec.empty());
223
}
224
0 commit comments