temporary objects are not allowed to be pass by ref anymore
Rainer Deyke
rainerd at eldwood.com
Sun Apr 19 11:47:31 PDT 2009
Jarrett Billingsley wrote:
> Let's nip this in the bud right now. A const value type parameter
> should automatically decide whether to pass by reference or not.
Suggested change: an 'in' parameter should be either by-value or
by-reference at the compiler's discretion. There needs to be a way to
explicitly specify pass-by-value for those few cases where there is a
semantic difference between by-value and by-reference.
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list