From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2007-08-22 19:12:53


Hi!

Frame Buffer schrieb:
> void lexical_castable::print_( std::ostream& o ) const
> {
> o << s_ <<"\n";
> }

This newline here makes the cast fail because the lexical_cast requires
the target type to consume all characters. But a newline does not help
making an int. Remove the newline to make the cast work.

Frank