Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINLINE PString & PString::operator= ( char  ch  ) 

Assign the character to the current object. The current instance then becomes a unique reference to a copy of the character parameter. eg: {verbatim} myStr = 'A'; {verbatim}

Returns:
reference to the current PString object.
Parameters:
ch  Character to assign.

Reimplemented in PHTML, PCaselessString, and PStringStream.

Definition at line 255 of file contain.inl.

References PString().

  { AssignContents(PString(ch)); return *this; }


Generated by  Doxygen 1.6.0   Back to index