https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65322
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #4) > Just use m_counter( b ? 1u : 0u ) or m_counter{ short(b ? 1u : 0u) } Oops, the second one should be m_counter{ (unsigned short)(b ? 1u : 0u) }