12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
- #define BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
- #include <boost/geometry/core/static_assert.hpp>
- #include <boost/geometry/core/tags.hpp>
- namespace boost { namespace geometry
- {
- namespace nyi
- {
- struct not_implemented_tag {};
- template <typename ...Terms>
- struct not_implemented_error
- {
- #ifndef BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD
- # define BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD false
- #endif
- BOOST_GEOMETRY_STATIC_ASSERT(
- BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD,
- "This operation is not or not yet implemented.",
- Terms...);
- };
- }
- template <typename ...Terms>
- struct not_implemented
- : nyi::not_implemented_tag,
- nyi::not_implemented_error<Terms...>
- {};
- }}
- #endif
|