Exforsys

Free Training

Want to Know about the Pointer Type

This is a discussion on Want to Know about the Pointer Type within the C and C++ forums, part of the Programming Talk category; I have some doubts regarding auto_ptr. What are the main features of auto_ptr and I also want to know whether ...

Go Back   Exforsys > Programming Talk > C and C++

Exforsys.com


C and C++ C and C++

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 06-08-2007, 03:15 PM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Want to Know about the Pointer Type

I have some doubts regarding auto_ptr. What are the main features of auto_ptr and I also want to know whether auto_ptr is capable of handling automatic exception handling process. Kindly clarify me on this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-10-2007, 03:16 PM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
auto_ptr is actually a smart pointer. The main usage of the auto_ptr is for deleting the heap pointers automatically. But as you have asked whether auto_ptr is capable of handling automatic exception handling process. The answer for this question is NO. Because auto_ptr is not capable of handling automatic exception handling process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 06-15-2004 06:00 AM
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 06-01-2004 06:01 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 06:00 AM
comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) Steve Summit Tech FAQ 0 05-15-2004 06:00 AM
Solaris x86 FAQ 2/2 Dan Anderson Tech FAQ 0 04-27-2004 07:24 PM


All times are GMT -4. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.