Searched refs:OptInt (Results 1 – 2 of 2) sorted by relevance
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | optional_U.pass.cpp | 153 using OptInt = std::optional<int>; in test_ambigious_assign() typedef 155 using T = AssignableFrom<OptInt&&>; in test_ambigious_assign() 158 OptInt a(42); in test_ambigious_assign() 168 static_assert(!std::is_assignable<Opt&, const OptInt&&>::value, ""); in test_ambigious_assign() 169 static_assert(!std::is_assignable<Opt&, const OptInt&>::value, ""); in test_ambigious_assign() 170 static_assert(!std::is_assignable<Opt&, OptInt&>::value, ""); in test_ambigious_assign() 174 using T = AssignableFrom<OptInt const&&>; in test_ambigious_assign() 177 const OptInt a(42); in test_ambigious_assign() 187 OptInt a(42); in test_ambigious_assign() 197 static_assert(std::is_assignable<Opt&, OptInt&&>::value, ""); in test_ambigious_assign() [all …]
|
D | const_optional_U.pass.cpp | 148 using OptInt = std::optional<int>; in test_ambigious_assign() typedef 150 using T = AssignableFrom<OptInt const&>; in test_ambigious_assign() 151 const OptInt a(42); in test_ambigious_assign() 181 using T = AssignableFrom<OptInt&>; in test_ambigious_assign() 182 OptInt a(42); in test_ambigious_assign() 194 static_assert(!std::is_assignable_v<Opt&, OptInt const&>, ""); in test_ambigious_assign()
|