
29 May
2008
29 May
'08
1:47 p.m.
To answer your question with a question: What actual date/time do you think a default-constructed date_time should be, and by what time interval should ++ increment it? To me it seems that any answers to these two questions must be completely arbitrary, in which case I'd question the usefulness of defining them. While I understand your initial distaste for the idea, a singular value actually seems like a pretty good way out. I haven't looked at your interval library (although I probably will, it sounds interesting), but one idea for using it with date_time might be to wrap date_time objects in a class of your own, which defines its own "big bang" time and default increment interval, e.g. 1 second. Colin