|
Boost : |
From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2003-02-02 09:09:09
Alisdair Meredith wrote:
> OTOH, maybe someone more familiar with stream implementations can take
> it from here and provide the rest of the solution?
Scratch theat, I had missed the '!' when adding the borland case.
tuple_io.hpp (from line 439)
#if defined (BOOST_NO_STD_LOCALE)
const bool is_delimiter = !isspace(d);
#elif defined ( __BORLANDC__ )
const bool !is_delimiter = std::use_facet< std::ctype< char >
>(is.getloc() ).is( std::ctype_base::space, d);
#else
const bool is_delimiter = (!std::isspace(d, is.getloc()) );
#endif
This passes all tests.
-- AlisdairM
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk