Regarding: import "foo.h";

Paulo Pinto pjmlp at progtools.org
Thu Jul 18 04:49:55 PDT 2013


On Thursday, 18 July 2013 at 08:23:42 UTC, Jacob Carlborg wrote:
> On 2013-07-18 09:36, Paulo Pinto wrote:
>
>> They are not there yet.
>>
>> I was really looking forward for it, mostly due to the C++17 
>> modules
>> effort being done at Apple.
>>
>> However, what was presented at WWDC 2013 was a half baked 
>> solution that
>> only works in Objective-C for system headers.
>
> If it works for Objective-C, I'm pretty sure it will work for 
> C. In fact, the documentation contains a lot of examples with 
> standard C headers.
>
> http://clang.llvm.org/docs/Modules.html
>
> Why would they work only for system headers?

Because that is what Apple is supporting in XCode 5. If you have 
an Apple ID, have a look at,

Session "Advances in Objective-C"
https://developer.apple.com/wwdc/videos

Slides from page 9 up to 69. Slide 61 lists all current caveats.


--
Paulo



More information about the Digitalmars-d mailing list