tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wcsstr.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_CWCHAR_WCSSTR_HPP
4
#define TETL_CWCHAR_WCSSTR_HPP
5
6
#include <
etl/_strings/cstr.hpp
>
7
8
namespace
etl
{
9
15
[[nodiscard]]
constexpr
auto
wcsstr
(
wchar_t
* haystack,
wchar_t
* needle)
noexcept
->
wchar_t
*
16
{
17
return
etl::detail::strstr_impl<wchar_t>(haystack, needle);
18
}
19
25
[[nodiscard]]
constexpr
auto
wcsstr
(
wchar_t
const
* haystack,
wchar_t
const
* needle)
noexcept
->
wchar_t
const
*
26
{
27
return
etl::detail::strstr_impl<wchar_t const>(haystack, needle);
28
}
29
}
// namespace etl
30
#endif
// TETL_CWCHAR_WCSSTR_HPP
cstr.hpp
etl
Definition
adjacent_find.hpp:8
etl::wcsstr
constexpr auto wcsstr(wchar_t *haystack, wchar_t *needle) noexcept -> wchar_t *
Finds the first occurrence of the wide string needle in the wide string pointed to by haystack....
Definition
wcsstr.hpp:15
include
etl
_cwchar
wcsstr.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0