On 9/23/2011 12:27 AM, Heinz Saathoff wrote:
Walter Bright wrote...
Once subtlety that Andrei and I suspect will have a huge impact in the future is
that we've carefully designed the semantics of structs so they can be moved
around in memory with a simple bitcopy.

(In contrast, C++ must invoke the copy constructor.)

Only if a user supplied constructor is defined. The compiler generated
constructor is just a bit copy and the destructor a null-operation.
The rule in C++ is that you only pay for what you use.

Yes, I understand that those operations may be trivial. On the other hand, there is no limit to their complexity.

Reply via email to