Instantiated member variants

copy

Template: std::char_traits<T>

Specializations:
  • char
  • wchar_t
  • char8_t
  • char16_t
  • char32_t

Copies count characters from the character string pointed to by src to the character string pointed to by dest.

# Declarations

static char_type*
copy( char_type* dest, const char_type* src, std::size_t count );

(constexpr since C++20)

# Parameters

# Return value

dest

# See also