Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-23 21:07:32


"Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:

> (B) I happen to have bcc5.5.1, which is not on the
> regressions list but I tested my code with it.
> It works except for one thing: borland complains
> about both a template function and a class
> named "numeric_cast".
> This is a problem introduced by "boost/mpl/numeric_cast.hpp"
> which contains a workaround to solve it,
> but that workaround was not contemplating
> BCC as a candidate, so I added
>
> || BOOST_WORKAROUND(__BORLANDC__,<=0x700)
>
> to it.
>
> Notice that I tested against the last known BCC
> version and not just the one I have.

The right way to notate that is

   BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x700))

Otherwise, nice work!!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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