Parameters

Right-hand side bitset object.
Both the left-hand side and right-hand sidebitset objects must have the same amount of bits (i.e., have the same class template parameter, N).

pos

Number of bit locations to be shifted.

is,os

basic_istream or basic_ostream object from which a bitset object is respectively extracted or inserted. The format in which bitsets are inserted/extracted is a sequence of (suitably widened) '0' and '1' characters.

Return value

If a reference: the left-hand side object (*this, is or os).
Otherwise: the result of the operation (either a bitset object, or true or false for the relational operators).