
31 Jan
2006
31 Jan
'06
3:06 p.m.
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