• 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: CW vs Xcode C++ question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CW vs Xcode C++ question


  • Subject: Re: CW vs Xcode C++ question
  • From: Mark Alldritt <email@hidden>
  • Date: Sat, 29 Apr 2006 13:14:11 -0700
  • Thread-topic: CW vs Xcode C++ question

Hi,

> On Apr 29, 2006, at 10:21 AM, Mark Alldritt wrote:
>
>>     aux::for_each(data, Abc::DoSomething);
>
> You just need to change this to:
>
> aux::for_each(data, &Abc::DoSomething);
>                      ^
>
> Xcode is right on this one.  CW accepts the "&", but allows you to
> drop it as an extension.

Thanks.  Once of the objectives of the templates was to avoid the need for
the &, but adding it back is not that big a deal.

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 4.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  FaceSpan 4.3 - AppleScript RAD
                                   Affrus 1.0 - Perl Debugging


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: CW vs Xcode C++ question (From: Howard Hinnant <email@hidden>)

  • Prev by Date: Re: CW vs Xcode C++ question
  • Next by Date: CW to Xcode: basic_ostream<UniChar...> and << "ascii"
  • Previous by thread: Re: CW vs Xcode C++ question
  • Next by thread: Re: Single project or two separate projects?
  • Index(es):
    • Date
    • Thread