Home
last modified time | relevance | path

Searched refs:Derived (Results 1 – 16 of 16) sorted by relevance

/xnu-11215/tests/bounded_ptr_src/
H A Dctor.convert.cpp17 struct Derived : Base { }; struct
96 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
97 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
98 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Derived volatile>();
99 tests</*stored*/ Derived, /*from*/ Derived const volatile, /*to*/ Derived const volatile>();
101 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
102 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
103 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>();
116 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>();
117 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>();
[all …]
H A Dassign.convert.cpp16 struct Derived : Base { }; struct
99 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
100 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
101 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Derived volatile>();
102 tests</*stored*/ Derived, /*from*/ Derived const volatile, /*to*/ Derived const volatile>();
104 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
105 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
106 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>();
119 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>();
120 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>();
[all …]
H A Dreinterpret_cast.cpp16 struct Derived : Base { }; struct
67 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
68 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
69 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>();
70 tests</*stored*/ Derived, /*from*/ Derived const volatile, /*to*/ Base const volatile>();
77 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>();
78 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>();
79 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ void volatile>();
82 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ char>();
83 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ char const>();
[all …]
H A Dcompare.order.raw.cpp176 struct Derived : Base { }; struct
182 std::array<Derived, 5> array = {Derived{0}, Derived{1}, Derived{2}, Derived{3}, Derived{4}}; in tests_convert()
185 test_bounded_ptr<Derived> const a(array.begin() + 1, array.begin(), array.end() - 1); in tests_convert()
191 Derived* b = array.begin() + 1; in tests_convert()
204 tests<Derived, Derived>();
205 tests<Derived, Derived const>();
206 tests<Derived, Derived volatile>();
207 tests<Derived, Derived const volatile>();
H A Dcompare.equal.raw.cpp154 struct Derived : Base { }; struct
160 std::array<Derived, 5> array = {Derived{0}, Derived{1}, Derived{2}, Derived{3}, Derived{4}}; in tests_convert()
163 test_bounded_ptr<Derived> const a(array.begin(), array.begin(), array.end() - 1); in tests_convert()
169 Derived* b = array.begin(); in tests_convert()
182 tests<Derived, Derived>();
183 tests<Derived, Derived const>();
184 tests<Derived, Derived volatile>();
185 tests<Derived, Derived const volatile>();
H A Dcompare.equal.cpp131 struct Derived : Base { }; struct
137 std::array<Derived, 5> array = {Derived{0}, Derived{1}, Derived{2}, Derived{3}, Derived{4}}; in tests_convert()
138 test_bounded_ptr<Derived> const a(array.begin(), array.begin(), array.end() - 1); in tests_convert()
144 tests<Derived, Derived>();
145 tests<Derived, Derived const>();
146 tests<Derived, Derived volatile>();
147 tests<Derived, Derived const volatile>();
H A Dcompare.order.cpp147 struct Derived : Base { }; struct
153 std::array<Derived, 5> array = {Derived{0}, Derived{1}, Derived{2}, Derived{3}, Derived{4}}; in tests_convert()
154 test_bounded_ptr<Derived> const a(array.begin(), array.begin(), array.end() - 1); in tests_convert()
160 tests<Derived, Derived>();
161 tests<Derived, Derived const>();
162 tests<Derived, Derived volatile>();
163 tests<Derived, Derived const volatile>();
H A Dctor.begin_end.cpp84 struct Derived : Base { }; struct
94 std::array<Derived, 5> array = {};
95 test_bounded_ptr<Base> p(static_cast<Derived*>(array.begin()),
96 static_cast<Derived*>(array.begin()),
97 static_cast<Derived*>(array.end()));
/xnu-11215/tests/intrusive_shared_ptr_src/
H A Dctor.copy.cpp16 struct Derived : Base { }; struct
68 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
69 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>();
70 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
72 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
73 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>();
74 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
83 static_assert(std::is_copy_constructible_v<test_shared_ptr<Derived> >);
86 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<B…
92 …assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Derived …
[all …]
H A Dassign.copy.cpp15 struct Derived : Base { }; struct
88 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
89 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>();
90 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
92 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
93 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>();
94 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
103 static_assert(std::is_copy_assignable_v<test_shared_ptr<Derived> >);
106 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base…
112 …ic_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Derived …
[all …]
H A Dctor.move.cpp17 struct Derived : Base { }; struct
82 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
83 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>();
84 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
86 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
87 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>();
88 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
97 static_assert(std::is_move_constructible_v<test_shared_ptr<Derived> >);
100 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<B…
106 …assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Derived …
[all …]
H A Dassign.move.cpp16 struct Derived : Base { }; struct
89 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>();
90 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>();
91 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>();
93 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
94 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>();
95 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
104 static_assert(std::is_move_assignable_v<test_shared_ptr<Derived> >);
107 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base…
113 …ic_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Derived …
[all …]
H A Dcast.reinterpret.cpp16 struct Derived : Base { }; struct
68 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
69 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
71 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ char>();
72 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ char const>();
74 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Unrelated>();
75 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Unrelated const>();
H A Dcast.static.cpp16 struct Derived : Base { }; struct
73 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
74 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
H A Dcompare.equal.cpp15 struct Derived : Base { }; struct
84 tests_convert<Derived, Base>();
85 tests_convert<Derived, Base const>();
H A Dcompare.equal.raw.cpp21 struct Derived : Base { }; struct
105 tests_convert<Derived, Base>();
106 tests_convert<Derived, Base const>();