Overloaded extractor for stream input operations.
template <class charT, class traits, class Allocator> basic_istream<charT,traits>& operator>> (basic_istream<charT,traits>& is, basic_string<charT,traits,Allocator>& str);
Characters are extracted and appended until n characters are stored or end-of-file occurs on the input sequence;