January 31, 2008 Re: opCall example | ||||
---|---|---|---|---|
| ||||
Posted in reply to Saaa | "Saaa" <empty@needmail.com> wrote in message news:fnscv9$15aa$1@digitalmars.com... > > Should I see this as the memory copy having a preference above the > opCall(S) > or, calling opCall(int) like S s=3 as being a special case? Yes and yes. In other words -- you can overload construction, but you can't overload copying. Something planned for D2 is to allow overloading copying as well. |
January 31, 2008 Re: opCall example | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | I love being right :D Thanks. > Yes and yes. In other words -- you can overload construction, but you can't overload copying. (I find this sentence a lot more useful than the explaination on the website) > > Something planned for D2 is to allow overloading copying as well. > |
Copyright © 1999-2021 by the D Language Foundation