tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wcspbrk.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCHAR_WCSPBRK_HPP
4#define TETL_CWCHAR_WCSPBRK_HPP
5
8
9namespace etl {
10
15[[nodiscard]] constexpr auto wcspbrk(wchar_t* dest, wchar_t* breakset) noexcept -> wchar_t*
16{
17 return etl::detail::strpbrk_impl<wchar_t, etl::size_t>(dest, breakset);
18}
19
24[[nodiscard]] constexpr auto wcspbrk(wchar_t const* dest, wchar_t const* breakset) noexcept -> wchar_t const*
25{
26 return etl::detail::strpbrk_impl<wchar_t const, etl::size_t>(dest, breakset);
27}
28
29} // namespace etl
30#endif // TETL_CWCHAR_WCSPBRK_HPP
Definition adjacent_find.hpp:8
constexpr auto wcspbrk(wchar_t *dest, wchar_t *breakset) noexcept -> wchar_t *
Finds the first character in wide string pointed to by dest, that is also in wide string pointed to b...
Definition wcspbrk.hpp:15