6 Apr
2015
6 Apr
'15
9:53 p.m.
Sorry for the delayed response!
On Sat, Apr 4, 2015 at 5:55 PM, Eric Niebler
To put an object into aligned storage requires placement new, which is not constexpr. Using a recursive union avoids the need for placement new.
Precisely this. Unfortunately, even with the recursive variant, you are still very limited in what you can do with a constexpr variant. -- -Matt Calabrese