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::assign(3) C++ Standard Libary std::char_traits::assign(3)

std::char_traits::assign - std::char_traits::assign


static void assign( char_type& r, const (until C++11)
char_type& a );
static void assign( char_type& r, const (since C++11)
char_type& a ) noexcept; (until C++17)
static constexpr void assign( char_type& r, (since C++17)
const char_type& a ) noexcept; (1)
static char_type* assign( char_type* p, (until C++20)
std::size_t count, char_type a );
static constexpr char_type* assign( char_type* (2)
p, (since C++20)
std::size_t count, char_type a );


Assigns a character.


1) Assigns character a to character r.
2) Assigns character a to each character in count characters in the character
sequence pointed to by p.


a - character value to assign
r - character to assign to
p - pointer to a character sequence to assign to
count - the length of the character sequence


1) (none)
2) p


1) Constant.
2) Linear in count

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.