January 18, 2013
if a function's argument is const ref, what would be the problem of allowing it to to be passed const ref lvalues + rvalues?
January 18, 2013
>  Not to bring back something that might be considered closed, But is auto ref going to be allowed for non-template functions in an upcoming version? There's plenty of times I'd like to use ref when possible but don't want to write a forwarding function converting non-ref to ref.

The pull is still there
(https://github.com/D-Programming-Language/dmd/pull/1019) but as
I'm asking here:
http://forum.dlang.org/thread/hlyospppnjiziyokfvdd@forum.dlang.org#post-pvwbojrtygwrxxviwarv:40forum.dlang.org
an official statement would be pleasant.
January 21, 2013
No response probably means "you get no official statement"? ;)
Next ›   Last »
1 2 3 4
Top | Discussion index | About this forum | D home