We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dffc387 commit 182764cCopy full SHA for 182764c
pack_find.hpp
@@ -39,7 +39,7 @@ namespace mlib
39
{
40
return (value_is_value<indexes, pack, value_to_find>{}() + ...);
41
}(std::make_index_sequence<sizeof...(pack)>{});
42
- if constexpr ((x == 0) && mlib::first<pack...>{}() == value_to_find)
+ if constexpr ((x == 0) && mlib::first<pack...>{}() != value_to_find)
43
44
return -1;
45
}
0 commit comments