GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::char_traits::copy(3) C++ Standard Libary std::char_traits::copy(3)

std::char_traits::copy - std::char_traits::copy


static char_type* copy( char_type* dest, const char_type* src, (until C++20)
std::size_t count );
static constexpr char_type* copy( char_type* dest, const char_type* (since C++20)
src, std::size_t count );


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


Formally, for each i in [0, count), performs assign(src[i], dest[i]).


The behavior is undefined if copied character ranges overlap, i.e. src is in [dest,
dest + count).


dest - pointer to a character string to copy to
src - pointer to a character string to copy from
count - the number of characters to copy


dest


Throws nothing.


Linear.


assign assigns a character
[static] (public static member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.