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

Namespaces

 chrono_detail
 
 detail
 

Classes

struct  clock_string
 
struct  clock_string< system_clock, CharT >
 
class  duration
 
class  duration_fmt
 duration parameterized manipulator. More...
 
class  duration_get
 duration_get is used to parse a character sequence, extracting components of a duration into a class duration. More...
 
class  duration_punct
 
class  duration_put
 
struct  duration_style_io_saver
 duration_style i/o saver. More...
 
class  duration_units
 duration_units facet gives useful information about the duration units, as the number of plural forms, the plural form associated to a duration, the text associated to a plural form and a duration's period, More...
 
class  duration_units_default
 This class is used to define the strings for the default English. More...
 
struct  duration_values
 
class  fmt_masks
 
class  ios_flags
 This class is useful to associate some flags to an std::ios_base. More...
 
class  ios_state_not_null_ptr
 ios_state_not_null_ptr is a non null variant of ios_state_ptr. More...
 
class  ios_state_ptr
 ios_state_ptr is a smart pointer to a ios_base specific state. More...
 
class  rt_ratio
 
class  system_clock
 
struct  time_fmt_io_saver
 time_fmt_io_saver i/o saver. More...
 
class  time_point
 
class  time_point_get
 
class  time_point_put
 
class  time_point_units
 time_point_units facet gives useful information about the time_point pattern, the text associated to a time_point's epoch, More...
 
class  time_point_units_default
 
struct  timezone_io_saver
 timezone_io_saver i/o saver. More...
 
struct  treat_as_floating_point
 
struct  xalloc_key_initializer
 xalloc key initialiazer. More...
 

Typedefs

typedef duration
< boost::int_least64_t, nano
nanoseconds
 
typedef duration
< boost::int_least64_t, micro
microseconds
 
typedef duration
< boost::int_least64_t, milli
milliseconds
 
typedef duration
< boost::int_least64_t > 
seconds
 
typedef duration
< boost::int_least32_t, ratio< 60 > > 
minutes
 
typedef duration
< boost::int_least32_t, ratio< 3600 > > 
hours
 
typedef double fractional_seconds
 
typedef system_clock high_resolution_clock
 

Functions

template<class To , class Rep , class Period >
To ceil (const duration< Rep, Period > &d)
 rounds up More...
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type
< duration< Rep1, Period1 >
, duration< Rep2, Period2 >
>::type 
operator+ (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type
< duration< Rep1, Period1 >
, duration< Rep2, Period2 >
>::type 
operator- (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR
boost::enable_if< mpl::and_
< boost::is_convertible< Rep1,
typename common_type< Rep1,
Rep2 >::type >
, boost::is_convertible< Rep2,
typename common_type< Rep1,
Rep2 >::type > >, duration
< typename common_type< Rep1,
Rep2 >::type, Period > >::type 
operator* (const duration< Rep1, Period > &d, const Rep2 &s)
 
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR
boost::enable_if< mpl::and_
< boost::is_convertible< Rep1,
typename common_type< Rep1,
Rep2 >::type >
, boost::is_convertible< Rep2,
typename common_type< Rep1,
Rep2 >::type > >, duration
< typename common_type< Rep1,
Rep2 >::type, Period > >::type 
operator* (const Rep1 &s, const duration< Rep2, Period > &d)
 
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR
boost::disable_if
< boost::chrono::detail::is_duration
< Rep2 >, typename
boost::chrono::detail::duration_divide_result
< duration< Rep1, Period >
, Rep2 >::type >::type 
operator/ (const duration< Rep1, Period > &d, const Rep2 &s)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type
< Rep1, Rep2 >::type 
operator/ (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR
boost::disable_if
< boost::chrono::detail::is_duration
< Rep2 >, typename
boost::chrono::detail::duration_modulo_result
< duration< Rep1, Period >
, Rep2 >::type >::type 
operator% (const duration< Rep1, Period > &d, const Rep2 &s)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type
< duration< Rep1, Period1 >
, duration< Rep2, Period2 >
>::type 
operator% (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator== (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator!= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator< (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator> (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator<= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool operator>= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class ToDuration , class Rep , class Period >
BOOST_CONSTEXPR
boost::enable_if
< boost::chrono::detail::is_duration
< ToDuration >, ToDuration >
::type 
duration_cast (const duration< Rep, Period > &fd)
 
template<class To , class Rep , class Period >
To floor (const duration< Rep, Period > &d)
 rounds down More...
 
template<class CharT , class Traits , class Rep , class Period >
std::basic_ostream< CharT,
Traits > & 
operator<< (std::basic_ostream< CharT, Traits > &os, const duration< Rep, Period > &d)
 duration stream inserter More...
 
template<class CharT , class Traits , class Rep , class Period >
std::basic_istream< CharT,
Traits > & 
operator>> (std::basic_istream< CharT, Traits > &is, duration< Rep, Period > &d)
 
 BOOST_SCOPED_ENUM_DECLARE_BEGIN (duration_style)
 Scoped enumeration emulation stating whether the duration I/O style is long or short. More...
 
duration_style get_duration_style (std::ios_base &ios)
 
void set_duration_style (std::ios_base &ios, duration_style style)
 
std::ios_base & symbol_format (std::ios_base &ios)
 
std::ios_base & name_format (std::ios_base &ios)
 
timezone get_timezone (std::ios_base &ios)
 
void set_timezone (std::ios_base &ios, timezone tz)
 
std::ios_base & local_timezone (std::ios_base &ios)
 
std::ios_base & utc_timezone (std::ios_base &ios)
 
template<typename CharT >
std::basic_string< CharT > get_time_fmt (std::ios_base &ios)
 
template<typename CharT >
void set_time_fmt (std::ios_base &ios, std::basic_string< CharT > const &fmt)
 
template<class CharT >
detail::time_manip< CharT > time_fmt (timezone tz, const CharT *fmt)
 
template<class CharT >
detail::time_manip< CharT > time_fmt (timezone tz, std::basic_string< CharT > fmt)
 
detail::time_man time_fmt (timezone f)
 
template<class CharT , class Traits , class Clock , class Duration >
std::basic_ostream< CharT,
Traits > & 
operator<< (std::basic_ostream< CharT, Traits > &os, const time_point< Clock, Duration > &tp)
 
template<class CharT , class Traits , class Clock , class Duration >
std::basic_istream< CharT,
Traits > & 
operator>> (std::basic_istream< CharT, Traits > &is, time_point< Clock, Duration > &tp)
 
 BOOST_SCOPED_ENUM_DECLARE_BEGIN (timezone)
 Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local. More...
 
template<typename CharT , typename T >
std::basic_string< CharT > to_basic_string (T const &v)
 
template<typename T >
std::string to_string (T const &v)
 
template<typename T >
std::wstring to_wstring (T const &v)
 
template<class CharT , class Traits >
std::basic_ostream< CharT,
Traits > & 
duration_short (std::basic_ostream< CharT, Traits > &os)
 
template<class CharT , class Traits >
std::basic_ostream< CharT,
Traits > & 
duration_long (std::basic_ostream< CharT, Traits > &os)
 
template<class To , class Rep , class Period >
To round (const duration< Rep, Period > &d)
 rounds to nearest, to even on tie More...
 
template<class Clock , class Duration1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR time_point
< Clock, typename common_type
< Duration1, duration< Rep2,
Period2 > >::type
operator+ (const time_point< Clock, Duration1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Rep1 , class Period1 , class Clock , class Duration2 >
BOOST_CONSTEXPR time_point
< Clock, typename common_type
< duration< Rep1, Period1 >
, Duration2 >::type
operator+ (const duration< Rep1, Period1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR time_point
< Clock, typename common_type
< Duration1, duration< Rep2,
Period2 > >::type
operator- (const time_point< Clock, Duration1 > &lhs, const duration< Rep2, Period2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR common_type
< Duration1, Duration2 >::type 
operator- (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator== (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator!= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator< (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator<= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator> (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool operator>= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs)
 
template<class ToDuration , class Clock , class Duration >
BOOST_CONSTEXPR time_point
< Clock, ToDuration > 
time_point_cast (const time_point< Clock, Duration > &t)
 

Variables

class BOOST_CHRONO_DECL system_clock
 

Typedef Documentation

typedef duration<boost::int_least32_t, ratio<3600> > boost::chrono::hours
typedef duration<boost::int_least64_t, micro> boost::chrono::microseconds
typedef duration<boost::int_least64_t, milli> boost::chrono::milliseconds
typedef duration<boost::int_least32_t, ratio< 60> > boost::chrono::minutes
typedef duration<boost::int_least64_t, nano> boost::chrono::nanoseconds
typedef duration<boost::int_least64_t> boost::chrono::seconds

Function Documentation

boost::chrono::BOOST_SCOPED_ENUM_DECLARE_BEGIN ( timezone  )

Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local.

References boost::local().

boost::chrono::BOOST_SCOPED_ENUM_DECLARE_BEGIN ( duration_style  )

Scoped enumeration emulation stating whether the duration I/O style is long or short.

prefix means duration::rep with whatever stream/locale settings are set for it followed by a long name representing the unit symbol means duration::rep with whatever stream/locale settings are set for it followed by a SI unit abbreviation

References boost::spirit::x3::unicode::symbol.

template<class ToDuration , class Rep , class Period >
BOOST_CONSTEXPR boost::enable_if< boost::chrono::detail::is_duration<ToDuration>, ToDuration>::type boost::chrono::duration_cast ( const duration< Rep, Period > &  fd)
inline

Referenced by ceil(), floor(), round(), and time_point_cast().

template<class CharT , class Traits >
std::basic_ostream<CharT, Traits>& boost::chrono::duration_long ( std::basic_ostream< CharT, Traits > &  os)
template<class CharT , class Traits >
std::basic_ostream<CharT, Traits>& boost::chrono::duration_short ( std::basic_ostream< CharT, Traits > &  os)
template<class To , class Rep , class Period >
To boost::chrono::floor ( const duration< Rep, Period > &  d)

rounds down

References duration_cast(), and boost::flyweights::t.

Referenced by boost::coroutines::basic_protected_stack_allocator< traitsT >::allocate(), boost::units::BOOST_PREVENT_MACRO_SUBSTITUTION(), boost::math::detail::cos_pi_imp(), boost::math::detail::cyl_bessel_i_imp(), boost::math::detail::cyl_bessel_i_prime_imp(), boost::math::detail::cyl_bessel_j_imp(), boost::math::detail::cyl_bessel_j_prime_imp(), boost::math::detail::cyl_bessel_j_zero_imp(), boost::math::detail::cyl_bessel_k_imp(), boost::math::detail::cyl_neumann_imp(), boost::math::detail::cyl_neumann_prime_imp(), boost::math::detail::cyl_neumann_zero_imp(), boost::math::detail::digamma_imp(), boost::multiprecision::concepts::eval_floor(), boost::math::factorial(), boost::math::detail::falling_factorial_imp(), boost::math::detail::float_distance_imp(), fmod(), boost::spirit::karma::real_policies< T >::fraction_part(), boost::math::detail::gamma_imp(), boost::math::detail::gamma_incomplete_imp(), boost::random::detail::generate_canonical_impl(), boost::math::detail::hankel_imp(), boost::math::detail::ibeta_imp(), boost::gil::ifloor(), boost::numeric::interval_lib::rounded_arith_exact< T >::int_down(), boost::math::detail::is_odd(), boost::math::detail::lgamma_imp(), boost::math::median(), boost::math::mode(), boost::polygon::polygon_set_data< T >::modify_pt(), boost::numeric::Trunc< S >::nearbyint(), boost::numeric::Floor< S >::nearbyint(), boost::numeric::RoundEven< S >::nearbyint(), boost::math::tools::equal_floor::operator()(), boost::math::tools::equal_nearest_integer::operator()(), boost::random::geometric_distribution< IntType, RealType >::operator()(), boost::multiprecision::backends::tommath_int::operator=(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::operator=(), boost::multiprecision::backends::cpp_dec_float< Digits10, ExponentType, Allocator >::operator=(), boost::multiprecision::backends::gmp_int::operator=(), boost::multiprecision::backends::operator=(), boost::math::detail::quantile_imp(), boost::math::detail::round(), boost::polygon::scaling_policy< T >::round(), boost::scalable_rmat_iterator< ProcessGroup, Distribution, RandomGenerator, Graph >::scalable_rmat_iterator(), boost::math::detail::sin_pi_imp(), boost::math::detail::sinpx(), boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::str(), boost::math::detail::tgamma_delta_ratio_imp(), boost::math::detail::trunc(), and boost::math::detail::zeta_imp().

duration_style boost::chrono::get_duration_style ( std::ios_base &  ios)
inline
template<typename CharT >
std::basic_string<CharT> boost::chrono::get_time_fmt ( std::ios_base &  ios)
inline

References boost::python::ptr().

timezone boost::chrono::get_timezone ( std::ios_base &  ios)
inline
std::ios_base& boost::chrono::local_timezone ( std::ios_base &  ios)
inline
std::ios_base& boost::chrono::name_format ( std::ios_base &  ios)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator!= ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator!= ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR boost::disable_if<boost::chrono::detail::is_duration<Rep2>, typename boost::chrono::detail::duration_modulo_result< duration<Rep1, Period>, Rep2>::type >::type boost::chrono::operator% ( const duration< Rep1, Period > &  d,
const Rep2 &  s 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type<duration<Rep1, Period1>, duration<Rep2, Period2> >::type boost::chrono::operator% ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline

References count.

template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR boost::enable_if< mpl::and_ < boost::is_convertible<Rep1, typename common_type<Rep1, Rep2>::type>, boost::is_convertible<Rep2, typename common_type<Rep1, Rep2>::type> >, duration<typename common_type<Rep1, Rep2>::type, Period> >::type boost::chrono::operator* ( const duration< Rep1, Period > &  d,
const Rep2 &  s 
)
inline
template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR boost::enable_if< mpl::and_ < boost::is_convertible<Rep1, typename common_type<Rep1, Rep2>::type>, boost::is_convertible<Rep2, typename common_type<Rep1, Rep2>::type> >, duration<typename common_type<Rep1, Rep2>::type, Period> >::type boost::chrono::operator* ( const Rep1 &  s,
const duration< Rep2, Period > &  d 
)
inline

References boost::asio::s.

template<class Clock , class Duration1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR time_point< Clock, typename common_type< Duration1, duration< Rep2, Period2 > >::type > boost::chrono::operator+ ( const time_point< Clock, Duration1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Clock , class Duration2 >
BOOST_CONSTEXPR time_point< Clock, typename common_type< duration< Rep1, Period1 >, Duration2 >::type > boost::chrono::operator+ ( const duration< Rep1, Period1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type<duration<Rep1, Period1>, duration<Rep2, Period2> >::type boost::chrono::operator+ ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline

References count.

template<class Clock , class Duration1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR time_point< Clock, typename common_type< Duration1, duration< Rep2, Period2 > >::type > boost::chrono::operator- ( const time_point< Clock, Duration1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR common_type< Duration1, Duration2 >::type boost::chrono::operator- ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type<duration<Rep1, Period1>, duration<Rep2, Period2> >::type boost::chrono::operator- ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline

References count.

template<class Rep1 , class Period , class Rep2 >
BOOST_CONSTEXPR boost::disable_if<boost::chrono::detail::is_duration<Rep2>, typename boost::chrono::detail::duration_divide_result< duration<Rep1, Period>, Rep2>::type >::type boost::chrono::operator/ ( const duration< Rep1, Period > &  d,
const Rep2 &  s 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR common_type<Rep1, Rep2>::type boost::chrono::operator/ ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator< ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator< ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class CharT , class Traits , class Clock , class Duration >
std::basic_ostream< CharT, Traits > & boost::chrono::operator<< ( std::basic_ostream< CharT, Traits > &  os,
const time_point< Clock, Duration > &  tp 
)
Parameters
os
tpBehaves as a formatted output function. After constructing a sentry object, if the @ sentry converts to true, calls to facet.put(os,os,os.fill(),tp) where facet is the time_point_put<CharT> facet associated to os or a new created instance of the default time_point_put<CharT> facet.
Returns
os.

References BOOST_CATCH, BOOST_CATCH_END, BOOST_TRY, boost::regex_constants::failbit, boost::chrono::time_point_put< CharT, OutputIterator >::put(), and boost::put().

template<class CharT , class Traits , class Rep , class Period >
std::basic_ostream< CharT, Traits > & boost::chrono::operator<< ( std::basic_ostream< CharT, Traits > &  os,
const duration< Rep, Period > &  d 
)

duration stream inserter

Parameters
osthe output stream
dto value to insert
Returns
os

References BOOST_CATCH, BOOST_CATCH_END, BOOST_TRY, boost::regex_constants::failbit, boost::chrono::duration_put< CharT, OutputIterator >::put(), and boost::put().

template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator<= ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator<= ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator== ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator== ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator> ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator> ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class Clock , class Duration1 , class Duration2 >
BOOST_CONSTEXPR bool boost::chrono::operator>= ( const time_point< Clock, Duration1 > &  lhs,
const time_point< Clock, Duration2 > &  rhs 
)
inline
template<class Rep1 , class Period1 , class Rep2 , class Period2 >
BOOST_CONSTEXPR bool boost::chrono::operator>= ( const duration< Rep1, Period1 > &  lhs,
const duration< Rep2, Period2 > &  rhs 
)
inline
template<class CharT , class Traits , class Rep , class Period >
std::basic_istream< CharT, Traits > & boost::chrono::operator>> ( std::basic_istream< CharT, Traits > &  is,
duration< Rep, Period > &  d 
)
Parameters
isthe input stream
dthe duration
Returns
is

References BOOST_CATCH, BOOST_CATCH_END, BOOST_RETHROW, BOOST_TRY, and boost::regex_constants::failbit.

template<class CharT , class Traits , class Clock , class Duration >
std::basic_istream< CharT, Traits > & boost::chrono::operator>> ( std::basic_istream< CharT, Traits > &  is,
time_point< Clock, Duration > &  tp 
)
template<class To , class Rep , class Period >
To boost::chrono::round ( const duration< Rep, Period > &  d)

rounds to nearest, to even on tie

References duration_cast().

void boost::chrono::set_duration_style ( std::ios_base &  ios,
duration_style  style 
)
inline
template<typename CharT >
void boost::chrono::set_time_fmt ( std::ios_base &  ios,
std::basic_string< CharT > const &  fmt 
)
inline
std::ios_base& boost::chrono::symbol_format ( std::ios_base &  ios)
inline
template<class CharT >
detail::time_manip<CharT> boost::chrono::time_fmt ( timezone  tz,
const CharT *  fmt 
)
inline
template<class CharT >
detail::time_manip<CharT> boost::chrono::time_fmt ( timezone  tz,
std::basic_string< CharT >  fmt 
)
inline
detail::time_man boost::chrono::time_fmt ( timezone  f)
inline
template<class ToDuration , class Clock , class Duration >
BOOST_CONSTEXPR time_point< Clock, ToDuration > boost::chrono::time_point_cast ( const time_point< Clock, Duration > &  t)
inline

References duration_cast().

template<typename CharT , typename T >
std::basic_string<CharT> boost::chrono::to_basic_string ( T const &  v)
template<typename T >
std::string boost::chrono::to_string ( T const &  v)
template<typename T >
std::wstring boost::chrono::to_wstring ( T const &  v)
std::ios_base& boost::chrono::utc_timezone ( std::ios_base &  ios)
inline

Variable Documentation