Boost logo

Boost :

Subject: [boost] boost::locale throw exception std::bad_cast
From: Alex Ivanov (handler_at_[hidden])
Date: 2012-06-30 23:46:52


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 2.6.34.9-69.fc13.x86_64 (gcc version 4.8.0 ) Linux fedora 2.6.34.7-66.fc13.x86_64 (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 http://goo.gl/1qLK1


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk