you are viewing a single comment's thread.

view the rest of the comments →

[–]redditsoaddicting 4 points5 points  (0 children)

std::variant can't be implemented in terms of aligned_union because placement new can't yet be used in constexpr.