template <typename Type>
class Equatable
Defined at line 80 of file ../../third_party/openthread/src/core/common/equatable.hpp
Defines overloads of operators `==` and `!=`.
The `==` implementation simply compares all the bytes of two `Type` instances to be equal (using `memcmp()`).
Users of this class should follow CRTP-style inheritance, i.e., the `Type` class itself should publicly inherit
from `Equatable
<Type
>`.
Public Methods
bool operator== (const Type & aOther)
Overloads operator `==` to evaluate whether or not two instances of `Type` are equal.
Parameters
aOther [in] The other `Type` instance to compare with.
Defined at line 93 of file ../../third_party/openthread/src/core/common/equatable.hpp
bool operator!= (const Type & aOther)
Overloads operator `!=` to evaluate whether or not two instances of `Type` are equal.
Parameters
aOther [in] The other `Type` instance to compare with.
Defined at line 106 of file ../../third_party/openthread/src/core/common/equatable.hpp