operator> – operátor (STL)
Určuje, zda jeden objekt trvání nebo time_point je větší než jiný objekt duration nebo time_point.
template<class Rep1, class Period1, class Rep2, class Period2>
constexpr bool operator>(
const duration<Rep1, Period1>& Left,
const duration<Rep2, Period2>& Right);
template<class Clock, class Duration1, class Duration2>
bool operator>(
const time_point<Clock, Duration1>& Left,
const time_point<Clock, Duration2>& Right);
Parametry
Left
Levý objekt duration nebo time_point.Right
Pravý objekt duration nebo time_point.
Vrácená hodnota
Každá funkce vrátí Right < Left.
Požadavky
Záhlaví: chrono
Obor názvů: std::chrono