Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template initialized

boost::initialized

Synopsis

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

template<typename T> 
class initialized {
public:
  // construct/copy/destruct
  initialized();
  explicit initialized(T const &);

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

Description

initialized public construct/copy/destruct

  1. initialized();
  2. explicit initialized(T const & arg);

initialized public member functions

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

PrevUpHomeNext