// single-bit state and operations // #ifndef B1_H_ #define B1_H_ class B1 { private: int b; public: B1(); void print(const char msg[]) const; void X(); int M(); // NOT, measure }; #endif // B1_H_