detect implicitly convertible typeid's?
bitwise
bitwise.pvt at gmail.com
Tue Sep 26 19:44:33 UTC 2017
On Tuesday, 26 September 2017 at 19:31:56 UTC, Steven
Schveighoffer wrote:
> [...]
>
> I just recently fixed Variant so it could accept shared data
> (so you could pass shared data using std.concurrency), and part
> of that depends on the fact that I know nothing else can point
> at the data (so no locking/atomics are necessary, we know the
> actual data is not shared).
>
> I think it's very dangerous to extract a reference to the data,
> it breaks all kinds of expectations.
>
> -Steve
Ok - I guess I'll have to make a custom Box of some kind.
Or maybe...even think outside the box ;)
Thanks
More information about the Digitalmars-d-learn
mailing list