Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::chrono::detail::duration_cast< FromDuration, ToDuration > Struct Template Reference

#include <duration.hpp>

Public Types

typedef ratio_divide< typename
FromDuration::period, typename
ToDuration::period >::type 
Period
 
typedef duration_cast_aux
< FromDuration, ToDuration,
Period, Period::num==1,
Period::den==1 > 
Aux
 

Public Member Functions

BOOST_CONSTEXPR ToDuration operator() (const FromDuration &fd) const
 

Member Typedef Documentation

template<class FromDuration , class ToDuration >
typedef duration_cast_aux< FromDuration, ToDuration, Period, Period::num == 1, Period::den == 1 > boost::chrono::detail::duration_cast< FromDuration, ToDuration >::Aux
template<class FromDuration , class ToDuration >
typedef ratio_divide<typename FromDuration::period, typename ToDuration::period>::type boost::chrono::detail::duration_cast< FromDuration, ToDuration >::Period

Member Function Documentation

template<class FromDuration , class ToDuration >
BOOST_CONSTEXPR ToDuration boost::chrono::detail::duration_cast< FromDuration, ToDuration >::operator() ( const FromDuration &  fd) const
inline

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