Searched refs:Countable (Results 1 – 2 of 2) sorted by relevance
343 struct Countable { struct346 Countable(int Number, int &InstanceCount) in Countable() function350 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable() argument354 Countable(const Countable &C) in Countable() argument358 Countable &operator=(Countable C) { in operator =() argument362 ~Countable() { --InstanceCount; } in ~Countable() argument367 StringMap<Countable> A; in TEST_F()368 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()374 StringMap<Countable> B; in TEST_F()382 B = StringMap<Countable>(); in TEST_F()
373 struct Countable { struct376 Countable(int Number, int &InstanceCount) in Countable() argument380 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable() argument384 Countable(const Countable &C) in Countable() argument388 Countable &operator=(Countable C) { in operator =() argument392 ~Countable() { --InstanceCount; } in ~Countable() argument397 StringMap<Countable> A; in TEST_F()398 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()404 StringMap<Countable> B; in TEST_F()412 B = StringMap<Countable>(); in TEST_F()