annotate DEPENDENCIES/generic/include/boost/geometry/geometries/adapted/boost_range/uniqued.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Boost.Geometry (aka GGL, Generic Geometry Library)
Chris@16 2
Chris@16 3 // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands.
Chris@16 4
Chris@16 5 // Use, modification and distribution is subject to the Boost Software License,
Chris@16 6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 7 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 8
Chris@16 9 #ifndef BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
Chris@16 10 #define BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
Chris@16 11
Chris@16 12
Chris@16 13 #include <boost/range/adaptor/uniqued.hpp>
Chris@16 14
Chris@16 15 #include <boost/geometry/core/tag.hpp>
Chris@16 16 #include <boost/geometry/core/tags.hpp>
Chris@16 17
Chris@16 18
Chris@16 19 namespace boost { namespace geometry
Chris@16 20 {
Chris@16 21
Chris@16 22 namespace traits
Chris@16 23 {
Chris@16 24
Chris@16 25 template<typename Geometry>
Chris@16 26 #if BOOST_VERSION > 104500
Chris@16 27 struct tag<boost::uniqued_range<Geometry> >
Chris@16 28 #else
Chris@16 29 struct tag<boost::range_detail::unique_range<Geometry> >
Chris@16 30 #endif
Chris@16 31 {
Chris@16 32 typedef typename geometry::tag<Geometry>::type type;
Chris@16 33 };
Chris@16 34
Chris@16 35 }
Chris@16 36
Chris@16 37 }} // namespace boost::geometry
Chris@16 38
Chris@16 39 #endif // BOOST_GEOMETRY_GEOMETRIES_ADAPTED_BOOST_RANGE_UNIQUED_HPP
Chris@16 40