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(...);
}}

Reply via email to