Home
last modified time | relevance | path

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

/xnu-11215/tests/bounded_ptr_src/
H A Dreinterpret_cast.cpp15 struct Base { int i; }; argument
16 struct Derived : Base { };
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>();
H A Dctor.convert.cpp16 struct Base { int i; }; argument
17 struct Derived : Base { };
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>();
104 tests</*stored*/ Derived, /*from*/ Derived const volatile, /*to*/ Base const volatile>();
122 …static_assert(!std::is_convertible_v</*from*/ test_bounded_ptr<Base>, /*to*/ test_bounded_ptr<Deri…
H A Dassign.convert.cpp15 struct Base { int i; }; struct
16 struct Derived : Base { };
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>();
107 tests</*stored*/ Derived, /*from*/ Derived const volatile, /*to*/ Base const volatile>();
125 …_assert(!std::is_assignable_v</*to*/ test_bounded_ptr<Derived>, /*from*/ test_bounded_ptr<Base> >);
H A Dcompare.order.raw.cpp175 struct Base { int i; }; struct
176 struct Derived : Base { };
208 tests_convert<Base>();
209 tests_convert<Base const>();
210 tests_convert<Base volatile>();
211 tests_convert<Base const volatile>();
H A Dcompare.equal.raw.cpp153 struct Base { int i; }; argument
154 struct Derived : Base { };
186 tests_convert<Base>();
187 tests_convert<Base const>();
188 tests_convert<Base volatile>();
189 tests_convert<Base const volatile>();
H A Dcompare.equal.cpp130 struct Base { int i; }; struct
131 struct Derived : Base { };
148 tests_convert<Base>();
149 tests_convert<Base const>();
150 tests_convert<Base volatile>();
151 tests_convert<Base const volatile>();
H A Dcompare.order.cpp146 struct Base { int i; }; struct
147 struct Derived : Base { };
164 tests_convert<Base>();
165 tests_convert<Base const>();
166 tests_convert<Base volatile>();
167 tests_convert<Base const volatile>();
H A Dctor.begin_end.cpp83 struct Base { }; struct
84 struct Derived : Base { };
95 test_bounded_ptr<Base> p(static_cast<Derived*>(array.begin()),
/xnu-11215/tests/intrusive_shared_ptr_src/
H A Dctor.copy.cpp15 struct Base { int i; }; argument
16 struct Derived : Base { };
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>();
86 …(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base> const&>);
H A Dassign.copy.cpp14 struct Base { int i; }; struct
15 struct Derived : Base { };
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>();
106 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base
H A Dctor.move.cpp16 struct Base { int i; }; struct
17 struct Derived : Base { };
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>();
100 …ssert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base>&&>);
H A Dassign.move.cpp15 struct Base { int i; }; argument
16 struct Derived : Base { };
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>();
107 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base
H A Dcompare.equal.cpp14 struct Base { int i; }; struct
15 struct Derived : Base { };
84 tests_convert<Derived, Base>();
85 tests_convert<Derived, Base const>();
H A Dcompare.equal.raw.cpp20 struct Base { int i; }; argument
21 struct Derived : Base { };
105 tests_convert<Derived, Base>();
106 tests_convert<Derived, Base const>();
H A Dcast.reinterpret.cpp15 struct Base { int i; }; argument
16 struct Derived : Base { };
68 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
69 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();
H A Dcast.static.cpp15 struct Base { int i; }; struct
16 struct Derived : Base { };
73 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>();
74 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>();