Boost logo

Boost :

From: Colin Rafferty (colin.rafferty_at_[hidden])
Date: 2004-10-20 13:40:29


Hi-

Shouldn't the constructor in intrusive_ptr be explicit?

    explicit intrusive_ptr(T * p, bool add_ref = true): p_(p)
    {
        if(p_ != 0 && add_ref) intrusive_ptr_add_ref(p_);
    }

I don't have cvs access.

-- 
Colin

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk