[Boost-users] boost::trim throwing std::bad_cast exeption with custom basic_string