tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wcschr.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_CWCHAR_WCSCHR_HPP
4
#define TETL_CWCHAR_WCSCHR_HPP
5
6
#include <
etl/_strings/cstr.hpp
>
7
8
namespace
etl
{
13
[[nodiscard]]
constexpr
auto
wcschr
(
wchar_t
* str,
int
ch) ->
wchar_t
* {
return
etl::detail::strchr<wchar_t>(str, ch); }
14
19
[[nodiscard]]
constexpr
auto
wcschr
(
wchar_t
const
* str,
int
ch) ->
wchar_t
const
*
20
{
21
return
etl::detail::strchr<wchar_t const>(str, ch);
22
}
23
}
// namespace etl
24
#endif
// TETL_CWCHAR_WCSCHR_HPP
cstr.hpp
etl
Definition
adjacent_find.hpp:8
etl::wcschr
constexpr auto wcschr(wchar_t *str, int ch) -> wchar_t *
Finds the first occurrence of the wide character ch in the wide string pointed to by str.
Definition
wcschr.hpp:13
include
etl
_cwchar
wcschr.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0