is_simple.hpp 868 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2014, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
  4. // Licensed under the Boost Software License version 1.0.
  5. // http://www.boost.org/users/license.html
  6. #ifndef BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_SIMPLE_HPP
  7. #define BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_SIMPLE_HPP
  8. #include <boost/geometry/core/tag.hpp>
  9. #include <boost/geometry/algorithms/not_implemented.hpp>
  10. namespace boost { namespace geometry
  11. {
  12. #ifndef DOXYGEN_NO_DISPATCH
  13. namespace dispatch
  14. {
  15. template <typename Geometry, typename Tag = typename tag<Geometry>::type>
  16. struct is_simple
  17. : not_implemented<Geometry>
  18. {};
  19. } // namespace dispatch
  20. #endif // DOXYGEN_NO_DISPATCH
  21. }} // namespace boost::geometry
  22. #endif // BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_SIMPLE_HPP