tetl
0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wcscmp.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSL-1.0
2
3
#ifndef TETL_CWCHAR_WCSCMP_HPP
4
#define TETL_CWCHAR_WCSCMP_HPP
5
6
#include <
etl/_strings/cstr.hpp
>
7
8
namespace
etl
{
17
[[nodiscard]]
constexpr
auto
wcscmp
(
wchar_t
const
* lhs,
wchar_t
const
* rhs) ->
int
18
{
19
return
etl::detail::strcmp<wchar_t>(lhs, rhs);
20
}
21
}
// namespace etl
22
#endif
// TETL_CWCHAR_WCSCMP_HPP
cstr.hpp
etl
Definition
adjacent_find.hpp:8
etl::wcscmp
constexpr auto wcscmp(wchar_t const *lhs, wchar_t const *rhs) -> int
Compares two null-terminated wide strings lexicographically.
Definition
wcscmp.hpp:17
include
etl
_cwchar
wcscmp.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0