Boost.UnicodeIterator

utf8_decode_range

前回のはイテレータを直接使っているので見づらいです それらをboost::iterator_rangeを使ってRangeにしました・・・ダウンロード []#include[] []<fstream>[] []#include[] []<iterator>[] []#include[] []<string>[] []#include[] []<boost/cstdint.hpp>[]</boost/cstdint.hpp></string></iterator></fstream>

Boost.UnicodeIterator

Boost.Regexにこっそりあるのを発見 utf8_codecvt_facetというのもあるらしい 以下、UTF-8のxmlファイルからコメントを抽出するコード ところで、をインクルードすると、std::equalがstd::mismatchを'std::'を付けずに呼び出している(実装がある)ので、それ…