// file : libbutl/b.ixx -*- C++ -*- // license : MIT; see accompanying LICENSE file namespace butl { // b_info_flags // inline b_info_flags operator& (b_info_flags x, b_info_flags y) { return x &= y; } inline b_info_flags operator| (b_info_flags x, b_info_flags y) { return x |= y; } inline b_info_flags operator&= (b_info_flags& x, b_info_flags y) { return x = static_cast ( static_cast (x) & static_cast (y)); } inline b_info_flags operator|= (b_info_flags& x, b_info_flags y) { return x = static_cast ( static_cast (x) | static_cast (y)); } }