sending shared pointer to struct. message type mismatch
jacob via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Apr 21 10:47:50 PDT 2016
On Thursday, 21 April 2016 at 17:33:32 UTC, ag0aep6g wrote:
> On 21.04.2016 19:10, jacob wrote:
> I was going to suggest either sending a `shared(TS*)` or
> receiving a `shared(T)*`. But it looks like you can't send a
> shared pointer. When I tried, it got turned into a
> unshared-pointer-to-shared on the way.
Oh that tricky "shared" keyword... Thank you!
http://pastebin.com/YkZ3YzKG fixed version here
More information about the Digitalmars-d-learn
mailing list