Note that testsuite/22_locale/ctype.cc Has the exact construct described in your email, due to the previous bugs surrounding mask: int mask (); #include <locale> Current gcc's (todays, for instance) don't have problems with this... -benjamin