• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Retain Release functionality in C++ library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retain Release functionality in C++ library


  • Subject: Re: Retain Release functionality in C++ library
  • From: Rush Manbert <email@hidden>
  • Date: Wed, 22 Feb 2006 09:11:34 -0800

Paul J. Lucas wrote:
On Wed, 22 Feb 2006, innovator information wrote:


I am writing a C++ library. I want to give retain and release functionality
to those C++ classes.  How to do that?


	You write your own (or use somebody else's) reference-counting
	framework.


Raj, take a look at Boost smart pointers. Just the thing you need. Find the smart_ptr link on this page:
http://www.boost.org/libs/libraries.htm



- Rush _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Retain Release functionality in C++ library
      • From: "innovator information" <email@hidden>
References: 
 >Retain Release functionality in C++ library (From: "innovator information" <email@hidden>)
 >Re: Retain Release functionality in C++ library (From: "Paul J. Lucas" <email@hidden>)

  • Prev by Date: Re: NSScriptCoercionHandler ?
  • Next by Date: NSMailDelivery
  • Previous by thread: Re: Retain Release functionality in C++ library
  • Next by thread: Re: Retain Release functionality in C++ library
  • Index(es):
    • Date
    • Thread