GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Jun-2007, 10:28
meili100 meili100 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 37
meili100 has a little shameless behaviour in the past

How to implement reference counting with 'Smart_ptr'?


Could anybody let me know where to find the source code (or sample code) of smart_ptr for reference counting?
I find the code for auto_ptr, but seems auto_ptr is not a REAL reference counting because it does not 'count'.
  #2  
Old 19-Jun-2007, 22:34
Peter_APIIT Peter_APIIT is offline
Account Disabled
 
Join Date: May 2007
Location: Malaysia
Posts: 478
Peter_APIIT can only hope to improve

Re: How to implement reference counting with 'Smart_ptr'?


Google is your friends.
  #3  
Old 20-Jun-2007, 01:51
it career it career is offline
New Member
 
Join Date: Jun 2007
Location: askexpert.info
Posts: 4
it career is on a distinguished road

Re: How to implement reference counting with 'Smart_ptr'?


There is an example in Stroustrup's C++ book.
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 3) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anybody tell me how to implement reference counting with C++? meili100 C++ Forum 3 05-Jun-2007 12:09
gnu.linkonce undefined reference newbie06 C++ Forum 4 13-Mar-2007 09:53
G++ question... TreyAU21 C++ Forum 10 24-Feb-2006 08:45
How to interpret characters as they are being entered? nkhambal C Programming Language 18 14-Feb-2006 10:41
c++ inheritance illbemissingu C++ Forum 14 23-Oct-2005 17:35

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:53.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.