On Friday, 29 May 2015 at 13:12:58 UTC, IgorStepanov wrote:
Thanks, but unfortunately, writing enhacement request to
bugzilla is equals to writing to /dev/null :)
No it's not, it keeps us from rediscussing the same stuff over
and over.
I'll create a DIP about this, when I'll have a free time.
As the amount of DIPs grows, DIPs become the new ER.
The problem is that this enhancement is of low priority and there
is nothing you can do to change that, except for making a
convincing case and a backward compatible implementation.
What do you want about this syntax? Maybe you may suggest a
better solution?
A separate opIndexCreate might be better, b/c it allows you to
have a ref return for one and an rvalue return for the other
function. It also allows to use those operands as polymorphic
functions in classes.