Lazy private selective imports
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Mar 25 16:08:53 PDT 2014
On 3/25/14, 3:44 PM, Martin Nowak wrote:
> On 03/24/2014 10:18 PM, Peter Alexander wrote:
>> Would it be possible to perform private selective imports lazily? i.e.
>> only import when the symbol selectively imported is requested.
>>
> Laziness only makes sense for static imports, because otherwise the
> compiler needs to check for overloads during symbol lookup.
I think it makes sense for all imports because those in turn have other
nonpublic imports. -- Andrei
More information about the Digitalmars-d
mailing list