Ticket #1920: tup.cpp

File tup.cpp, 268 bytes (added by Bryan Green <bryan.d.green@…>, 14 years ago)

example program demonstrating the bug.

Line 
1
2#include <boost/tuple/tuple.hpp>
3#include <boost/tuple/tuple_io.hpp>
4#include <boost/lexical_cast.hpp>
5#include <string>
6
7int main()
8{
9 typedef boost::tuple<int,int> point;
10 std::string s = "(1 2)";
11 point p = boost::lexical_cast<point>(s);
12 return 0;
13}
14