Compare the item's value to a constant. All comparison operators are templates and map to a corresponding call to the compare member function.
Note: All variants of this function will throw exceptions on API errors!
template <typename T> bool operator==(T const& value) const
template <typename T> bool operator!=(T const& value) const
template <typename T> bool operator> (T const& value) const
template <typename T> bool operator>=(T const& value) const
template <typename T> bool operator< (T const& value) const
template <typename T> bool operator<=(T const& value) const
value |
The value to compare the item's value with |
Boolean result of the comparison.