Removed some string_view dependency

This commit is contained in:
Krystian Stasiowski committed 2019-11-06 19:37:10 -05:00
1 parent 885aa38d3e
commit b8695d8644
4 files changed
+300 -141

No files matched your search

@@ -126,6 +126,20 @@ raw_to_string(CharT* last, std::size_t size, Integer i)
last, i, std::is_signed<Integer>{});
}
template<
typename Traits,
typename CharT,
typename ForwardIt>
ForwardIt
find_not_of(
ForwardIt first, ForwardIt last, const CharT* str, std::size_t n) noexcept
{
for (; first != last; ++first)
if (!Traits::find(str, n, *first))
return first;
return last;
}
} // detail
} // fixed_string
} // boost