Boost logo

Boost :

From: Sohail Somani (sohail_at_[hidden])
Date: 2008-05-29 10:23:29


Colin Caughie wrote:
> 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.
>

Some date libraries consider default constructed dates to mean "today".
JavaScript for example.

-- 
Sohail Somani
http://uint32t.blogspot.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk