Open Kojoley opened 4 years ago
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.
The only user of that header is MPL, but it will allow to drop MPL dependence on Utility.