Esempio n. 1
0
    shared_count(shared_count const & r): pi_(r.pi_) // nothrow
#if defined(SC_BOOST_SP_ENABLE_DEBUG_HOOKS)
        , id_(shared_count_id)
#endif
    {
        if( pi_ != 0 ) pi_->add_ref_copy();
    }
Esempio n. 2
0
 shared_count(shared_count const & r): pi_(r.pi_) // nothrow
 {
     if( pi_ != 0 ) pi_->add_ref_copy();
 }