[modularization] mpl -> utility dependency
The dependency mpl -> utility |<boost/utility/value_init.hpp>| from |<boost/mpl/for_each.hpp>||| |is there just for this line | // dwa 2002/9/10 -- make sure not to invoke undefined behavior // when we pass arg. value_initialized<arg> x; Do we really need to use this value_initialized class to ensure initialization with current compilers? Vicente
On Sunday 08 June 2014 19:51:12 Vicente J. Botet Escriba wrote:
The dependency mpl -> utility
|<boost/utility/value_init.hpp>|
from |<boost/mpl/for_each.hpp>|||
|is there just for this line
// dwa 2002/9/10 -- make sure not to invoke undefined behavior // when we pass arg. value_initialized<arg> x;
Do we really need to use this value_initialized class to ensure initialization with current compilers?
Surprisingly, even some fairly recent compilers don't implement value initialization properly. See comments in value_init.hpp and relevant macros in Boost.Config.
participants (2)
-
Andrey Semashev
-
Vicente J. Botet Escriba