12/1/2012 8:32 AM, Walter Bright пишет:
On 11/30/2012 3:31 PM, Mehrdad wrote:
If that's the case, then we need to get rid of postblits entirely.

The only justification I've ever been able to come up with for postblits
is implementing a reference counting type.

+ copy on write
+ value semantics of typically small containers*

*Small string optimization is only useful if the type has value semantics and lives on the stack.

--
Dmitry Olshansky

Reply via email to