Searched refs:CopyDetector (Results 1 – 1 of 1) sorted by relevance
167 struct CopyDetector { struct168 CopyDetector() = default;169 explicit CopyDetector(int xx) : x(xx) {} in CopyDetector() argument170 CopyDetector(CopyDetector&& d) noexcept in CopyDetector() argument172 CopyDetector(const CopyDetector& d) : x(d.x), copied(true), moved(false) {} in CopyDetector() argument173 CopyDetector& operator=(const CopyDetector& c) { in operator =() argument179 CopyDetector& operator=(CopyDetector&& c) noexcept { in operator =() argument190 testing::Matcher<const CopyDetector&> CopyDetectorHas(int a, bool b, bool c) { in CopyDetectorHas()191 return AllOf(Field(&CopyDetector::x, a), Field(&CopyDetector::moved, b), in CopyDetectorHas()192 Field(&CopyDetector::copied, c)); in CopyDetectorHas()[all …]