Eggs.Variant - Part II (the constexpr experience)--K-ballo

Save to:
Instapaper Pocket Readability

A link to make type-safe unions:

Eggs.Variant - Part II (the constexpr experience)

by K-ballo

From the article:

Ruminations on the development of Eggs.Variant, a C++11/14 generic, type-safe, discriminated union. Part I explored a straightforward implementation based on untyped raw storage appropriate to hold any of the variant members. It was noted, however, that such an implementation would never be constexpr-aware. It's time to throw it away and start from scratch in order to properly support constexpr...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.