tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
strpbrk.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CSTRING_STRPBRK_HPP
4#define TETL_CSTRING_STRPBRK_HPP
5
8
9namespace etl {
10
13
21[[nodiscard]] constexpr auto strpbrk(char const* dest, char const* breakset) noexcept -> char const*
22{
23 return etl::detail::strpbrk_impl<char const, etl::size_t>(dest, breakset);
24}
25
26[[nodiscard]] constexpr auto strpbrk(char* dest, char* breakset) noexcept -> char*
27{
28 return etl::detail::strpbrk_impl<char, etl::size_t>(dest, breakset);
29}
30
32
33} // namespace etl
34
35#endif // TETL_CSTRING_STRPBRK_HPP
constexpr auto strpbrk(char const *dest, char const *breakset) noexcept -> char const *
Scans the null-terminated byte string pointed to by dest for any character from the null-terminated b...
Definition strpbrk.hpp:21
Definition adjacent_find.hpp:8