shared_ptr<T> vs intrusive_ptr<T>

P

Pallav singh

Hi All ,

what is the difference between shared_ptr<T> and intrusive_ptr<T> in
Boost smart pointers ?

Thanks
Pallav singh
 
N

Noah Roberts

Pallav said:
Hi All ,

what is the difference between shared_ptr<T> and intrusive_ptr<T> in
Boost smart pointers ?

intrusive_ptr has requirements with regard to T such that it actually
tracks references in the objects pointed to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top