Searched defs:CountingType (Results 1 – 1 of 1) sorted by relevance
29 struct CountingType { struct40 CountingType() : value(0) { ++constructed; } in CountingType() argument41 CountingType(int v) : value(v) { ++constructed; } in CountingType() argument42 CountingType(CountingType const& o) : value(o.value) { ++constructed; ++copy_constructed; } in CountingType() argument43 …CountingType(CountingType&& o) : value(o.value) { ++constructed; ++move_constructed; o.value = -1;} in CountingType() argument45 CountingType& operator=(CountingType const& o) { in operator =() argument51 CountingType& operator=(CountingType&& o) { in operator =() argument60 int CountingType::constructed; argument