Searched refs:monostate (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 813 struct hash<absl::monostate> { 814 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/third_party/rust/crates/cxx/book/src/binding/ |
D | cxxstring.md | 106 std::variant<std::monostate, number, string, array, object> value; 122 bool json::isNull() const { return std::holds_alternative<std::monostate>(value); }
|
/third_party/skia/include/private/ |
D | SkTLogic.h | 23 struct monostate {}; struct
|
/third_party/skia/src/core/ |
D | SkEnumerate.h | 17 template <typename Iter, typename C = skstd::monostate>
|
/third_party/node/deps/ada/ |
D | ada.h | 1876 class monostate {}; 3963 using result = expected<exp_t<Exp>, monostate>; 3969 return result(unexpect, monostate{}); 3989 using result = expected<exp_t<Exp>, monostate>; 3995 return result(unexpect, monostate{}); 4018 auto map_error_impl(Exp &&exp, F &&f) -> expected<exp_t<Exp>, monostate> { 4019 using result = expected<exp_t<Exp>, monostate>; 4025 return result(unexpect, monostate{}); 4048 auto map_error_impl(Exp &&exp, F &&f) -> expected<exp_t<Exp>, monostate> { 4049 using result = expected<exp_t<Exp>, monostate>; [all …]
|
/third_party/libabigail/tests/lib/ |
D | catch.hpp | 1963 struct StringMaker<std::monostate> { 1964 static std::string convert(const std::monostate&) { in convert()
|