forked from boostorg/core
Add sv_find_first_of_test
This commit is contained in:
1 parent
95e64ef71f
commit
09870f0739
3 files changed
+163
-1
No files matched your search
@@ -563,7 +563,7 @@ public:
|
||||
|
||||
BOOST_CONSTEXPR bool contains( Ch c ) const BOOST_NOEXCEPT
|
||||
{
|
||||
return traits_type::find( data(), size(), c ) == 0;
|
||||
return traits_type::find( data(), size(), c ) != 0;
|
||||
}
|
||||
|
||||
BOOST_CONSTEXPR bool contains( Ch const* s ) const BOOST_NOEXCEPT
|
||||
|
||||
Reference in new issue
Block a user