
<br><font size=3>The documentation for the date_time library states that
a ptime can be<br>
constructed from a special value<br>
e.g.<br>
 &nbsp; &nbsp;ptime(special_values sv)<br>
 &nbsp; &nbsp;ptime t1(neg_infin);<br>
 &nbsp; &nbsp;ptime t2(pos_infin);<br>
 &nbsp; &nbsp;ptime t3(not_a_date_time);<br>
<br>
However when I try this with the Cygwin GNU compiler I get a &nbsp;no matching<br>
function for call error (see errors below)<br>
Am I missing something here or is the documentation wrong?<br>
<br>
Thanks<br>
Matt<br>
<br>
../../logview.cpp:1843: error: no matching function for call to `<br>
 &nbsp; boost::posix_time::ptime::ptime(boost::date_time::special_values)'<br>
c:/cygwin/usr/local/include/boost-1_31/boost/date_time/posix_time/ptime.hpp:<br>
32: error: candidates<br>
 &nbsp; are: boost::posix_time::ptime::ptime(const boost::posix_time::ptime&amp;)<br>
c:/cygwin/usr/local/include/boost-1_31/boost/date_time/posix_time/ptime.hpp:<br>
45: error:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;boost::posix_time::ptime::ptime(const<br>
 &nbsp; boost::posix_time::int64_time_rep&amp;)<br>
c:/cygwin/usr/local/include/boost-1_31/boost/date_time/posix_time/ptime.hpp:<br>
42: error:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;boost::posix_time::ptime::ptime(boost::gregorian::date)<br>
c:/cygwin/usr/local/include/boost-1_31/boost/date_time/posix_time/ptime.hpp:<br>
39: error:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;boost::posix_time::ptime::ptime(boost::gregorian::date,<br>
 &nbsp; boost::posix_time::time_duration) </font>
