Home
last modified time | relevance | path

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

/third_party/boost/libs/hana/test/set/
Dcnstr.default.cpp15 struct NoDefault { struct
16 NoDefault() = delete;
17 NoDefault(NoDefault const&) = default;
18 constexpr explicit NoDefault(int) { } in NoDefault() function
22 auto operator==(NoDefault<i> const&, NoDefault<j> const&) { return hana::bool_<i == j>{}; } in operator ==()
24 auto operator!=(NoDefault<i> const&, NoDefault<j> const&) { return hana::bool_<i != j>{}; } in operator !=()
40 struct hash_impl<NoDefault<i>> {
41 static constexpr auto apply(NoDefault<i> const&) in apply()
42 { return hana::type_c<NoDefault<i>>; }; in apply()
63 auto set3 = hana::make_set(Default<0>(int{}), NoDefault<1>(int{}), Default<2>(int{})); in main()
[all …]
/third_party/boost/libs/hana/test/map/
Dcnstr.default.cpp15 struct NoDefault { struct
16 NoDefault() = delete;
17 NoDefault(NoDefault const&) = default;
18 constexpr explicit NoDefault(int) { } in NoDefault() function
21 auto operator==(NoDefault const&, NoDefault const&) { return hana::true_c; } in operator ==()
22 auto operator!=(NoDefault const&, NoDefault const&) { return hana::false_c; } in operator !=()
47 struct hash_impl<NoDefault> {
48 static constexpr auto apply(NoDefault const&) in apply()
49 { return hana::type_c<NoDefault>; }; in apply()
69 auto map2 = hana::make_map(hana::make_pair(NoDefault(1), NoDefault(1))); in main()
/third_party/boost/libs/hana/test/tuple/
Dcnstr.default.cpp32 struct NoDefault { struct
33 NoDefault() = delete;
34 explicit NoDefault(int) { } in NoDefault() function
76 hana::tuple<NoDefault> in main()
79 hana::tuple<DefaultOnly, NoDefault> in main()
82 hana::tuple<NoDefault, DefaultOnly, NoDefault> in main()
116 hana::tuple<NoDefault> t1(0); in main()
117 hana::tuple<NoDefault> t2{0}; in main()
118 hana::tuple<NoDefault> t3 = {0}; in main()
122 NoDefault v(0); in main()
[all …]
Dcnstr.variadic_forward.cpp33 struct NoDefault { NoDefault() = delete; }; struct
61 typedef hana::tuple<MoveOnly, NoDefault> Tuple; in main()
70 MoveOnly, NoDefault in main()
74 typedef hana::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in main()
83 MoveOnly, MoveOnly, NoDefault in main()
87 typedef hana::tuple<MoveOnly, NoDefault> Tuple; in main()
/third_party/boost/libs/hana/test/pair/
Dcnstr.default.cpp14 struct NoDefault { struct
15 NoDefault() = delete;
16 explicit constexpr NoDefault(int) { } in NoDefault() argument
52 using Pair1 = hana::pair<NoDefault, NoDefault>; in main()
53 Pair1 p1{NoDefault{1}, NoDefault{2}}; (void)p1; in main()
/third_party/boost/libs/optional/test/
Doptional_test_experimental_traits.cpp56 struct NoDefault struct
58 explicit NoDefault(int) {} in NoDefault() argument
85 BOOST_TEST_TRAIT_FALSE(( boost::optional_config::optional_uses_direct_storage_for<NoDefault> )); in test_type_traits()
108 BOOST_TEST_TRAIT_TRUE(( boost::optional_detail::is_type_trivially_copyable<NoDefault> )); in test_type_traits()
Doptional_test_static_properties.cpp56 struct NoDefault struct
58 explicit NoDefault(int) {} in NoDefault() argument
85 BOOST_TEST_TRAIT_FALSE(( boost::optional_config::optional_uses_direct_storage_for<NoDefault> )); in test_type_traits()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Doptional_test.cc163 struct NoDefault { struct
164 NoDefault() = delete;
165 NoDefault(const NoDefault&) {} in NoDefault() function
166 NoDefault& operator=(const NoDefault&) { return *this; } in operator =() argument
353 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
355 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
/third_party/abseil-cpp/absl/types/
Doptional_test.cc163 struct NoDefault { struct
164 NoDefault() = delete;
165 NoDefault(const NoDefault&) {} in NoDefault() function
166 NoDefault& operator=(const NoDefault&) { return *this; } in operator =() argument
353 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
355 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
/third_party/typescript/src/compiler/
Dtypes.ts5665NoDefault = 1 << 0, // Infer unknownType for no inferences (otherwise anyType or emptyObjec…
Dchecker.ts21163 else if (context.flags & InferenceFlags.NoDefault) {
27296 … outerMapper = getMapperFromContext(cloneInferenceContext(outerContext, InferenceFlags.NoDefault));