confused with some_var.dup

Tim M a at b.com
Thu Jan 15 23:48:18 PST 2009


On Fri, 16 Jan 2009 20:30:53 +1300, Qian Xu <quian.xu at stud.tu-ilmenau.de>  
wrote:

> When shall I use some_var.dup and when not?
> Is there any guidlines?
>
> --Qian


Yeah when you want one to be different than the other. If the lvalue is a  
slice then there is no need though.


More information about the Digitalmars-d-learn mailing list