Lines Matching refs:NonCopyable
107 struct NonCopyable { struct
108 explicit NonCopyable(const std::string& s) : value(s) {} in NonCopyable() function
109 NonCopyable(const NonCopyable&) = delete;
110 NonCopyable& operator=(const NonCopyable&) = delete;
115 const std::string& GetNonCopyableValue(const NonCopyable& n) { return n.value; } in GetNonCopyableValue()
118 NonCopyable s("hello"); in TEST()
130 NonCopyable s("hello"); in TEST()
142 std::reference_wrapper<NonCopyable> n) { in GetNonCopyableValueByWrapper()
147 NonCopyable s("hello"); in TEST()
159 NonCopyable s("hello"); in TEST()
160 auto f = absl::bind_front(&NonCopyable::value, &s); in TEST()