Large (>32 byte) concurrency messages
JR
zorael at gmail.com
Sat Aug 10 08:04:04 PDT 2013
On Friday, 9 August 2013 at 15:45:51 UTC, Ali Çehreli wrote:
> How about passing by-value? The following seems to work. (I
> used v2.064-devel-4203c06 but I don't know whether it is
> different on older compilers.)
>
> // Receives by value:
>
> mixin MessageReaction.Print!(IrcEvent) immEvtPtr;
>
> // Sends by value:
>
> IrcEvent e = fakeParser();
> p.send(e);
I hit http://d.puremagic.com/issues/show_bug.cgi?id=9122
(http://dpaste.dzfl.pl/d7322971 line 107), but then my compiler
is too old to include that bugfix.
>core.exception.AssertError@/usr/include/d/4.8/std/variant.d(280):
>target must be non-null
I'll look into compiling dmd.
More information about the Digitalmars-d-learn
mailing list