mirror of
https://github.com/boostorg/array.git
synced 2025-07-31 13:17:21 +02:00
Update array_copy_test
This commit is contained in:
@@ -16,7 +16,7 @@ template<class T, std::size_t N> void test1()
|
|||||||
|
|
||||||
template<class T, std::size_t N> void test2()
|
template<class T, std::size_t N> void test2()
|
||||||
{
|
{
|
||||||
boost::array<T, N> a1 = {{}};
|
boost::array<T, N> a1 = {};
|
||||||
|
|
||||||
boost::array<T, N> a2;
|
boost::array<T, N> a2;
|
||||||
a2 = a1;
|
a2 = a1;
|
||||||
@@ -52,7 +52,7 @@ int main()
|
|||||||
test1<int const, 1>();
|
test1<int const, 1>();
|
||||||
test1<int const, 7>();
|
test1<int const, 7>();
|
||||||
|
|
||||||
// test2<int, 0>();
|
test2<int, 0>();
|
||||||
test2<int, 1>();
|
test2<int, 1>();
|
||||||
test2<int, 7>();
|
test2<int, 7>();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user