Trouble creating bidirectional range

monarch_dodra monarchdodra at gmail.com
Sun Sep 29 23:28:18 PDT 2013


On Monday, 30 September 2013 at 06:24:22 UTC, Martin Drasar wrote:
> On 29.9.2013 23:19, Timon Gehr wrote:
>> Mark 'save' with @property and it will work.
>
> Well, d'oh! It really works now, thanks Timon. And the 
> documentation
> does not call it as a function anywhere. But... having save a 
> property
> seems counterintuitive, at least on semantic level.
>
> Martin

Too late to change it now, but agreed.

The new property rules mean you can easily make it a non-property 
and break nothing, but calling save with parrens in generic code 
will not be possible.


More information about the Digitalmars-d-learn mailing list