how to have alias this with an unaccessible member?

Timothee Cour thelastmammoth at gmail.com
Wed May 22 13:47:17 PDT 2013


at least 'delete' is in the deprecated table (marked as will be deprecated
some time in the future)
so should opDot then.

On Wed, May 22, 2013 at 11:34 AM, Jonathan M Davis <jmdavisProg at gmx.com>wrote:

> On Wednesday, May 22, 2013 18:18:34 timotheecour wrote:
> > On Sunday, 19 May 2013 at 14:33:32 UTC, Ali Çehreli wrote:
> > > On 05/19/2013 05:34 AM, Simen Kjaeraas wrote:
> > >> Well, there is also opDot:
> > > What is the state of opDot? According to the change log, it has
> > > been introduced as a part of "Version D 2.013 Apr 22, 2008"
> > > with the note "Added opDot, which is experimental only."
> > >
> > > I will keep assuming that opDot does not exist. :) (However, it
> > > is being used by Unique an Ref in std.typecons.)
> > >
> > > Ali
> >
> > is there anything you can do with opDot that you can't with alias
> > this?
> >
> > (aside from the ability to hide the member as being private, as
> > raised in the OP; its a bit broken as mentioned 1 post above)
> >
> > if not, it should deprecate.
>
> opDot is definitely supposed to be deprecated:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=2327
>
> but Daniel Murphy seems to have missed it on his list
> (http://dlang.org/deprecate.html), and it hasn't actually been deprecated
> yet
> (but then again, even delet hasn't been deprecated yet, so that just goes
> to
> show how slow we are to deprecate language features that are definitely
> supposed to get the axe).
>
> - Jonathan M Davis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130522/ac79b1fd/attachment.html>


More information about the Digitalmars-d-learn mailing list