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
6
#include <
etl/_cstddef/size_t.hpp
>
7
#include <
etl/_strings/cstr.hpp
>
8
9
namespace
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
cstr.hpp
etl::strpbrk
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
etl
Definition
adjacent_find.hpp:8
size_t.hpp
include
etl
_cstring
strpbrk.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0