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

#include <time_point.hpp>

Inheritance diagram for boost::chrono::time_point< Clock, Duration >:

Public Types

typedef Clock clock
 
typedef Duration duration
 
typedef duration::rep rep
 
typedef duration::period period
 
typedef Duration difference_type
 

Public Member Functions

BOOST_FORCEINLINE BOOST_CONSTEXPR time_point ()
 
BOOST_FORCEINLINE BOOST_CONSTEXPR time_point (const duration &d)
 
template<class Duration2 >
BOOST_FORCEINLINE BOOST_CONSTEXPR time_point (const time_point< clock, Duration2 > &t, typename boost::enable_if< boost::is_convertible< Duration2, duration > >::type *=0)
 
BOOST_CONSTEXPR duration time_since_epoch () const
 
time_pointoperator+= (const duration &d)
 
time_pointoperator-= (const duration &d)
 

Static Public Member Functions

static
BOOST_CHRONO_LIB_CONSTEXPR
time_point min 
BOOST_PREVENT_MACRO_SUBSTITUTION ()
 
static
BOOST_CHRONO_LIB_CONSTEXPR
time_point max 
BOOST_PREVENT_MACRO_SUBSTITUTION ()
 

Member Typedef Documentation

template<class Clock, class Duration>
typedef Clock boost::chrono::time_point< Clock, Duration >::clock
template<class Clock, class Duration>
typedef Duration boost::chrono::time_point< Clock, Duration >::difference_type
template<class Clock, class Duration>
typedef Duration boost::chrono::time_point< Clock, Duration >::duration
template<class Clock, class Duration>
typedef duration::period boost::chrono::time_point< Clock, Duration >::period
template<class Clock, class Duration>
typedef duration::rep boost::chrono::time_point< Clock, Duration >::rep

Constructor & Destructor Documentation

template<class Clock, class Duration>
BOOST_FORCEINLINE BOOST_CONSTEXPR boost::chrono::time_point< Clock, Duration >::time_point ( const duration d)
inlineexplicit
template<class Clock, class Duration>
template<class Duration2 >
BOOST_FORCEINLINE BOOST_CONSTEXPR boost::chrono::time_point< Clock, Duration >::time_point ( const time_point< clock, Duration2 > &  t,
typename boost::enable_if< boost::is_convertible< Duration2, duration > >::type = 0 
)
inline

Member Function Documentation

template<class Clock, class Duration>
static BOOST_CHRONO_LIB_CONSTEXPR time_point min boost::chrono::time_point< Clock, Duration >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestatic
template<class Clock, class Duration>
static BOOST_CHRONO_LIB_CONSTEXPR time_point max boost::chrono::time_point< Clock, Duration >::BOOST_PREVENT_MACRO_SUBSTITUTION ( )
inlinestatic
template<class Clock, class Duration>
time_point& boost::chrono::time_point< Clock, Duration >::operator+= ( const duration d)
inline
template<class Clock, class Duration>
time_point& boost::chrono::time_point< Clock, Duration >::operator-= ( const duration d)
inline
template<class Clock, class Duration>
BOOST_CONSTEXPR duration boost::chrono::time_point< Clock, Duration >::time_since_epoch ( ) const
inline

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