std.concurrency and immutable

Dicebot public at dicebot.lv
Tue Nov 26 06:43:52 PST 2013


On Monday, 25 November 2013 at 23:00:41 UTC, Shammah Chancellor 
wrote:
> On 2013-11-25 14:08:53 +0000, Dicebot said:
>
>> Sending immutable classes currently does not work because of 
>> https://d.puremagic.com/issues/show_bug.cgi?id=7069 (and has 
>> never worked despite being intended).
>
> Can you send immutable struct references?

If you mean mutable pointer to immutable struct - yes, this 
should work (Did not try that). But any fully immutable type will 
fail because of Variant implementation issue.


More information about the Digitalmars-d-learn mailing list