Lines Matching refs:Counted
15 struct Counted { struct
25 explicit Counted() { in Counted() function
30 explicit Counted(int v) : value(v) { in Counted() argument
35 ~Counted() { --current_objects; } in ~Counted() argument
43 Counted(const Counted& rhs) : value(rhs.value) { in Counted() function
49 Counted(Counted&& rhs) : value(rhs.value) { in Counted() function
57 friend bool operator==(const Counted& l, const Counted& r) {
61 friend bool operator!=(const Counted& l, const Counted& r) {
65 friend void operator&(Counted) = delete; argument
79 int Counted::current_objects = 0; argument
80 int Counted::total_objects = 0;
81 int Counted::total_copies = 0;
82 int Counted::total_moves = 0;
83 int Counted::throw_on = -1;