I've a basic question regarding auto_ptr
auto_ptr<T> pt( new T(1) );
now how do i validate pt before using pt.get()i.e
how can I make sure that pt has been allocated....
is there any way to validate, as iam using this for the first time.Kindly someone clarify
Thanx in advance