49 typedef std::string::value_type char_t;
50 typedef std::ctype<char_t> facet_type;
51 const facet_type& facet = std::use_facet<facet_type> (std::locale ());
53 const std::string::size_type len = s.size ();
55 for (std::string::size_type k = 0; k < len; ++k) {
56 s_uc[k] = facet.toupper (s[k]);