services.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Boost.Geometry
  2. // Copyright (c) 2020, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Adam Wulkiewicz, 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_STRATEGIES_INDEX_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_INDEX_SERVICES_HPP
  8. #include <boost/geometry/core/cs.hpp>
  9. #include <boost/geometry/core/static_assert.hpp>
  10. namespace boost { namespace geometry
  11. {
  12. namespace strategies { namespace index { namespace services
  13. {
  14. template
  15. <
  16. typename Geometry,
  17. typename CSTag = typename geometry::cs_tag<Geometry>::type
  18. >
  19. struct default_strategy
  20. {
  21. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  22. "Not implemented for this coordinate system.",
  23. Geometry, CSTag);
  24. };
  25. template <typename Strategy>
  26. struct strategy_converter
  27. {
  28. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  29. "Not implemented for this Strategy.",
  30. Strategy);
  31. };
  32. }}} // namespace strategy::index::services
  33. }} // namespace boost::geometry
  34. #endif // BOOST_GEOMETRY_STRATEGIES_INDEX_SERVICES_HPP