다음을 통해 공유


연산자 < 연산자 (STL)

하나의 여부를 결정 합니다. 기간 또는 time_point 보다 다른 개체인 duration 또는 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);

매개 변수

  • Left
    The left duration or time_point object.

  • Right
    오른쪽 duration 또는 time_point 개체입니다.

반환 값

첫 번째 함수를 반환 합니다. true 경우 간격 길이 Left 간격의 길이 보다 작은 Right.그렇지 않으면 반환 false.

두 번째 함수를 반환 합니다. true 경우 Left 앞에 Right.그렇지 않으면 반환 false.

참고 항목

참조

<chrono>