Home
last modified time | relevance | path

Searched refs:ExplicitTo (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_constructible.pass.cpp74 struct ExplicitTo { struct
243 test_is_constructible<const int&, ExplicitTo<int&>&>(); in main()
244 test_is_constructible<const int&, ExplicitTo<int&>>(); in main()
246 test_is_constructible<const int&, ExplicitTo<int&>&>(); in main()
247 test_is_constructible<const int&, ExplicitTo<int&>>(); in main()
248 test_is_constructible<int&, ExplicitTo<int&>>(); in main()
249 test_is_constructible<const int&, ExplicitTo<int&&>>(); in main()
253 test_is_constructible<int&, ExplicitTo<int&>>(); in main()
254 test_is_constructible<const int&, ExplicitTo<int&&>>(); in main()
256 static_assert(std::is_constructible<int&&, ExplicitTo<int&&>>::value, ""); in main()
[all …]
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_constructible.pass.cpp70 struct ExplicitTo { struct
226 test_is_constructible<const int&, ExplicitTo<int&>&>(); in main()
227 test_is_constructible<const int&, ExplicitTo<int&>>(); in main()
229 test_is_constructible<const int&, ExplicitTo<int&>&>(); in main()
230 test_is_constructible<const int&, ExplicitTo<int&>>(); in main()
238 test_is_constructible<int&, ExplicitTo<int&>>(); in main()
240 test_is_constructible<const int&, ExplicitTo<int&&>>(); in main()
243 static_assert(std::is_constructible<int&&, ExplicitTo<int&&>>::value, ""); in main()
247 test_is_constructible<const int&, ExplicitTo<int>>(); in main()
248 static_assert(std::is_constructible<int&&, ExplicitTo<int>>::value, ""); in main()
[all …]