DIP10005: Dependency-Carrying Declarations is now available for community feedback
Daniel N via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 3 03:58:18 PST 2017
On Tuesday, 3 January 2017 at 10:18:57 UTC, Daniel N wrote:
> static if(is(isArray(...)))
> {
> import std.range : join;
> join(...);
> }
PS Actually double {} is needed for the 'alternate' style to be
meaningful, preventing the import from bleeding into the outer
scope.
static if(isArray(...))
{{
import std.range : join;
join(...);
}}
More information about the Digitalmars-d
mailing list