operator<<

Inserts characters from a string object from into a output stream.

  template <class charT, class traits, class Allocator>

  basic_ostream<charT, traits>& operator<<

  (basic_ostream<charT, traits>& os,

  const basic_string <charT,traits,Allocator>& str);