Boost logo

Boost :

Subject: Re: [boost] boost::locale throw exception std::bad_cast
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2012-07-01 03:49:31

Have you compiled boost::locale with ICU? Text segmentation requires ICU support   Artyom Beilis -------------- CppCMS - C++ Web Framework: CppDB - C++ SQL Connectivity: >________________________________ > From: Alex Ivanov <handler_at_[hidden]> >To: boost_at_[hidden] >Sent: Sunday, July 1, 2012 6:46 AM >Subject: [boost] boost::locale throw exception std::bad_cast > >Here is code sample: > >boost::locale::generator gen; >std::string text="To be or not to be, that is the question." >ssegment_index map(word,text.begin(),text.end(),gen("en_US.UTF-8")); > >last line throw exception std::bad_cast >The tests was made on tthe hosts: > >Darwin mac-os 10.4.0 Darwin Kernel Version 10.4.0 (gcc version 4.2.1) >Linux fedora (gcc version 4.8.0 ) >Linux fedora (gcc version 4.4.5) >Linux debian 2.6.32-5-amd64 (gcc version 4.7.0) > >with boost_1_50_0_beta1 >How can I handle this? > >-- реклама ----------------------------------------------------------- >Распродажа % модной одежды. Скидки до 70%. Количество ограниченно! >Подробнее на сайте Bonprix > > >_______________________________________________ >Unsubscribe & other changes: > >

Boost list run by bdawes at, gregod at, cpdaniel at, john at