Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/geometry/index/detail/meta.hpp @ 40:a7005ff33d3c
OS/X build fixes
author | Chris Cannam |
---|---|
date | Thu, 07 Aug 2014 08:17:36 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line source
// Boost.Geometry Index // // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. // // 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) #include <boost/range.hpp> #include <boost/mpl/aux_/has_type.hpp> #include <boost/mpl/if.hpp> #include <boost/mpl/and.hpp> //#include <boost/type_traits/is_convertible.hpp> #ifndef BOOST_GEOMETRY_INDEX_DETAIL_META_HPP #define BOOST_GEOMETRY_INDEX_DETAIL_META_HPP namespace boost { namespace geometry { namespace index { namespace detail { template <typename T> struct is_range : ::boost::mpl::aux::has_type< ::boost::range_iterator<T> > {}; //template <typename T, typename V, bool IsRange> //struct is_range_of_convertible_values_impl // : ::boost::is_convertible<typename ::boost::range_value<T>::type, V> //{}; // //template <typename T, typename V> //struct is_range_of_convertible_values_impl<T, V, false> // : ::boost::mpl::bool_<false> //{}; // //template <typename T, typename V> //struct is_range_of_convertible_values // : is_range_of_convertible_values_impl<T, V, is_range<T>::value> //{}; }}}} // namespace boost::geometry::index::detail #endif // BOOST_GEOMETRY_INDEX_DETAIL_META_HPP