Is anyone working on a new std.variant?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Aug 31 12:37:32 PDT 2012
On 8/31/12 4:55 AM, Alex Rønne Petersen wrote:
> Hi,
>
> See title. I recently came across a bunch of pure/nothrow issues with
> std.variant and fixing them is just not possible with the current design
> (dynamic operator dispatch). I'd literally have to rewrite the whole
> thing or use some extremely dirty hacks resulting in implementation
> defined behavior. I'd rather rewrite it, but not if someone's already
> done it.
There's some pent-up work on inference of pure and nothrow for template
functions. Should such be of help?
Andrei
More information about the Digitalmars-d
mailing list