std.gregorian
Walter Bright
newshound1 at digitalmars.com
Mon May 3 10:46:12 PDT 2010
Steven Schveighoffer wrote:
> FWIW, I have used boost date_time in the past, but I didn't really like
> it. Particularly the part where every unit is its own type (dunno, that
> may have changed, it was several years ago that I used it). If we could
> try to combine these types together, I think it would be beneficial.
I haven't looked at that Boost package, but the idea behind that is if month and
year have different types, bugs where a year value is mistaken for a month can
be headed off at compile time. There's some modern thought that this is a good
style for programming. We'll see how it pans out.
More information about the Digitalmars-d
mailing list