09-Feb-2013 03:53, Robert пишет:
Ok. Here finally it is:

http://wiki.dlang.org/DIP26



NoUFCS for properties

Properties protect the access to a field of an entity (class/struct/module),
so they actually have to be defined within the entity they belong to, just as a 
field would.

Rubbish.

std.array:

@property auto front(T)(T[] arr)
{
        return arr[0];
}

--
Dmitry Olshansky

Reply via email to