Char Assignment

Web Site  Methods

 
Char::operator =
 

const Char& operator= (STRACHAR source)
const Char& operator= (STRWCHAR source)

STRWCHAR form available only on platforms supporting Unicode

Assigns a new character to the Char object.

If the character being assigned is not of the right encoding (e.g. assigning a Unicode character when the library was built in ANSI mode), a conversion will automatically occur.

 

Important: When using Borland C++ Builder, the Char class is named StrChar to avoid a collision with a standard Borland VCL datatype

 

 
Char::Set
 

void Char::Set (STRACHAR source)
void Char::Set (STRWCHAR source)

STRWCHAR form available only on platforms supporting Unicode

Assign a new character to the Char object.  Equivalent to operator = .

 

See also: Char class