Home
last modified time | relevance | path

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

/third_party/boost/libs/hana/test/map/
Dcnstr.default.cpp26 struct NoDefault_nonempty { struct
27 NoDefault_nonempty() = delete;
28 NoDefault_nonempty(NoDefault_nonempty const&) = default;
29 constexpr explicit NoDefault_nonempty(int k) : i(k) { } in NoDefault_nonempty() argument
33 auto operator==(NoDefault_nonempty const&, NoDefault_nonempty const&) { return hana::true_c; } in operator ==() argument
34 auto operator!=(NoDefault_nonempty const&, NoDefault_nonempty const&) { return hana::false_c; } in operator !=()
53 struct hash_impl<NoDefault_nonempty> {
54 static constexpr auto apply(NoDefault_nonempty const&) in apply()
55 { return hana::type_c<NoDefault_nonempty>; }; in apply()
72 auto map3 = hana::make_map(hana::make_pair(NoDefault_nonempty(1), NoDefault_nonempty(1))); in main()
/third_party/boost/libs/hana/test/pair/
Dcnstr.default.cpp19 struct NoDefault_nonempty { struct
20 NoDefault_nonempty() = delete;
21 explicit constexpr NoDefault_nonempty(int k) : i(k) { } in NoDefault_nonempty() function
56 using Pair2 = hana::pair<NoDefault_nonempty, NoDefault_nonempty>; in main()
57 Pair2 p2{NoDefault_nonempty{1}, NoDefault_nonempty{2}}; (void)p2; in main()