Boost logo

Boost :

From: Kostya Altukhov (kostya_at_[hidden])
Date: 2002-04-25 06:41:35

Mark Rodgers wrote:

>Why not a time_put/strftime pattern string?
>os << date::set_format( "%B %d,%Y %w %H:%M%:%S" ) << adate;
I second this. Then there should be similar mechanism to read
a date from stream according to the pattern string. Something
similar to strptime function many implementations provide.

In my own home-made date class, I have 'Unformat' function
that does just that. But it's not based on streams, it works with

Best regards,

Boost list run by bdawes at, gregod at, cpdaniel at, john at