81 typedef std::string::value_type char_t;
82 typedef std::ctype<char_t> facet_type;
83 const facet_type& facet = std::use_facet<facet_type> (std::locale ());
85 const std::string::size_type len = s.size ();
87 for (std::string::size_type k = 0; k < len; ++k) {
88 s_uc[k] = facet.toupper (s[k]);