Searched refs:ptest1 (Results 1 – 1 of 1) sorted by relevance
20 shared_ptr<resource> ptest1 = ptest0; in shared_ptr_test() local21 cout << "shared count:" << ptest1.use_count() << endl; in shared_ptr_test()22 if (ptest1.use_count() != 2) { in shared_ptr_test()28 cout << "shared count:" << ptest1.use_count() << endl; in shared_ptr_test()30 if (ptest1.use_count() == 1) { in shared_ptr_test()
Completed in 2 milliseconds