Lines Matching refs:One
35 struct One39 explicit One(int v) : value(v) {++count;}40 One(One const & o) : value(o.value) {++count;}41 ~One() {--count;}44 int One::count = 0;80 std::shared_ptr<One> p = std::allocate_shared<One>(Alloc(), i);81 assert(One::count == 1);84 assert(One::count == 0);