Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::chrono::system_clock Class Reference

#include <system_clocks.hpp>

Public Types

typedef boost::chrono::nanoseconds duration
 
typedef duration::rep rep
 
typedef duration::period period
 
typedef chrono::time_point
< system_clock
time_point
 

Static Public Member Functions

static BOOST_CHRONO_INLINE
time_point 
now () BOOST_NOEXCEPT
 
static BOOST_CHRONO_INLINE
time_point 
now (system::error_code &ec)
 
static BOOST_CHRONO_INLINE
std::time_t 
to_time_t (const time_point &t) BOOST_NOEXCEPT
 
static BOOST_CHRONO_INLINE
time_point 
from_time_t (std::time_t t) BOOST_NOEXCEPT
 

Public Attributes

BOOST_STATIC_CONSTEXPR bool is_steady = false
 

Member Typedef Documentation

Member Function Documentation

static BOOST_CHRONO_INLINE time_point boost::chrono::system_clock::from_time_t ( std::time_t  t)
static
static BOOST_CHRONO_INLINE time_point boost::chrono::system_clock::now ( )
static
static BOOST_CHRONO_INLINE time_point boost::chrono::system_clock::now ( system::error_code ec)
static
static BOOST_CHRONO_INLINE std::time_t boost::chrono::system_clock::to_time_t ( const time_point t)
static

Member Data Documentation

BOOST_STATIC_CONSTEXPR bool boost::chrono::system_clock::is_steady = false

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