Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::asio::wait_traits< Clock > Struct Template Reference

Wait traits suitable for use with the basic_waitable_timer class template. More...

#include <wait_traits.hpp>

Static Public Member Functions

static Clock::duration to_wait_duration (const typename Clock::duration &d)
 Convert a clock duration into a duration used for waiting. More...
 

Detailed Description

template<typename Clock>
struct boost::asio::wait_traits< Clock >

Wait traits suitable for use with the basic_waitable_timer class template.

Member Function Documentation

template<typename Clock>
static Clock::duration boost::asio::wait_traits< Clock >::to_wait_duration ( const typename Clock::duration &  d)
inlinestatic

Convert a clock duration into a duration used for waiting.

Returns
d.

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