
18 Nov
2004
18 Nov
'04
12:30 a.m.
Hi All,
I've noticed a problem when trying to use ptime with, for example, STL containers and algorithms: the lack of a default constructor for ptime means a lot of the STL container methods just dont work. [snip]
There is a default constructor in the 1.32 release (should be any minute now) that constructs to not_a_date_time. You should be able to trivially patch your current installation with this change if you don't want to upgrade.
Jeff
Thanks Jeff! I'll patch it myself until I upgrade. Just thought I should check to see if I was missing something obvious :) BTW - thanks for boost::date_time - it has become absolutely invaluable to me over recent times. Great work. Cheers, Stuart