bsl::basic_istringstream::operator>>

Right shift operators

Synopses

Declared in <bslstl_istringstream.h>

Integer arithmetic extractors

__istream_type&
operator>>(bool& __n);
» more...

Extract a boolean value from this stream.

BaseStream&
operator>>(bool& value);
» more...
__istream_type&
operator>>(double& __f);
» more...

Extract a double from this stream.

BaseStream&
operator>>(double& value);
» more...

Floating point arithmetic extractors

__istream_type&
operator>>(float& __f);
» more...

Extract a float from this stream.

BaseStream&
operator>>(float& value);
» more...
__istream_type&
operator>>(int& __n);
» more...

Extract an int from this stream.

BaseStream&
operator>>(int& value);
» more...
__istream_type&
operator>>(long& __n);
» more...

Extract a long from this stream.

BaseStream&
operator>>(long& value);
» more...
__istream_type&
operator>>(long double& __f);
» more...

Extract a long double from this stream.

BaseStream&
operator>>(long double& value);
» more...
__istream_type&
operator>>(long long& __n);
» more...

Extract a long long from this stream.

BaseStream&
operator>>(long long& value);
» more...
__istream_type&
operator>>(short& __n);
» more...

Extract a short from this stream.

BaseStream&
operator>>(short& value);
» more...
__istream_type&
operator>>(unsigned int& __n);
» more...

Extract an unsigned int from this stream.

BaseStream&
operator>>(unsigned int& value);
» more...
__istream_type&
operator>>(unsigned long& __n);
» more...

Extract an unsigned long from this stream.

BaseStream&
operator>>(unsigned long& value);
» more...
__istream_type&
operator>>(unsigned long long& __n);
» more...

Extract an unsigned long long from this stream.

BaseStream&
operator>>(unsigned long long& value);
» more...
__istream_type&
operator>>(unsigned short& __n);
» more...

Extract an unsigned short from this stream.

BaseStream&
operator>>(unsigned short& value);
» more...

Basic arithmetic extractors

__istream_type&
operator>>(void*& __p);
» more...

Extract a pointer value from this stream.

BaseStream&
operator>>(void*& value);
» more...

Extracting into another streambuf.

__istream_type&
operator>>(__streambuf_type* __sb);
» more...

Extract characters into a stream buffer until end-of-file.

BaseStream&
operator>>(std::basic_streambuf<char_type, traits_type>* streambuf);
» more...

Apply a basic_istream manipulator to this stream.

BaseStream&
operator>>(BaseStream&(* manipulator)(BaseStream&));
» more...
__istream_type&
operator>>(__ios_type&(* __pf)(__ios_type&));
» more...

Interface for manipulators.

__istream_type&
operator>>(__istream_type&(* __pf)(__istream_type&));
» more...
__istream_type&
operator>>(ios_base&(* __pf)(ios_base&));
» more...

Apply an ios_base manipulator to this stream.

BaseStream&
operator>>(ios_base&(* manipulator)(ios_base&));
» more...

Apply a basic_ios manipulator to this stream.

BaseStream&
operator>>(std::basic_ios<char_type, traits_type>&(* manipulator)(std::basic_ios<char_type, traits_type>&));
» more...

Return Value

  • *this if successful
  • a reference to this stream

Parameters

NameDescription
__nA variable of builtin integral type.
valuedestination for the extracted value
__fA variable of builtin floating point type.
__pA variable of pointer type.
__sbA pointer to a streambuf
streambufdestination stream buffer
manipulatorfunction to apply