Boost logo

Boost Users :

Subject: [Boost-users] boost::date input facet
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-12-07 04:48:27

I have a txt file with a 1st column as a date and a 2nd column as data.
I am trying to read this file into a STL sequence.

The format of the date varies.
Is there a utility function to try different(all) dates formats until it
finds a valid date when it attempts to read that 1st column?

Or should I just construct a list of possible date_input_facets and try each
of them until >> succeeds?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at