Can I get a raw pointer from boost's weak_ptr?

Posted by Czubaka on Stack Overflow See other posts from Stack Overflow or by Czubaka
Published on 2010-05-17T14:32:50Z Indexed on 2010/06/15 13:22 UTC
Read the original article Hit count: 146

Is it possible to get a raw pointer from boost::weak_ptr? Boost's shared_ptr has get() method and "->" operator. Is there some rationale behind weak_ptr not having the same functionality?

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost