Finding out about D - 102
Jarrett Billingsley
jarrett.billingsley at gmail.com
Mon May 11 14:56:48 PDT 2009
On Mon, May 11, 2009 at 1:48 PM, Steve Teale
<steve.teale at britseyeview.com> wrote:
> Then I chase a bug in my program, which compiled OK. After some time, I realize that
>
> A ntl = nameTooLong[whatever.whatever];
>
> is doing a copy, which is not what I was thinking about at all - old C++ habits.
Um, C++ works exactly the same way, if you're using classes/structs by value.
More information about the Digitalmars-d-learn
mailing list