News for hackers. Stuff that matters.
Re:Why C++ sucks (2016 edition) by ksherlock on Monday February 22, 2016 @09:28AM (#11150960)
It's extra work, but you could use std::aligned_union<1, std::string, std::vector<Expression>, ...> to declare space for the union and then use placement new/manual destructor calls to initialize and destroy.

There are no comments on this comment yet.