[PATCH] D28429: Remove the restriction of ten types on AligedCharArrayUnion

Sean Callanan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 11:41:26 PST 2017


spyffe added a comment.

In https://reviews.llvm.org/D28429#640018, @davide wrote:

> Where do you actually plan to use this? In LLVM proper or in some downstream project?


My plan was to use this to implement `std::variant` (a C++17 feature) on the cheap inside LLVM.  I mentioned wanting to implement a tagged union and Lang Hames said it would be useful in several places.  Hence the review.


https://reviews.llvm.org/D28429





More information about the llvm-commits mailing list