Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.