Struct common_type< chrono::time_point< Clock, Duration1 >, chrono::time_point< Clock, Duration2 > >

Synopsis

#include <include/EASTL/chrono.h>

template <typename Clock, typename Duration1, typename Duration2>
struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>

Description

time_point common_type specialization

Source

Lines 686-690 in include/EASTL/chrono.h.

template <typename Clock, typename Duration1, typename Duration2>
struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>
{
    typedef chrono::time_point<Clock, typename eastl::common_type<Duration1, Duration2>::type> type;
};





Add Discussion as Guest

Log in