cpp/utility/bitset/operator ltltgtgt2

Inserts or extracts a bitset from a character stream.

@1@ Writes the bitset to the character stream  as if by first converting it to a  using to_string, and then writing it into  using the  (which is a  for strings). The characters to use for ones and zeroes are obtained from the currently-imbued locale by calling with  and  as arguments.

@2@ Behaves as a. After constructing and checking the sentry object, which may skip leading whitespace, extracts up to characters from  and stores the characters in the bitset.

Characters are extracted until either
 * characters have been read,
 * end-of-file occurs in, or
 * the next character is neither nor.

If and no characters are extracted,  is called.

Return value
@1@ @2@