ut icon indicating copy to clipboard operation
ut copied to clipboard

type inequality operator returns true

Open willwray opened this issue 3 years ago • 0 comments

Expected Behavior

    expect( type<int> != type<int> );

Expect to evaluate false and fail

Actual Behavior

Evaluates true and passes

Steps to Reproduce the Problem

See type_<T>::operator!=()<T>

563  [[nodiscard]] constexpr auto operator!=(type_<T>) -> bool { return true; }

Looks like a cut-n-paste error, copied from operator== ?

willwray avatar Sep 01 '21 21:09 willwray