Home
last modified time | relevance | path

Searched refs:ExplicitT (Results 1 – 9 of 9) sorted by relevance

/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dconst_first_const_second.pass.cpp21 struct ExplicitT { struct
22 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() argument
23 constexpr explicit ExplicitT(ExplicitT const& o) : value(o.value) {} in ExplicitT() argument
43 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main() argument
44ExplicitT const&, ExplicitT const&>::value, ""); in main()
45 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
46 … ExplicitNothrowT const&, ExplicitT const&>::value, ""); in main()
47 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
48ExplicitT const&, ExplicitNothrowT const&>::value, ""); in main()
Dconst_pair_U_V.pass.cpp21 struct ExplicitT { struct
22 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() function
23 constexpr explicit ExplicitT(ExplicitT const& o) : value(o.value) {} in ExplicitT() argument
45 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main() argument
47 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
49 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
DU_V.pass.cpp21 struct ExplicitT { struct
22 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() function
43 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, int, int>::value, ""… in main() argument
44 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, int, int>::va… in main()
45 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, int, int>::va… in main()
Drv_pair_U_V.pass.cpp22 struct ExplicitT { struct
23 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() function
44 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main() argument
46 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
48 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dnot_constexpr_cxx11.fail.cpp19 struct ExplicitT { struct
20 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() argument
21 constexpr explicit ExplicitT(ExplicitT const& o) : value(o.value) {} in ExplicitT() argument
42 using P = std::pair<ExplicitT, ExplicitT>; in main() argument
44 constexpr ExplicitT e(99); in main()
Dconst_first_const_second.pass.cpp25 struct ExplicitT { struct
26 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() function
27 constexpr explicit ExplicitT(ExplicitT const& o) : value(o.value) {} in ExplicitT() function
82 using P = std::pair<ExplicitT, int>; in main()
83 constexpr ExplicitT e(42); in main()
Dconst_pair_U_V.pass.cpp45 struct ExplicitT { struct
46 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() argument
47 constexpr explicit ExplicitT(ExplicitT const& o) : value(o.value) {} in ExplicitT() function
166 using P2 = std::pair<ExplicitT, ExplicitT>; in main()
DU_V.pass.cpp39 struct ExplicitT { struct
40 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() function
90 constexpr std::pair<ExplicitT, ExplicitT> p(42, 43); in main()
Drv_pair_U_V.pass.cpp57 struct ExplicitT { struct
58 constexpr explicit ExplicitT(int x) : value(x) {} in ExplicitT() argument
166 constexpr std::pair<ExplicitT, ExplicitT> p2(std::move(p1)); in main()