Blog Post: Beating std::visit Without Really Trying

Dennis dkorpel at gmail.com
Sun Oct 6 08:31:20 UTC 2019


On Sunday, 6 October 2019 at 00:58:17 UTC, SrMordred wrote:
> But why if this is a final switch? (also assert(0); at the end 
> don´t help )

Because the optimization hasn't been implemented yet.
https://issues.dlang.org/show_bug.cgi?id=13169



More information about the Digitalmars-d-announce mailing list