Lines Matching refs:Array
40 typedef std::array<double, 3> Array; in tests() typedef
41 Array array = {1.1, 2.2, 3.3}; in tests()
42 Array copy = array; in tests()
44 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
45 static_assert(std::is_copy_assignable<Array>::value, ""); in tests()
48 typedef std::array<double const, 3> Array; in tests() typedef
49 Array array = {1.1, 2.2, 3.3}; in tests()
50 Array copy = array; (void)copy; in tests()
51 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
52 TEST_NOT_COPY_ASSIGNABLE(Array); in tests()
55 typedef std::array<double, 0> Array; in tests() typedef
56 Array array = {}; in tests()
57 Array copy = array; in tests()
59 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
60 static_assert(std::is_copy_assignable<Array>::value, ""); in tests()
64 typedef std::array<double const, 0> Array; in tests() typedef
65 Array array = {}; in tests()
66 Array copy = array; (void)copy; in tests()
67 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
68 TEST_NOT_COPY_ASSIGNABLE(Array); in tests()
71 typedef std::array<NoDefault, 0> Array; in tests() typedef
72 Array array = {}; in tests()
73 Array copy = array; in tests()
75 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
76 static_assert(std::is_copy_assignable<Array>::value, ""); in tests()
79 typedef std::array<NoDefault const, 0> Array; in tests() typedef
80 Array array = {}; in tests()
81 Array copy = array; (void)copy; in tests()
82 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
83 TEST_NOT_COPY_ASSIGNABLE(Array); in tests()
88 typedef std::array<NonTrivialCopy, 0> Array; in tests() typedef
89 Array array = {}; in tests()
90 Array copy = array; in tests()
92 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
95 typedef std::array<NonTrivialCopy, 1> Array; in tests() typedef
96 Array array = {}; in tests()
97 Array copy = array; in tests()
99 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
102 typedef std::array<NonTrivialCopy, 2> Array; in tests() typedef
103 Array array = {}; in tests()
104 Array copy = array; in tests()
106 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()