Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::promise< void > Class Template Reference

#include <future.hpp>

Public Member Functions

 promise ()
 
 ~promise ()
 
 promise (BOOST_THREAD_RV_REF(promise) rhs) BOOST_NOEXCEPT
 
promiseoperator= (BOOST_THREAD_RV_REF(promise) rhs) BOOST_NOEXCEPT
 
void swap (promise &other)
 
unique_future< void > get_future ()
 
void set_value ()
 
void set_exception (boost::exception_ptr p)
 
template<typename E >
void set_exception (E ex)
 
void set_value_at_thread_exit ()
 
void set_exception_at_thread_exit (exception_ptr e)
 
template<typename E >
void set_exception_at_thread_exit (E ex)
 
template<typename F >
void set_wait_callback (F f)
 

Constructor & Destructor Documentation

boost::promise< void >::promise ( )
inline
boost::promise< void >::~promise ( )
inline

References boost::lock().

boost::promise< void >::promise ( BOOST_THREAD_RV_REF(promise< void >)  rhs)
inline

Member Function Documentation

promise& boost::promise< void >::operator= ( BOOST_THREAD_RV_REF(promise< void >)  rhs)
inline
void boost::promise< void >::set_exception ( boost::exception_ptr  p)
inline
template<typename E >
void boost::promise< void >::set_exception ( E  ex)
inline
void boost::promise< void >::set_exception_at_thread_exit ( exception_ptr  e)
inline
template<typename E >
void boost::promise< void >::set_exception_at_thread_exit ( E  ex)
inline
void boost::promise< void >::set_value ( )
inline
void boost::promise< void >::set_value_at_thread_exit ( )
inline
template<typename F >
void boost::promise< void >::set_wait_callback ( f)
inline
void boost::promise< void >::swap ( promise< void > &  other)
inline

The documentation for this class was generated from the following file: