c++ - Why doesn't istream::operator>> have an overload that takes a char? -
has an overload which excludes both char , writes any type of variable . Why is it like this?
std :: istream and
std :: ostream < Click / code>. Numeric types, manipulator types, and buffers are defined as member functions, whereas the characteristic global work for I / O is in addition to the character-based surcharge,
std :: string and There are surcharges for different standard classes such as
std :: complex . You can also apply different surcharges to different custom classes yourself.
Comments
Post a Comment