Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dvariant.h58 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; }
Dvariant_test.cc1968 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/
Dcxxstring.md106 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/
DSkTLogic.h23 struct monostate {}; struct
/third_party/skia/src/core/
DSkEnumerate.h17 template <typename Iter, typename C = skstd::monostate>
/third_party/node/deps/ada/
Dada.h1876 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/
Dcatch.hpp1963 struct StringMaker<std::monostate> {
1964 static std::string convert(const std::monostate&) { in convert()