Time to kill T() as (sometimes) working T.init alias ?

Mehrdad wfunction at hotmail.com
Sun Dec 9 20:12:17 PST 2012


On Monday, 10 December 2012 at 03:53:04 UTC, Walter Bright wrote:
> I do not dispute that deep copy is commonly used in C++. I 
> challenge the idea that it is a good design pattern, i.e. 
> better than using copy-on-write.




Ignoring the design issue, it's plain faster -- for COW you have 
to perform checks on every call.


More information about the Digitalmars-d mailing list