Liste des Groupes | Revenir à c arch |
On 3/11/2025 5:44 PM, Lawrence D'Oliveiro wrote:C++ is for those situations where you want to write a small amount ofOn Tue, 11 Mar 2025 13:39:55 -0700, Stephen Fuld wrote:>
>On 3/11/2025 12:07 PM, moi wrote:>>>
No, it is logically a copy.
While that is true, I don't think anyone is talking about a "copy" op
code. :-) I had thought about mentioning in the software part of the
argument that COBOL actually has a "move" verb to accomplish that, i.e.
"Move A to B." even though you are technically right that it is a copy.
There is a language (C++) which has introduced reference operators that
distinguish between “move semantics” versus “copy semantics”.
>
No, I haven’t got my head around it either.
I still haven't seen any good reason to move to C++.
Les messages affichés proviennent d'usenet.