3 This file is part of libmspio
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
18 M_RDWR = M_READ|M_WRITE,
23 inline Mode operator|(Mode m, Mode n)
24 { return Mode(static_cast<int>(m)|static_cast<int>(n)); }
26 inline Mode operator&(Mode m, Mode n)
27 { return Mode(static_cast<int>(m)&static_cast<int>(n)); }
29 inline Mode operator~(Mode m)
30 { return Mode(~static_cast<int>(m)); }