![]() |
|
#1
|
|||
|
|||
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
|
|||
|
|||
Re: How to implement reference counting with 'Smart_ptr'?Google is your friends.
|
|
#3
|
|||
|
|||
Re: How to implement reference counting with 'Smart_ptr'?There is an example in Stroustrup's C++ book.
|
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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