|
Boost Users : |
Subject: [Boost-users] boost::date input facet
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-12-07 04:48:27
Hello,
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?
Regards,
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net