const references in C++ and D
Steven Schveighoffer
schveiguy at yahoo.com
Thu Jun 3 07:19:46 PDT 2010
On Thu, 03 Jun 2010 09:47:19 -0400, Kagamin <spam at here.lot> wrote:
> Steven Schveighoffer Wrote:
>
>> But Andrei feels very strongly that passing temporaries via const ref
>> is a
>> complete mess in C++, so you'll have to convince him.
>
> If the issue is not performance, it shouldn't be mentioned from the
> start.
*My* issue is not performance. Andrei's is.
I just want something that works. Andrei doesn't want to add some feature
that he thinks is a failure in C++.
I'm speaking too much for Andrei here, but I think this is the way he
feels.
-Steve
More information about the Digitalmars-d-learn
mailing list