Thanks for the thought though.
Re: Postblit not invokable with MyStruct(MyStruct()); ?
Mark Isaacson via Digitalmars-d-learn Fri, 02 May 2014 16:51:07 -0700
@bearophile - Unless I'm missing something, alas, no. Neither A
nor B is a subtype of the other. In particular, in the real code
one is a CartesianVector and the other a PolarVector. For what
it's worth, 'foo' is actually opBinary addition.
- Postblit not invokable with MyStruct... Mark Isaacson via Digitalmars-d-learn
- Re: Postblit not invokable with... Mark Isaacson via Digitalmars-d-learn
- Re: Postblit not invokable ... bearophile via Digitalmars-d-learn
- Re: Postblit not invoka... Mark Isaacson via Digitalmars-d-learn
- Re: Postblit not invokable with... Artur Skawina via Digitalmars-d-learn
- Re: Postblit not invokable with... Mark Isaacson via Digitalmars-d-learn