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,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top