1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
4 // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
5 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
7 // This file was modified by Oracle on 2015-2020.
8 // Modifications copyright (c) 2015-2020, Oracle and/or its affiliates.
10 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
11 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
13 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
14 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
16 // Use, modification and distribution is subject to the Boost Software License,
17 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
18 // http://www.boost.org/LICENSE_1_0.txt)
21 #ifndef BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
22 #define BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
25 #include <boost/geometry/core/static_assert.hpp>
26 #include <boost/geometry/core/tags.hpp>
29 namespace boost { namespace geometry
37 struct not_implemented_tag {};
39 template <typename ...Terms>
40 struct not_implemented_error
43 #ifndef BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD
44 # define BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD false
47 BOOST_GEOMETRY_STATIC_ASSERT(
48 BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD,
49 "This operation is not or not yet implemented.",
57 template <typename ...Terms>
58 struct not_implemented
59 : nyi::not_implemented_tag,
60 nyi::not_implemented_error<Terms...>
64 }} // namespace boost::geometry
67 #endif // BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP