Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A template function that writes a string into the output stream.
template<class CharType, class Traits, class Allocator>
   basic_ostream<CharType, Traits>& operator<<(
      basic_ostream<CharType, Traits>& _Ostr,
      const basic_string<CharType, Traits, Allocator>& _Str
);
Parameters
- _Ostr 
 The output stream being written to.
- _Str 
 The string to be entered into the output stream.
Return Value
Writes the value of the specified string to the output stream _Ostr.
Remarks
The template function overloads operator<< to insert an object _Str of template class basic_string into the stream _Ostr. The function effectively returns _Ostr.write( _Str.c_str, _Str.size).
Requirements
Header: <string>
Namespace: std