Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.relops/
Drelops_bool_conv.fail.cpp47 struct MyBoolExplicit { struct
49 constexpr explicit MyBoolExplicit(bool v) : value(v) {} in MyBoolExplicit() argument
56 inline constexpr MyBoolExplicit operator==(const ComparesToMyBoolExplicit& LHS, const ComparesToMyB… in operator ==() argument
57 return MyBoolExplicit(LHS.value == RHS.value); in operator ==()
59 inline constexpr MyBoolExplicit operator!=(const ComparesToMyBoolExplicit& LHS, const ComparesToMyB… in operator !=()
60 return MyBoolExplicit(LHS.value != RHS.value); in operator !=()
62 inline constexpr MyBoolExplicit operator<(const ComparesToMyBoolExplicit& LHS, const ComparesToMyBo… in operator <()
63 return MyBoolExplicit(LHS.value < RHS.value); in operator <()
65 inline constexpr MyBoolExplicit operator<=(const ComparesToMyBoolExplicit& LHS, const ComparesToMyB… in operator <=()
66 return MyBoolExplicit(LHS.value <= RHS.value); in operator <=()
[all …]