Using in as a parameter qualifier

Shriramana Sharma samjnaa at gmail.com
Fri May 31 16:45:22 PDT 2013


On Sat, Jun 1, 2013 at 5:11 AM, Shriramana Sharma <samjnaa at gmail.com> wrote:
> So what is the syntax that accepts rvalues and yet does not make a
> copy of the input object? I mean, as Ali says OK profiling is
> preferable to find out where exactly passing by value is more
> efficient than passing by const ref, but I'd like to know anyway what
> is the syntax available for this so at least until I get my D legs, I
> can continue some of my practices from C++ without much detriment.

And again, sorry if I'm being dumb, but is the proposed inout syntax
intended to fix this problem or some other problem?
http://d.puremagic.com/issues/show_bug.cgi?id=3748 is marked as
resolved fixed from back in 2011, but if so why did DConf *this year*
have a talk on this issue?!

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


More information about the Digitalmars-d-learn mailing list