$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost::trim throwing std::bad_cast exeption with custom basic_string
From: Igor R (boost.lists_at_[hidden])
Date: 2011-01-23 03:08:40
> typedef basic_string<int> ustring;
> ustring str(2,0x61);
> boost::trim(str);
>
> this is throwing an exception. I tried it with boost 1.40 and 1.42.
It doesn't throw if compiled with MSVC10.
> BTW, which version of boost you are testing on?
1.45