DIP10005: Dependency-Carrying Declarations is now available for community feedback

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 06:16:34 PST 2016


On 12/14/16 6:06 AM, rikki cattermole wrote:
> On 14/12/2016 11:33 AM, Andrei Alexandrescu wrote:
>> Destroy.
>>
>> https://github.com/dlang/DIPs/pull/51/files
>>
>>
>> Andrei
>
> Others have brought up similar syntax to this:
>
> import(my.mod).Type!argsT(7)
>
> import(Identifier).Identifier
>
> It shouldn't be confused with string imports or the like and would be
> more akin to a selective import.
>
> Pros:
>  - Is an expression

How does it then apply to declarations? -- Andrei


More information about the Digitalmars-d mailing list