|
-
May 2nd, 2004 12:23 AM
#1
auto_ptr
Hi,
I've a basic question regarding auto_ptr
assume this
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Click Here to Expand Forum to Full Width
|
Bookmarks