Ticket #1920: tuple_io.patch
File tuple_io.patch, 1020 bytes (added by , 14 years ago) |
---|
-
tuple_io.hpp
30 30 #endif 31 31 32 32 #include "boost/tuple/tuple.hpp" 33 #include "boost/io/ios_state.hpp" 33 34 34 35 // This is ugly: one should be using twoargument isspace since whitspace can 35 36 // be locale dependent, in theory at least. … … 413 414 414 415 detail::extract_and_check_delimiter(is, detail::format_info::open); 415 416 416 detail::read(is, t1); 417 { 418 io::ios_flags_saver s(is); 419 is >> std::skipws; 420 detail::read(is, t1); 421 } 417 422 418 423 detail::extract_and_check_delimiter(is, detail::format_info::close); 419 424 … … 508 513 509 514 detail::extract_and_check_delimiter(is, detail::format_info::open); 510 515 511 detail::read(is, t1); 516 { 517 io::ios_flags_saver s(is); 518 is >> std::skipws; 519 detail::read(is, t1); 520 } 512 521 513 522 detail::extract_and_check_delimiter(is, detail::format_info::close); 514 523