Ticket #5557: lexical_cast_72056_bug.cpp

File lexical_cast_72056_bug.cpp, 142 bytes (added by Ralf W. Grosse-Kunstleve, 11 years ago)

small reproducer

Line 
1#include <boost/lexical_cast.hpp>
2#include <iostream>
3
4int
5main()
6{
7 std::cout << boost::lexical_cast<int>("+2") << std::endl;
8 return 0;
9}