Right shift operators
Synopses
Declared in <bslstl_bitset.h>
Extract a whitespace‐delimited word into a string.
template<
class CHAR_TYPE,
class CHAR_TRAITS,
class ALLOCATOR>
std::basic_istream<CHAR_TYPE, CHAR_TRAITS>&
operator>>(
std::basic_istream<CHAR_TYPE, CHAR_TRAITS>& is,
basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>& str);
Extract a bitset from the specified input stream is into x.
template<
class CHAR_TYPE,
class TRAITS,
std::size_t N>
std::basic_istream<CHAR_TYPE, TRAITS>&
operator>>(
std::basic_istream<CHAR_TYPE, TRAITS>& is,
bitset<N>& x);
Return Value
-
reference to the input stream
is -
reference to the input stream
Parameters
Name |
Description |
is |
input stream |
str |
string to read into or parse |
x |
bitset to populate from the stream |
Created with MrDocs