diff options
Diffstat (limited to 'boost/geometry/arithmetic/arithmetic.hpp')
-rw-r--r-- | boost/geometry/arithmetic/arithmetic.hpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/boost/geometry/arithmetic/arithmetic.hpp b/boost/geometry/arithmetic/arithmetic.hpp index fbc3ca443e..3ab66b27f5 100644 --- a/boost/geometry/arithmetic/arithmetic.hpp +++ b/boost/geometry/arithmetic/arithmetic.hpp @@ -139,7 +139,7 @@ struct point_assignment template <typename Point> inline void add_value(Point& p, typename detail::param<Point>::type value) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); for_each_coordinate(p, detail::value_operation @@ -162,8 +162,8 @@ inline void add_value(Point& p, typename detail::param<Point>::type value) template <typename Point1, typename Point2> inline void add_point(Point1& p1, Point2 const& p2) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point1>) ); - BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); + BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point2>) ); for_each_coordinate(p1, detail::point_operation<Point2, std::plus>(p2)); } @@ -179,7 +179,7 @@ inline void add_point(Point1& p1, Point2 const& p2) template <typename Point> inline void subtract_value(Point& p, typename detail::param<Point>::type value) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); for_each_coordinate(p, detail::value_operation @@ -202,8 +202,8 @@ inline void subtract_value(Point& p, typename detail::param<Point>::type value) template <typename Point1, typename Point2> inline void subtract_point(Point1& p1, Point2 const& p2) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point1>) ); - BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); + BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point2>) ); for_each_coordinate(p1, detail::point_operation<Point2, std::minus>(p2)); } @@ -219,7 +219,7 @@ inline void subtract_point(Point1& p1, Point2 const& p2) template <typename Point> inline void multiply_value(Point& p, typename detail::param<Point>::type value) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); for_each_coordinate(p, detail::value_operation @@ -243,8 +243,8 @@ inline void multiply_value(Point& p, typename detail::param<Point>::type value) template <typename Point1, typename Point2> inline void multiply_point(Point1& p1, Point2 const& p2) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point1>) ); - BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); + BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point2>) ); for_each_coordinate(p1, detail::point_operation<Point2, std::multiplies>(p2)); } @@ -260,7 +260,7 @@ inline void multiply_point(Point1& p1, Point2 const& p2) template <typename Point> inline void divide_value(Point& p, typename detail::param<Point>::type value) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); for_each_coordinate(p, detail::value_operation @@ -283,8 +283,8 @@ inline void divide_value(Point& p, typename detail::param<Point>::type value) template <typename Point1, typename Point2> inline void divide_point(Point1& p1, Point2 const& p2) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point1>) ); - BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); + BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point2>) ); for_each_coordinate(p1, detail::point_operation<Point2, std::divides>(p2)); } @@ -300,7 +300,7 @@ inline void divide_point(Point1& p1, Point2 const& p2) template <typename Point> inline void assign_value(Point& p, typename detail::param<Point>::type value) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); for_each_coordinate(p, detail::value_assignment @@ -322,8 +322,8 @@ inline void assign_value(Point& p, typename detail::param<Point>::type value) template <typename Point1, typename Point2> inline void assign_point(Point1& p1, Point2 const& p2) { - BOOST_CONCEPT_ASSERT( (concept::Point<Point1>) ); - BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) ); + BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); + BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point2>) ); for_each_coordinate(p1, detail::point_assignment<Point2>(p2)); } |