Purity, @safety, etc., in generic code

Jakob Ovrum jakobovrum at gmail.com
Wed Feb 20 20:18:27 PST 2013


On Wednesday, 20 February 2013 at 09:44:39 UTC, deadalnix wrote:
> As of you case specifically, I wouldn't do that, because you 
> have no gain in duplicating the string in the function rather 
> than before passing it.

You should look more closely. It's not unconditionally duplicated.


More information about the Digitalmars-d mailing list