错误:在'('标记之前的预期unqualified-id

时间:2016-02-01 07:56:16

标签: c++ boost boost-geometry

In file included from /Boost/Implementation/boost_1_59_0/include/boost/geometry/core/radian_access.hpp:33:0,
                 from /Boost/Implementation/boost_1_59_0/include/boost/geometry/geometry.hpp:43,
                 from /../../abc.h:11,
                 from /../../xyz.cpp:9:
/Boost/Implementation/boost_1_59_0/include/boost/geometry/util/math.hpp: In static member function 'static bool boost::geometry::math::detail::equals<Type, true>::apply(const Type&, const Type&, const Policy&)':
/Boost/Implementation/boost_1_59_0/include/boost/geometry/util/math.hpp:166:26: error: expected unqualified-id before '(' token
/Boost/Implementation/boost_1_59_0/include/boost/geometry/util/math.hpp:166:54: error: expected unqualified-id before '(' token

错误发生在math.hpp文件代码下面的infine调用中。

 if (boost::math::isfinite(a) && boost::math::isfinite(b))

0 个答案:

没有答案