Blog Post: Beating std::visit Without Really Trying

Dennis dkorpel at
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.

More information about the Digitalmars-d-announce mailing list