123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP
- #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_NOT_HPP
- namespace boost { namespace geometry
- {
- #ifndef DOXYGEN_NO_DETAIL
- namespace detail
- {
- template <typename Policy>
- struct not_
- {
- template <typename Geometry1, typename Geometry2>
- static inline bool apply(Geometry1 const& geometry1,
- Geometry2 const& geometry2)
- {
- return ! Policy::apply(geometry1, geometry2);
- }
- template <typename Geometry1, typename Geometry2, typename Strategy>
- static inline bool apply(Geometry1 const& geometry1,
- Geometry2 const& geometry2,
- Strategy const& strategy)
- {
- return ! Policy::apply(geometry1, geometry2, strategy);
- }
- };
- }
- #endif
- }}
- #endif
|