Link to home
Start Free TrialLog in
Avatar of ajaysoni032800
ajaysoni032800

asked on

Smart Pointer

What is a smart pointer in C++ ?
Give an programme for how it can be used ?
ASKER CERTIFIED SOLUTION
Avatar of jbodom
jbodom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KangaRoo
KangaRoo

A smart pointer in C++ is an object that `behaves' like a pointer (you can dereference it with * and ->), but can also do some smart tricks, like deleting the object it holds when it is no longer needed.
what exectlly you want to know
Avatar of ajaysoni032800

ASKER

Comment accepted as answer