Searched refs:population_ (Results 1 – 4 of 4) sorted by relevance
24 static int population_; member26 explicit B() : data_(1) { ++population_; } in B()32 ++population_; in B()34 ~B() {data_ = 0; --population_; } in ~B()38 int B::population_ = 0; member in B56 assert(B::population_ == 0); in main()65 assert(B::population_ == 0); in main()73 assert(B::population_ == 2); in main()
25 static int population_; member27 explicit B() : data_(1) { ++population_; } in B()33 ++population_; in B()35 ~B() {data_ = 0; --population_; } in ~B()39 int B::population_ = 0; member in B57 assert(B::population_ == 0); in main()66 assert(B::population_ == 0); in main()73 assert(B::population_ == 2); in main()
25 static int population_; member27 explicit B() : data_(1) { ++population_; } in B()33 ++population_; in B()35 ~B() {data_ = 0; --population_; } in ~B()39 int B::population_ = 0; member in B58 assert(B::population_ == N); in main()67 assert(B::population_ == N); in main()74 assert(B::population_ == N + 2); in main()
25 static int population_; member27 explicit B() : data_(1) { ++population_; } in B()33 ++population_; in B()35 ~B() {data_ = 0; --population_; } in ~B()38 int B::population_ = 0; member in B58 assert(B::population_ == N); in main()67 assert(B::population_ == N); in main()74 assert(B::population_ == N + 2); in main()