opDot == alias this?

Jonathan M Davis jmdavisProg at gmx.com
Wed Jul 18 10:35:45 PDT 2012


On Wednesday, July 18, 2012 16:58:34 Namespace wrote:
> First:
> Why is opDot not listed here:
> http://dlang.org/operatoroverloading.html ?
> How much other operators exists which are not listed there?
> 
> And:
> Is opDot the same as alias this? I think so.

opDot is going to be deprecated and really should have been already ( 
http://d.puremagic.com/issues/show_bug.cgi?id=2327 ). Don't use it. alias this 
and opDispatch give you the same thing, only better.

http://stackoverflow.com/questions/9880064/d2-what-are-semantics-of-opdot

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list