Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.relops/
H A Drelops_bool_conv.fail.cpp45 struct MyBoolExplicit { struct
47 constexpr explicit MyBoolExplicit(bool v) : value(v) {} in MyBoolExplicit() function
54 inline constexpr MyBoolExplicit operator==(const ComparesToMyBoolExplicit& LHS, const ComparesToMyB… in operator ==() argument
55 return MyBoolExplicit(LHS.value == RHS.value); in operator ==()
57 inline constexpr MyBoolExplicit operator!=(const ComparesToMyBoolExplicit& LHS, const ComparesToMyB… in operator !=()
58 return MyBoolExplicit(LHS.value != RHS.value); in operator !=()
60 inline constexpr MyBoolExplicit operator<(const ComparesToMyBoolExplicit& LHS, const ComparesToMyBo… in operator <()
61 return MyBoolExplicit(LHS.value < RHS.value); in operator <()
64 return MyBoolExplicit(LHS.value <= RHS.value); in operator <=()
67 return MyBoolExplicit(LHS.value > RHS.value); in operator >()
[all …]