diff --git a/include/boost/geometry/util/is_implemented.hpp b/include/boost/geometry/util/is_implemented.hpp deleted file mode 100644 index bf0f3823a..000000000 --- a/include/boost/geometry/util/is_implemented.hpp +++ /dev/null @@ -1,128 +0,0 @@ -// Boost.Geometry (aka GGL, Generic Geometry Library) - -// Copyright (c) 2014 Samuel Debionne, Grenoble, France. - -// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library -// (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. - -// Use, modification and distribution is subject to the Boost Software License, -// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - - -#ifndef BOOST_GEOMETRY_UTIL_IS_IMPLEMENTED_HPP -#define BOOST_GEOMETRY_UTIL_IS_IMPLEMENTED_HPP - -#include -#include - -#include -#include - -#include -#include - -#include - - -namespace boost { namespace geometry -{ - -namespace util -{ - -namespace detail -{ - -template -struct is_implemented1 - : mpl::not_ - < - typename is_base_of - < - nyi::not_implemented_tag, - //typename mpl::apply1::type - Algorithm - >::type - > -{}; - - -template -struct is_implemented2 - : mpl::not_ - < - typename is_base_of - < - nyi::not_implemented_tag, - //typename mpl::apply2::type - Algorithm - >::type - > -{}; - - -} // namespace detail - - -/*! - \brief Meta-function to check whether two geometry types - have the same dimensions and coordinate systems - \ingroup utility -*/ -template -struct is_compatible2 - : mpl::and_ - < - typename is_same - < - typename coordinate_system::type, - typename coordinate_system::type - >::type, - typename is_same - < - typename dimension::type, - typename dimension::type - >::type - > -{}; - - -/*! - \brief Meta-function to check whether an Unary Algorithm - is implemented for the given geometry types - \ingroup utility -*/ -template -struct is_implemented1 - : mpl::and_ - < - typename detail::is_implemented1::type - > -{}; - - -/*! - \brief Meta-function to check whether an Binary Algorithm - is implemented for the given geometry types - \ingroup utility -*/ -template -struct is_implemented2 - : mpl::and_ - < - // is_compatible is necessary because of some MPL_ASSERT - // shortcuting the not_implemented class when dimension / coordinate system differs - typename is_compatible2::type, - typename detail::is_implemented2::type - > -{}; - - -} // namespace util - - -}} // namespace boost::geometry - - -#endif // BOOST_GEOMETRY_UTIL_IS_IMPLEMENTED_HPP