
6 Jul
2006
6 Jul
'06
5:31 a.m.
On Jul 5, 2006, at 10:15 PM, boost-request@lists.boost.org wrote:
std::string s = get_some_utf_8_xml_data();
utf_range r = boost::find(utf_range(s), UL0x0000FEFF);
assert(*r.begin().base() == U0xEF);
Not sure why find would return a range - but so long as I can also use it with standard algorithms, and it generates efficient code I'm happy. Sean