. , operator>> basic_istream, , sstr >> myString1, for:
else if (_Ctype_fac.is(_Ctype::space,_Traits::to_char_type(_Meta)))
break;
So, as soon as you get a "space", exit. Thus, you will not be able to add characters to yours myString1after you get space.
Please note that this is an implementation of MSVC ++, but I am sure that the equivalent that you will find in the whole implementation!
Nawaz source
share