• 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: CPP reference operator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPP reference operator


  • Subject: Re: CPP reference operator
  • From: email@hidden
  • Date: Fri, 8 Oct 2010 14:58:57 -0600

Thanks.

I am compiling Objective-C++;


-koko


On Oct 8, 2010, at 2:57 PM, Dave Carrigan wrote:

On Oct 8, 2010, at 1:45 PM, email@hidden wrote:
can parms be passed to obj-c methods by reference as in

name:(type&)parm

Yes, as long as you're compiling as Objective-C++ (i.e., your file extension is .mm).


--
Dave Carrigan
email@hidden
Seattle, WA, USA



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: CPP reference operator
  • Next by Date: Re: CPP reference operator
  • Previous by thread: Re: CPP reference operator
  • Next by thread: Making Java Calls from Objective-C !!
  • Index(es):
    • Date
    • Thread