tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
wcscpy.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCHAR_WCSCPY_HPP
4#define TETL_CWCHAR_WCSCPY_HPP
5
9
10namespace etl {
11
19constexpr auto wcscpy(wchar_t* dest, wchar_t const* src) -> wchar_t*
20{
21 TETL_PRECONDITION(dest != nullptr);
22 TETL_PRECONDITION(src != nullptr);
23 return etl::detail::strcpy(dest, src);
24}
25
26} // namespace etl
27#endif // TETL_CWCHAR_WCSCPY_HPP
#define TETL_PRECONDITION(...)
Definition check.hpp:16
Definition adjacent_find.hpp:8
constexpr auto wcscpy(wchar_t *dest, wchar_t const *src) -> wchar_t *
Copies the wide string pointed to by src (including the terminating null wide character) to wide char...
Definition wcscpy.hpp:19