class bitset::reference {
friend class bitset;
reference(); // no public constructor
public:
~reference();
operator bool() const; // convert to bool
reference& operator= (bool x); // assign bool
reference& operator= (const reference& x); // assign bit
reference& flip(); // flip bit value
bool operator~() const; // return inverse value
}
|