My Project
mask.cc
Go to the documentation of this file.
1 #include "osl/bits/mask.h"
2 #include <iostream>
3 #include <iomanip>
4 
5 namespace osl
6 {
7  static_assert(sizeof(mask_t) == 8, "64bit");
8 }
9 
10 std::ostream& osl::misc::operator<<(std::ostream& os,const osl::mask_t& mask)
11 {
12  return os << "mask(0x" << std::setbase(16) <<
13  mask.value() << std::setbase(10) << ')';
14 }
15 // ;;; Local Variables:
16 // ;;; mode:c++
17 // ;;; c-basic-offset:2
18 // ;;; End:
19 
GeneralMask< mask_int_t > mask_t
Definition: mask.h:351
const GeneralMask< Integer > operator<<(GeneralMask< Integer > m, int shift)
Definition: mask.h:337