const(Object)ref is here!
Jason House
jason.james.house at gmail.com
Wed Dec 8 16:19:09 PST 2010
Michel Fortin Wrote:
> On 2010-12-08 17:26:02 -0500, Walter Bright <newshound2 at digitalmars.com> said:
>
> > Michel Fortin wrote:
> >> That said, what's a "tail const function"?
> >
> > applying tail const to a function type
>
> You mean as the return type? I'll add a unit test for that. But on the
> whole, I'd be very surprised to find problems in the list of things you
> mentioned given how the patch works.
He might mean functions and delegates... A rebindable function pointer, etc...
He might also mean a member function that is "const ref". If I understand your design, I don't those are allowed.
More information about the Digitalmars-d
mailing list