Possible way to achieve lazy loading with const objects
Jonathan M Davis
jmdavisProg at gmx.com
Thu Sep 29 11:45:19 PDT 2011
On Thursday, September 29, 2011 10:48 Peter Alexander wrote:
> On 29/09/11 12:33 PM, Steven Schveighoffer wrote:
> > On Wed, 28 Sep 2011 19:21:33 -0400, Peter Alexander
> >> Andrei says that it will (in a way) be both, so I'm happy with that.
> >
> > I haven't seen that statement.
>
> I can't find it, but he said that there will be two versions: a const
> version and a non-const version. By default, the non-const version will
> forward to the const version, so you only have to implement one.
https://github.com/D-Programming-Language/phobos/pull/262
- Jonathan M Davis
More information about the Digitalmars-d
mailing list