Move Constructor Syntax

Max Samukha maxsamukha at gmail.com
Tue Oct 15 18:29:06 UTC 2024


On Tuesday, 15 October 2024 at 17:52:43 UTC, Arafel wrote:

> a move constructor invalidates the source.

Only if the source is not used after the construction/assignment. 
Otherwise, a copy is made. I'd recommend to skim through DIP1040 
if only for fun.






More information about the Digitalmars-d mailing list