Terje Slettebø wrote:
From: Rozental, Gennadiy [EMAIL PROTECTED]
Even if none of the above looks sound for you I still argue that
lexical_cast *should not force* inclusion of typeinfo. It's not
inconvinience - it's showstopper. It's much more important
than providing
specific type info. In
There's absolutely no reason I can see to make the exact exception
type depend on the types concerned. Just use a straightforward
class, something along the lines of:
struct bad_lexical_cast : std::exception
{
bad_lexical_cast(
std::type_info const