Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/utilities/variant/variant.hash/
Dhash.pass.cpp54 using V = std::variant<std::monostate, int, long, const char *>; in test_hash_variant()
96 using H = std::hash<std::monostate>; in test_hash_monostate()
98 std::monostate m1{}; in test_hash_monostate()
99 const std::monostate m2{}; in test_hash_monostate()
109 test_hash_enabled_for_type<std::monostate>(); in test_hash_monostate()
115 using V = std::variant<std::monostate, std::monostate>; in test_hash_variant_duplicate_elements()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.hash/
Dhash.pass.cpp53 using V = std::variant<std::monostate, int, long, const char *>; in test_hash_variant()
95 using H = std::hash<std::monostate>; in test_hash_monostate()
97 std::monostate m1{}; in test_hash_monostate()
98 const std::monostate m2{}; in test_hash_monostate()
108 test_hash_enabled_for_type<std::monostate>(); in test_hash_monostate()
114 using V = std::variant<std::monostate, std::monostate>; in test_hash_variant_duplicate_elements()
/external/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; }
808 struct hash<absl::monostate> {
809 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 …]
/external/angle/third_party/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 …]
/external/webrtc/third_party/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; }
808 struct hash<absl::monostate> {
809 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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/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; }
808 struct hash<absl::monostate> {
809 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 …]
/external/openscreen/third_party/abseil/src/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 …]
/external/libtextclassifier/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; }
808 struct hash<absl::monostate> {
809 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 …]
/external/libcxx/include/
Dvariant173 // 20.7.7, class monostate
174 struct monostate;
176 // 20.7.8, monostate relational operators
177 constexpr bool operator<(monostate, monostate) noexcept;
178 constexpr bool operator>(monostate, monostate) noexcept;
179 constexpr bool operator<=(monostate, monostate) noexcept;
180 constexpr bool operator>=(monostate, monostate) noexcept;
181 constexpr bool operator==(monostate, monostate) noexcept;
182 constexpr bool operator!=(monostate, monostate) noexcept;
194 template <> struct hash<monostate>;
[all …]
/external/llvm-project/libcxx/include/
Dvariant172 // 20.7.7, class monostate
173 struct monostate;
175 // 20.7.8, monostate relational operators
176 constexpr bool operator<(monostate, monostate) noexcept;
177 constexpr bool operator>(monostate, monostate) noexcept;
178 constexpr bool operator<=(monostate, monostate) noexcept;
179 constexpr bool operator>=(monostate, monostate) noexcept;
180 constexpr bool operator==(monostate, monostate) noexcept;
181 constexpr bool operator!=(monostate, monostate) noexcept;
193 template <> struct hash<monostate>;
[all …]
/external/llvm-project/libcxx/test/std/utilities/variant/variant.monostate/
Dmonostate.pass.cpp22 using M = std::monostate; in main()
/external/libcxx/test/std/utilities/variant/variant.monostate/
Dmonostate.pass.cpp21 using M = std::monostate; in main()
/external/openscreen/cast/streaming/
Dsender_message.h47 absl::variant<absl::monostate, Offer, std::string> body;
Dreceiver_message.h85 absl::variant<absl::monostate,
/external/libcxx/test/std/utilities/variant/variant.monostate.relops/
Drelops.pass.cpp28 using M = std::monostate; in main()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.monostate.relops/
Drelops.pass.cpp27 using M = std::monostate; in main()
/external/tensorflow/tensorflow/lite/delegates/gpu/
Dapi.cc23 ObjectType operator()(absl::monostate) const { return ObjectType::UNKNOWN; } in operator ()()
44 bool operator()(absl::monostate) const { return false; } in operator ()()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_video_header.h39 using RTPVideoTypeHeader = absl::variant<absl::monostate,
/external/rust/cxx/book/src/binding/
Dcxxstring.md105 std::variant<std::monostate, number, string, array, object> value;
121 bool json::isNull() const { return std::holds_alternative<std::monostate>(value); }

12