On 15/12/2016 3:16 AM, Andrei Alexandrescu wrote:
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

Like this?

import(my.mod).Type!argsT value;

Or?

import(my.mod).Type!argsT func(import(my.mod).Type!argsT arg) {

}

Reply via email to