Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-09-04 18:57:12


Philip Miller <pwmiller_at_[hidden]> wrote:
> Jeff Garland wrote:

>> I believe that Dave is asking for a non-explicit constructor for
>> ptime from date. But he is also using an expression template extension
>> to allow the 1/Jan/1970 to compile.
>
> I have grown to dislike non-explicit constructors,

Why?

> so I like the current
> interface. I also greatly prefer the syntax of date(1970,1,1) to 1/Jan/1970.

No problem, you can have either or both.

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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