// Boost.Geometry
-// Copyright (c) 2016-2017, Oracle and/or its affiliates.
+// Copyright (c) 2016-2020, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
#define BOOST_GEOMETRY_STRATEGIES_SEGMENT_INTERSECTION_HPP
+#include <boost/geometry/core/static_assert.hpp>
#include <boost/geometry/strategies/tags.hpp>
-#include <boost/mpl/assert.hpp>
-
-
namespace boost { namespace geometry
{
template <typename CSTag, typename CalculationType = void>
struct default_strategy
{
- BOOST_MPL_ASSERT_MSG
- (
- false, NOT_IMPLEMENTED_FOR_THIS_TYPE
- , (types<CSTag>)
- );
+ BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
+ "Not implemented for this type.",
+ CSTag);
};
} // namespace services