14 M_RDWR = M_READ|M_WRITE,
19 inline Mode operator|(Mode m, Mode n)
20 { return Mode(static_cast<int>(m)|static_cast<int>(n)); }
22 inline Mode operator&(Mode m, Mode n)
23 { return Mode(static_cast<int>(m)&static_cast<int>(n)); }
25 inline Mode operator~(Mode m)
26 { return Mode(~static_cast<int>(m)); }
29 class invalid_access: public std::logic_error
33 ~invalid_access() throw() { }