core
core copied to clipboard
Move `value_initialized` from Utility
The only user of that header is MPL, but it will allow to drop MPL dependence on Utility.
value_init.hpp uses TypeTraits and Core is not allowed to depend on TypeTraits.
I now remember that last time at looked at that, I came up with a way to insert the zero-initialization without using aligned storage, through a base class: https://godbolt.org/z/WMNRPc
Nice one! BCC55 is fine with that way.
See https://github.com/boostorg/utility/pull/66.