Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

operator!= Operator (STL)

Inequality operator for duration or time_point objects.

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

The right duration or time_point object.

Each function returns !(Left == Right).

Header: chrono

Namespace: std::chrono

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.