"Jeff Garland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok, but you couldn't you just use date here?

Well, the objects I'm dealing with CAN have time-of-day information, but
mostly they do not, and this is not known until run-time. So, for the sake
of a common interface, I want to use time, but simply ignore the time-of-day
part when it is not needed.

> Interesting, you are correct it does not work.  The fact is that the time
> interface is incorrect because like date, ptime should allow special value
> construction and queries directly.  That's been on the todo list for
awhile
> now to handle this right, but the fact that this doesn't even work is not
good.

Yes the special date values don't appear to be regarded as "special" when
used with the counted representation. They just get combined into the single
counted value, and their special-ness is lost.

Chris



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to