tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wmemmove.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCHAR_WMEMMOVE_HPP
4#define TETL_CWCHAR_WMEMMOVE_HPP
5
8
9namespace etl {
10
23constexpr auto wmemmove(wchar_t* dest, wchar_t const* src, etl::size_t count) noexcept -> wchar_t*
24{
25#if defined(__clang__)
26 return __builtin_wmemmove(dest, src, count);
27#else
28 return etl::detail::memmove<wchar_t, etl::size_t>(dest, src, count);
29#endif
30}
31} // namespace etl
32#endif // TETL_CWCHAR_WMEMMOVE_HPP
constexpr auto count(InputIt first, InputIt last, T const &value) -> typename iterator_traits< InputIt >::difference_type
Returns the number of elements in the range [first, last) satisfying specific criteria....
Definition count.hpp:21
Definition adjacent_find.hpp:8
constexpr auto wmemmove(wchar_t *dest, wchar_t const *src, etl::size_t count) noexcept -> wchar_t *
Copies exactly count successive wide characters from the wide character array pointed to by src to th...
Definition wmemmove.hpp:23
TETL_BUILTIN_SIZET size_t
etl::size_t is the unsigned integer type of the result of the sizeof operator.
Definition size_t.hpp:14