Has anyone actually read the DIP? Simply don't call it property. On Sat, 2013-02-09 at 08:45 +0100, FG wrote: > On 2013-02-09 08:19, Dmitry Olshansky wrote: > >> 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]; > > } > > > > Yeah, banning UFCS for properties is too farfetched.
- Re: DIP26: properties defined Tove
- Re: DIP26: properties defined Jacob Carlborg
- Re: DIP26: properties defined Robert
- Re: DIP26: properties defined Jacob Carlborg
- Re: DIP26: properties defined Michel Fortin
- Re: DIP26: properties defined Rob T
- Re: DIP26: properties defined Dmitry Olshansky
- Re: DIP26: properties defined FG
- Re: DIP26: properties defined Rob T
- Re: DIP26: properties defined Robert
- Re: DIP26: properties defined FG
- Re: DIP26: properties defined deadalnix
- Re: DIP26: properties defined Michael
- Re: DIP26: properties defined Steven Schveighoffer