Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/diplib/library/image_views.h
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ bool operator==( Image::Pixel const& lhs, T const& rhs ) { return operator==( lh

/// \brief Comparison operator, equivalent to `!(lhs==rhs)`.
/// \relates dip::Image::Pixel
DIP_EXPORT inline bool operator!=( Image::Pixel const& lhs, Image::Pixel const& rhs ) { return !( lhs == rhs ); }
template< typename T, typename = std::enable_if_t< IsNumericType< T >::value >>
bool operator!=( Image::Pixel const& lhs, T const& rhs ) { return !operator==( lhs, rhs ); }

Expand Down
Loading