Searched defs:copy_counter (Results 1 – 3 of 3) sorted by relevance
51 struct copy_counter { struct52 static int count_;53 copy_counter(copy_counter const& /*other*/) { in copy_counter() function56 copy_counter() {} in copy_counter() function57 static void reset() { count_ = 0; } in reset()58 static int count() { return copy_counter::count_; } in count()
70 struct copy_counter struct75 copy_counter() {} in copy_counter() function76 copy_counter(const copy_counter&) { ++count; } in copy_counter() argument77 copy_counter& operator=(const copy_counter&) { ++count; return *this; } in operator =()78 static int get_count() { return count; } in get_count()82 static int count;
226 explicit MoveAndCopyCounter(int* move_counter, int* copy_counter) in MoveAndCopyCounter()