]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/algorithms/not_implemented.hpp
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / boost / boost / geometry / algorithms / not_implemented.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
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.
6
7 // This file was modified by Oracle on 2015-2020.
8 // Modifications copyright (c) 2015-2020, Oracle and/or its affiliates.
9
10 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
11 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
12
13 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
14 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
15
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)
19
20
21 #ifndef BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
22 #define BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP
23
24
25 #include <boost/geometry/core/static_assert.hpp>
26 #include <boost/geometry/core/tags.hpp>
27
28
29 namespace boost { namespace geometry
30 {
31
32
33 namespace nyi
34 {
35
36
37 struct not_implemented_tag {};
38
39 template <typename ...Terms>
40 struct not_implemented_error
41 {
42
43 #ifndef BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD
44 # define BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD false
45 #endif
46
47 BOOST_GEOMETRY_STATIC_ASSERT(
48 BOOST_GEOMETRY_IMPLEMENTATION_STATUS_BUILD,
49 "This operation is not or not yet implemented.",
50 Terms...);
51 };
52
53
54 }
55
56
57 template <typename ...Terms>
58 struct not_implemented
59 : nyi::not_implemented_tag,
60 nyi::not_implemented_error<Terms...>
61 {};
62
63
64 }} // namespace boost::geometry
65
66
67 #endif // BOOST_GEOMETRY_ALGORITHMS_NOT_IMPLEMENTED_HPP