22 Aug
2007
22 Aug
'07
11:12 p.m.
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