On May 1, 2012, at 3:56 PM, Scott Ribe wrote:

> On May 1, 2012, at 5:44 AM, Andreas Grosam wrote:
> 
>> What are my options?
> 
> You might have to wrap that sucker, so that you can compile that class as 
> straight C++ and never include its header from Objective-C++, but instead use 
> your wrapper class from Objective-C++.

Hm, the library is a header only template library - namely its spirit (from 
boost), so my chances to never include this library are zero ;)

Basically, I need something like the following to compile:

// file foo.m:

#include <Foundation/Foundation.h>


namespace nm {

    struct nil {};
    struct Nil {};
}


NSObject* o = nil;




Andreas
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to