update boost
This commit is contained in:
@@ -54,7 +54,7 @@ struct check_base_dimension {
|
||||
/// to use the same value in multiple definitions.
|
||||
template<class Derived,
|
||||
long N
|
||||
#if !defined(BOOST_UNITS_DOXYGEN) && !defined(__BORLANDC__)
|
||||
#if !defined(BOOST_UNITS_DOXYGEN) && !defined(BOOST_BORLANDC)
|
||||
,
|
||||
class = typename detail::ordinal_has_already_been_defined<
|
||||
check_base_dimension<Derived, N>::value
|
||||
|
||||
@@ -57,7 +57,7 @@ struct check_base_unit {
|
||||
template<class Derived,
|
||||
class Dim,
|
||||
long N
|
||||
#if !defined(BOOST_UNITS_DOXYGEN) && !defined(__BORLANDC__)
|
||||
#if !defined(BOOST_UNITS_DOXYGEN) && !defined(BOOST_BORLANDC)
|
||||
,
|
||||
class = typename detail::ordinal_has_already_been_defined<
|
||||
check_base_unit<Derived, N>::value
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/serialization/nvp.hpp>
|
||||
#include <boost/core/nvp.hpp>
|
||||
|
||||
#include <boost/units/units_fwd.hpp>
|
||||
#include <boost/units/heterogeneous_system.hpp>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <boost/mpl/less.hpp>
|
||||
#include <boost/mpl/arithmetic.hpp>
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#ifdef BOOST_BORLANDC
|
||||
#include <boost/mpl/eval_if.hpp>
|
||||
#include <boost/mpl/integral_c.hpp>
|
||||
#include <boost/mpl/identity.hpp>
|
||||
@@ -65,7 +65,7 @@ Neither @c static_power nor @c static_root are defined for @c static_rational. T
|
||||
may not be floating point values, while powers and roots of rational numbers can produce floating point
|
||||
values.
|
||||
*/
|
||||
#ifdef __BORLANDC__
|
||||
#ifdef BOOST_BORLANDC
|
||||
|
||||
template<integer_type X>
|
||||
struct make_integral_c {
|
||||
@@ -190,7 +190,7 @@ value(const static_rational<N,D>&)
|
||||
|
||||
namespace mpl {
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#ifdef BOOST_BORLANDC
|
||||
|
||||
template<>
|
||||
struct plus_impl<boost::units::detail::static_rational_tag, boost::units::detail::static_rational_tag>
|
||||
|
||||
Reference in New Issue
Block a user