Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class template initialized

boost::initialized

Synopsis

// In header: <boost/utility/value_init.hpp>

template<typename T> 
class initialized {
public:

  // public member functions
  initialized();
  explicit initialized(T const &);
  T const & data() const;
  T & data();
  void swap(initialized &);
  operator T const &() const;
  operator T&();
};

Description

initialized public member functions

  1. initialized();
  2. explicit initialized(T const & arg);
  3. T const & data() const;
  4. T & data();
  5. void swap(initialized & arg);
  6. operator T const &() const;
  7. operator T&();

PrevUpHomeNext