Hello,
I'm wondering if it would be appropriate to treat the fundamental types
(char, short, int, double, ...) by value, by default.
I wrote this simple piece of code.
I'm not sure if I'm leaving without considering any other implication, but
I think it may be an improvement.
Please, tell me if I
On 4/9/2012 2:21 PM, Fernando Pelliccioni wrote:
> Hello,
>
> I'm wondering if it would be appropriate to treat the fundamental types
> (char, short, int, double, ...) by value, by default.
>
> I wrote this simple piece of code.
> I'm not sure if I'm leaving without considering any other implicat
On 10/04/2012 00:00, Eric Niebler wrote:
Thanks. I thought long about whether to handle the fundamental types
differently than user-defined types and decided against it. The
capture-everything-by-reference-by-default model is easy to explain and
reason about. Special cases can be handled on a per