Boost logo

Boost Users :

From: Black Ice (yg-boost-users_at_[hidden])
Date: 2003-01-05 20:43:10


Thanks

--
/*******************/
自由(liberty)无非就是这样一种承诺:每个人将会得到一种保障,保障我们可以与
权威、多数、流俗及舆论的影响相抗衡。
/*******************/
"Martyn Lovell" <martynl_at_[hidden]> 写入消息新闻
:memo.827344_at_cix.compulink.co.uk...
> In-Reply-To: <av5tpc$fmj$1_at_[hidden]>
> Black Ice,
>
> > After I move the line 'using std namespace', the error still occurs.
> > The error occurs in file date_time/time_duration.hpp, line 66.
> >     min_type minutes() const
> >     {
> >       return std::abs(((ticks() / (60*rep_type::res_adjust())) % 60));
> >     }
>
> For VC++ 7.1, we've enabled by default conformant overloads of abs that
> were previously disabled by default. As a result, you'll need to cast the
> result of your math to a specific type to ensure you get the abs you want.
>
> Martyn Lovell
> Software Architect
> Visual C++ Team - Libraries
> email: lnytram_at_tfosorcim.moc
> [Spam-avoidance: reverse each word in the email address before use]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>

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