John Levon <[EMAIL PROTECTED]> writes: | On Sat, May 25, 2002 at 05:49:25PM +0200, Lars Gullik Bjønnes wrote: > >> Is this the obviosu thing: > | Ah CRAP. Now I remember why I have the typedef int !!! > | case 's': case 'S': | mod |= key_modifier::shift; | i += 2; | continue; | case 'c': case 'C': | mod |= key_modifier::ctrl; | i += 2; | continue; | case 'm': case 'M': | mod |= key_modifier::alt; | i += 2; > | What to do ??
write a operator|= for key_modifier::state; -- Lgb