class ToUpper { public: ToUpper(const std::locale&); char operator()(char c) const { return m_ct.toupper(c); }