]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/util/bare_type.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / util / bare_type.hpp
index 26dd94a8ae90572b1ef130b9ef61810cf3613e79..3fce1cdd880d127e9180c600584b465ff496614e 100644 (file)
@@ -4,9 +4,8 @@
 // Copyright (c) 2012 Bruno Lalande, Paris, France.
 // Copyright (c) 2012 Mateusz Loskot, London, UK.
 
-// This file was modified by Oracle on 2014.
-// Modifications copyright (c) 2014 Oracle and/or its affiliates.
-
+// This file was modified by Oracle on 2014-2020.
+// Modifications copyright (c) 2014-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_UTIL_BARE_TYPE_HPP
 
 
-#include <boost/type_traits/remove_const.hpp>
-#include <boost/type_traits/remove_pointer.hpp>
-#include <boost/type_traits/remove_reference.hpp>
-
-
-namespace boost { namespace geometry
-{
-
-namespace util
-{
-
-template <typename T>
-struct bare_type
-{
-    typedef typename boost::remove_const
-        <
-            typename boost::remove_pointer
-                <
-                    typename boost::remove_reference
-                        <
-                            T
-                        >::type
-                >::type
-        >::type type;
-};
-
-
-} // namespace util
+#include <boost/config/header_deprecated.hpp>
+BOOST_HEADER_DEPRECATED("<boost/geometry/util/type_traits.hpp>")
 
-}} // namespace boost::geometry
+#include <boost/geometry/util/type_traits.hpp>
 
 
 #endif // BOOST_GEOMETRY_UTIL_BARE_TYPE_HPP