[OT] Clang seems to implement modules

xenon325 1 at a.net
Tue Nov 20 18:36:20 PST 2012


On Monday, 19 November 2012 at 20:43:21 UTC, Walter Bright wrote:
> On 11/17/2012 3:30 AM, bearophile wrote:
>> http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf
>
> One thing to note what it doesn't do - it doesn't produce a 
> "module" scope. As far as I can tell, the symbols in imported 
> modules all go into the global scope.
>
> It seems to be mainly a way of legitimizing precompiled headers.

On slide #39 there is `public:`. So I guess they consider module 
scope at least in future versions of module system.


More information about the Digitalmars-d-announce mailing list