Searched refs:Uncopyable (Results 1 – 3 of 3) sorted by relevance
152 struct Uncopyable { in TEST() struct153 Uncopyable() = default; in TEST()154 Uncopyable(const Uncopyable &) = delete; in TEST()156 unique_function<void(const Uncopyable &)> UncopyableF = in TEST()157 [](const Uncopyable &) {}; in TEST() argument158 UncopyableF(Uncopyable()); in TEST()159 Uncopyable X; in TEST()
350 class Uncopyable { class352 Uncopyable() : value_(-1) {} in Uncopyable() function in testing::gmock_matchers_test::__anon540e1b3d0111::Uncopyable353 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in testing::gmock_matchers_test::__anon540e1b3d0111::Uncopyable360 Uncopyable(const Uncopyable&) = delete;361 Uncopyable& operator=(const Uncopyable&) = delete;365 bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; } in ValueIsPositive()379 Uncopyable z; // An uncopyable field.1002 Uncopyable& RefUncopyableFunction(Uncopyable& obj) { // NOLINT in RefUncopyableFunction()1015 Uncopyable obj(0); in TEST()1016 Uncopyable obj2(0); in TEST()[all …]
3912 class Uncopyable { class3914 explicit Uncopyable(int a_value) : value_(a_value) {} in Uncopyable() function in __anon19f4cde20111::Uncopyable3917 bool operator==(const Uncopyable& rhs) const { in operator ==()3924 Uncopyable(const Uncopyable&); // NOLINT3929 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) { in operator <<()3933 bool IsPositiveUncopyable(const Uncopyable& x) { return x.value() > 0; } in IsPositiveUncopyable()3937 Uncopyable y(-1); in TestAssertNonPositive()3942 Uncopyable x(5); in TestAssertEqualsUncopyable()3943 Uncopyable y(-1); in TestAssertEqualsUncopyable()3949 Uncopyable x(5); in TEST()[all …]