Board index » cppbuilder » reference counted smart pointer

reference counted smart pointer

Does anyone know of a
"Reference Counting Smart Pointer" template class that
is available for C++ Builder v5?

Something that would work in std::vectors etc.
A free one would be preferred.

Many thanx.

 

Re:reference counted smart pointer


Yes, the Boost libraries have one that works well with containers,
called boost::shared_ptr<>. All of Boost is totally free. Go to
http://www.boost.org/ and enjoy.
Quote
Rob wrote:
> Does anyone know of a
> "Reference Counting Smart Pointer" template class that
> is available for C++ Builder v5?

> Something that would work in std::vectors etc.
> A free one would be preferred.

Other Threads