38 output << static_cast<int>(inbin);
47 "bin::operator>>(): input value must be 0 or 1");
std::ostream & operator<<(std::ostream &output, const bin &inbin)
Output stream of bin.
#define it_assert(t, s)
Abort if t is not true.
Binary arithmetic (boolean) class.
std::istream & operator>>(std::istream &input, bin &outbin)
Input stream of bin.