boost::locale::boundary::segmant_index
記号で構成される文字列の境界を分析するために使用しようとしていchar16_t
ます。ただし、コンパイル中に次のエラーが発生します (Boost 1.54、GCC 4.8.1):
invalid use of incomplete type 'const class boost::locale::boundary::boundary_indexing<char16_t>
UPD:これが例です
#include <string>
#include <boost/locale.hpp>
int main() {
std::basic_string<char16_t> s;
boost::locale::boundary::segment_index<std::basic_string<char16_t>::iterator> m(boost::locale::boundary::word, s.begin(), s.end());
}