Function eprosima::fastrtps::rtps::operator-(const SequenceNumber_t&, const SequenceNumber_t&)

Function Documentation

inline SequenceNumber_t eprosima::fastrtps::rtps::operator-(const SequenceNumber_t &minuend, const SequenceNumber_t &subtrahend) noexcept

Subtract one SequenceNumber_t to another

Parameters
  • minuend – Minuend. Has to be greater than or equal to subtrahend.

  • subtrahend – Subtrahend.

Returns

Result of the subtraction