[libcxx-commits] [PATCH] D58735: Add slice_array operator= valarray overload
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 25 11:59:45 PST 2020
ldionne requested changes to this revision.
ldionne added a comment.
This revision now requires changes to proceed.
We use tricks like this in other valarray tests to workaround the lack of `initializer_list`:
int a1[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
std::valarray<int> v1(a1, sizeof(a1)/sizeof(a1[0]));
Can we use the same trick here and enable the tests in C++03? I think it would be good for consistency.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58735/new/
https://reviews.llvm.org/D58735
More information about the libcxx-commits
mailing list