00001 00033 #include <itpp/base/binary.h> 00034 #include <iostream> 00035 00036 00037 namespace itpp { 00038 00039 std::ostream &operator<<(std::ostream &output, const bin &inbin) 00040 { 00041 output << static_cast<int>(inbin); 00042 return output; 00043 } 00044 00045 std::istream &operator>>(std::istream &input, bin &outbin) 00046 { 00047 int tmp; 00048 input >> tmp; 00049 outbin = tmp; 00050 return input; 00051 } 00052 00053 } // namespace itpp
Generated on Fri Jan 11 08:51:36 2008 for IT++ by Doxygen 1.3.9.1