/usr/include/boost/polygon/detail
NameSizeModeActions
boolean_op.hpp175800644editdlrm
boolean_op_45.hpp576180644editdlrm
iterator_compact_to_points.hpp22800644editdlrm
iterator_geometry_to_set.hpp120820644editdlrm
iterator_points_to_compact.hpp20750644editdlrm
max_cover.hpp116360644editdlrm
minkowski.hpp49430644editdlrm
polygon_45_formation.hpp902100644editdlrm
polygon_45_set_view.hpp171250644editdlrm
polygon_45_touch.hpp92840644editdlrm
polygon_90_set_view.hpp245700644editdlrm
polygon_90_touch.hpp175170644editdlrm
polygon_arbitrary_formation.hpp1352780644editdlrm
polygon_formation.hpp879520644editdlrm
polygon_set_view.hpp89430644editdlrm
polygon_simplify.hpp39380644editdlrm
polygon_sort_adaptor.hpp21960644editdlrm
property_merge.hpp231130644editdlrm
property_merge_45.hpp63430644editdlrm
rectangle_formation.hpp122860644editdlrm
scan_arbitrary.hpp1449250644editdlrm
voronoi_ctypes.hpp172640644editdlrm
voronoi_predicates.hpp627290644editdlrm
voronoi_robust_fpt.hpp148830644editdlrm
voronoi_structures.hpp111310644editdlrm
Edit: /usr/include/boost/polygon/detail/polygon_sort_adaptor.hpp (2196B)
/* Copyright 2008 Intel Corporation Use, modification and distribution are 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_POLYGON_SORT_ADAPTOR_HPP #define BOOST_POLYGON_SORT_ADAPTOR_HPP #ifdef __ICC #pragma warning(disable:2022) #pragma warning(disable:2023) #endif #include //! @brief polygon_sort_adaptor default implementation that calls std::sort namespace boost { namespace polygon { template struct dummy_to_delay_instantiation{ typedef int unit_type; // default GTL unit }; //! @brief polygon_sort_adaptor default implementation that calls std::sort template struct polygon_sort_adaptor { //! @brief wrapper that mimics std::sort() function and takes // the same arguments template static void sort(RandomAccessIterator_Type _First, RandomAccessIterator_Type _Last) { std::sort(_First, _Last); } //! @brief wrapper that mimics std::sort() function overload and takes // the same arguments template static void sort(RandomAccessIterator_Type _First, RandomAccessIterator_Type _Last, const Pred_Type& _Comp) { std::sort(_First, _Last, _Comp); } }; //! @brief user level wrapper for sorting quantities template void polygon_sort(iter_type _b_, iter_type _e_) { polygon_sort_adaptor::unit_type>::sort(_b_, _e_); } //! @brief user level wrapper for sorting quantities that takes predicate // as additional argument template void polygon_sort(iter_type _b_, iter_type _e_, const pred_type& _pred_) { polygon_sort_adaptor::unit_type>::sort(_b_, _e_, _pred_); } } // namespace polygon } // namespace boost #endif