Udostępnij za pośrednictwem


common_type Struktura

Opisuje specjalizacje szablonu common_type klasy dla wystąpień duration elementów i time_point.

Składnia

template <class Rep1, class Period1,
    class Rep2, class Period2>
struct common_type
<chrono::duration<Rep1, Period1>,
chrono::duration<Rep2, Period2>>;

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

Wymagania

Nagłówek: <chrono>

Przestrzeń nazw: std

Zobacz też

<chrono>
Odwołanie do plików nagłówka