UFCS in template function

Jacob Carlborg doob at me.com
Thu Aug 29 23:31:41 PDT 2013


On 2013-08-29 22:02, Andrej Mitrovic wrote:

> However it does work for local imports (I think this was new in 2.063):
>
> void main()
> {
>      import std.range;
>      assert([].empty);  // ok
> }
>

"empty" is declared at module scope.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list