Searched refs:count_deletes (Results 1 – 2 of 2) sorted by relevance
204 class count_deletes { class207 ~count_deletes() { ++count; } in ~count_deletes()210 int count_deletes::count = 0;222 count_deletes* ct[10]; in test_news_and_deletes()223 std::for_each(ct, ct+10, _1 = bind(new_ptr<count_deletes>())); in test_news_and_deletes()224 count_deletes::count = 0; in test_news_and_deletes()226 BOOST_CHECK(count_deletes::count == 10); in test_news_and_deletes()232 count_deletes* c; in test_array_new_and_delete()233 (_1 = bind(new_array<count_deletes>(), 5))(c); in test_array_new_and_delete()234 count_deletes::count = 0; in test_array_new_and_delete()[all …]
212 class count_deletes { class215 ~count_deletes() { ++count; } in ~count_deletes()218 int count_deletes::count = 0;231 count_deletes* ct[10]; in test_news_and_deletes()232 std::for_each(ct, ct+10, _1 = bind(new_ptr<count_deletes>())); in test_news_and_deletes()233 count_deletes::count = 0; in test_news_and_deletes()235 BOOST_TEST_EQ(count_deletes::count, 10); in test_news_and_deletes()241 count_deletes* c; in test_array_new_and_delete()242 (_1 = bind(new_array<count_deletes>(), 5))(c); in test_array_new_and_delete()243 count_deletes::count = 0; in test_array_new_and_delete()[all …]