Home
last modified time | relevance | path

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

/third_party/boost/libs/hana/test/tuple/
Dcnstr.default.cpp13 struct DefaultOnly { struct
15 DefaultOnly(DefaultOnly const&) = delete; argument
16 DefaultOnly& operator=(DefaultOnly const&) = delete;
20 DefaultOnly() : data_(-1) { ++count; } in DefaultOnly() function
21 ~DefaultOnly() { data_ = 0; --count; } in ~DefaultOnly() argument
23 friend bool operator==(DefaultOnly const& x, DefaultOnly const& y) in operator ==()
26 friend bool operator< (DefaultOnly const& x, DefaultOnly const& y) in operator <()
30 int DefaultOnly::count = 0;
67 hana::tuple<int, char*, std::string, DefaultOnly> t; in main()
71 BOOST_HANA_RUNTIME_CHECK(hana::at_c<3>(t) == DefaultOnly()); in main()
[all …]
/third_party/boost/libs/hana/test/pair/
Dcnstr.default.cpp25 struct DefaultOnly { struct
26 DefaultOnly() = default;
27 DefaultOnly(DefaultOnly const&) = delete;
28 DefaultOnly(DefaultOnly&&) = delete;
63 hana::pair<DefaultOnly, DefaultOnly> p; in main()