|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2006-01-31 10:06:00
Seems to be broken on my machine:
boost::int64_t nTime = 3434;
ptime oTestTime( nTime );
will result in:
error C2664: 'boost::posix_time::ptime::ptime(boost::gregorian::date)'
: cannot convert parameter 1 from 'boost::int64_t' to
'boost::gregorian::date'
Constructor for class 'boost::gregorian::date' is declared 'explicit'
I'm using MSVC 7.1 and boost 1.33.1 .
In any event shouldn't a change of the internal representation 64bit
-> 96bit result in an compiler error, when I use "ptime(const
time_rep_type &)"?
Thanks,
Christian
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net