Proposal for design of 'scope' (Was: Re: Opportunities for D)

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 08:58:14 PDT 2014


On 2014-07-15 16:58, H. S. Teoh via Digitalmars-d wrote:

> But what if 'ptr' is declared in a private binary-only module, and only
> the signature of 'func' is known? Then what should 'scope' mean to the
> compiler when 'func' is being called from another module?

Hmm, I didn't think of that :(

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list