...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::value_initialized
// In header: <boost/utility/value_init.hpp> template<typename T> class value_initialized { public: // construct/copy/destruct value_initialized(); // public member functions T const & data() const; T & data(); void swap(value_initialized &); operator T const &() const; operator T &(); };
value_initialized
public member functionsT const & data() const;
T & data();
void swap(value_initialized & arg);
operator T const &() const;
operator T &();