IT Community - Software Programming, Web Development and Technical Support

Smart Pointer

This is a discussion on Smart Pointer within the C and C++ Programming forums, part of the Software Development category; Hi, What is Smart Pointer? Eaplain any one for the above Questions. Thanks, Sundar Raja...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 05:21 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Question Smart Pointer

Hi,

What is Smart Pointer?

Eaplain any one for the above Questions.

Thanks,
Sundar Raja
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 06:06 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Thumbs up Re: Smart Pointer

hi,


Smart pointers are objects that look and feel like pointers, but are smarter.

smart pointers need to have the same interface that pointers do: they need to support pointer operations like dereferencing (operator *) and indirection (operator ->). An object that looks and feels like something else is called a proxy object


statement q = p, where p and q are smart pointers


1.Automatic cleanup
2.Automatic initialization
3.Dangling pointers
4.Create a new copy
5.Reference counting
6.Reference linking
7.Copy on write

Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB 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
How smart are you? Sabari The Lounge 12 06-05-2008 02:19 AM
pointer concept in C vigneshgets C and C++ Programming 1 08-14-2007 01:03 AM
Vector Smart Object pesc Web Design Help 4 07-19-2007 07:25 AM
Smart Object? PixelNameVj Web Design Help 3 07-17-2007 04:25 AM
Why pointer can't use in Java vadivelanvaidyanathan Java Programming 4 07-16-2007 11:23 PM


All times are GMT -7. The time now is 10:17 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0