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
7
8namespace 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
Definition adjacent_find.hpp:8
constexpr auto wcscmp(wchar_t const *lhs, wchar_t const *rhs) -> int
Compares two null-terminated wide strings lexicographically.
Definition wcscmp.hpp:17