Searched refs:wp3 (Results 1 – 8 of 8) sorted by relevance
256 boost::weak_ptr<int> wp3(wp); in copy_constructor() local257 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()258 BOOST_TEST(wp3.use_count() == 0); in copy_constructor()259 BOOST_TEST(!(wp < wp3 || wp3 < wp)); in copy_constructor()274 boost::weak_ptr<int> wp3(wp); in copy_constructor() local275 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()276 BOOST_TEST(wp3.use_count() == 0); in copy_constructor()277 BOOST_TEST(!(wp < wp3 || wp3 < wp)); in copy_constructor()292 boost::weak_ptr<void> wp3(wp); in copy_constructor() local293 BOOST_TEST(wp3.use_count() == wp.use_count()); in copy_constructor()[all …]
158 boost::weak_ptr<X const[3]> wp3( px2 ); in main() local159 BOOST_TEST( wp3.lock() == px2 ); in main()161 wp3.reset(); in main()162 wp3 = px2; in main()163 BOOST_TEST( wp3.lock() == px2 ); in main()192 BOOST_TEST( wp3.lock() == 0 ); in main()
158 boost::weak_ptr<X const[]> wp3( px2 ); in main() local159 BOOST_TEST( wp3.lock() == px2 ); in main()161 wp3.reset(); in main()162 wp3 = px2; in main()163 BOOST_TEST( wp3.lock() == px2 ); in main()192 BOOST_TEST( wp3.lock() == 0 ); in main()
264 weak_ptr<Y> wp3 = dynamic_pointer_cast<Y>(wp2.lock()); in main() local266 BOOST_TEST(wp3.use_count() == 1); in main()267 test_shared(wp2, wp3); in main()269 weak_ptr<X> wp4(wp3); in main()280 wp1 = wp3; in main()297 BOOST_TEST(wp3.use_count() == 0); in main()
490 y_weak_ptr wp3 = dynamic_pointer_cast<Y>(wp2.lock()); in basic_shared_ptr_test() local492 BOOST_TEST(wp3.use_count() == 1); in basic_shared_ptr_test()493 test_shared(wp2, wp3); in basic_shared_ptr_test()495 weak_ptr<X, v_allocator_t, y_deleter_t> wp4(wp3); in basic_shared_ptr_test()516 BOOST_TEST(wp3.use_count() == 0); in basic_shared_ptr_test()
954 path wp3(wa); in test_overloads() local