|
Boost : |
From: Neal D. Becker (nbecker_at_[hidden])
Date: 2002-09-18 14:00:37
Is this usage of share_ptr valid?
shared_ptr<X> x; // init to 0
x.reset (new X); // later set to desired value
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk