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