std::common_type(std::chrono::time_point) (3) - Linux Manuals
std::common_type(std::chrono::time_point): std::common_type(std::chrono::time_point)
Command to display std::common_type(std::chrono::time_point)
manual in Linux: $ man 3 std::common_type(std::chrono::time_point)
NAME
std::common_type(std::chrono::time_point) - std::common_type(std::chrono::time_point)
Synopsis
template <class Clock, class Duration1, class Duration2>
struct common_type<std::chrono::time_point<Clock, Duration1>,
std::chrono::time_point<Clock, Duration2>> { (since C++11)
typedef std::chrono::time_point<
Clock, typename std::common_type<Duration1, Duration2>::type> type;
};
Exposes the type named type, which is the common type of two std::chrono::time_points.
Notes
The common type of two std::chrono::time_point types is a std::chrono::time_point with the same clock as the two types and the std::common_type of their durations.
Example
This section is incomplete
Reason: no example
See also
common_type determines the common type of a group of types
(class template)
(C++11)
Pages related to std::common_type(std::chrono::time_point)
- std::common_type(std::chrono::duration) (3) - std::common_type(std::chrono::duration)
- std::common_type (3) - std::common_type
- std::common_comparison_category (3) - std::common_comparison_category
- std::common_reference (3) - std::common_reference
- std::comp_ellint_1,std::comp_ellint_1f,std::comp_ellint_1l (3) - std::comp_ellint_1,std::comp_ellint_1f,std::comp_ellint_1l
- std::comp_ellint_2,std::comp_ellint_2f,std::comp_ellint_2l (3) - std::comp_ellint_2,std::comp_ellint_2f,std::comp_ellint_2l
- std::comp_ellint_3,std::comp_ellint_3f,std::comp_ellint_3l (3) - std::comp_ellint_3,std::comp_ellint_3f,std::comp_ellint_3l
- std::compare_3way (3) - std::compare_3way
- std::complex (3) - std::complex
- std::complex<T>::complex (3) - std::complex<T>::complex
- std::complex<T>::imag (3) - std::complex<T>::imag
- std::complex<T>::operator+(unary),operator-(unary) (3) - std::complex<T>::operator+(unary),operator-(unary)