Namespaces | |
detail | |
Functions | |
template<typename RandomAccessRange > | |
boost::range_value < RandomAccessRange const > ::type const & | at (RandomAccessRange const &rng, typename boost::range_size< RandomAccessRange const >::type i) |
Short utility to conveniently return an element of a RandomAccessRange. More... | |
template<typename RandomAccessRange > | |
boost::range_value < RandomAccessRange >::type & | at (RandomAccessRange &rng, typename boost::range_size< RandomAccessRange >::type i) |
Short utility to conveniently return an element of a RandomAccessRange. More... | |
template<typename Range > | |
boost::range_value< Range > ::type const & | front (Range const &rng) |
Short utility to conveniently return the front element of a Range. More... | |
template<typename Range > | |
boost::range_value< Range >::type & | front (Range &rng) |
Short utility to conveniently return the front element of a Range. More... | |
template<typename BidirectionalRange > | |
boost::range_value < BidirectionalRange >::type const & | back (BidirectionalRange const &rng) |
Short utility to conveniently return the back element of a BidirectionalRange. More... | |
template<typename BidirectionalRange > | |
boost::range_value < BidirectionalRange >::type & | back (BidirectionalRange &rng) |
Short utility to conveniently return the back element of a BidirectionalRange. More... | |
template<typename Range > | |
void | clear (Range &rng) |
Short utility to conveniently clear a mutable range. More... | |
template<typename Range > | |
void | push_back (Range &rng, typename boost::range_value< Range >::type const &value) |
Short utility to conveniently insert a new element at the end of a mutable range. More... | |
template<typename Range > | |
void | resize (Range &rng, typename boost::range_size< Range >::type new_size) |
Short utility to conveniently resize a mutable range. More... | |
template<typename Range > | |
void | pop_back (Range &rng) |
Short utility to conveniently remove an element from the back of a mutable range. More... | |
template<typename Range > | |
boost::range_iterator< Range > ::type | erase (Range &rng, typename boost::range_iterator< Range >::type it) |
Short utility to conveniently remove an element from a mutable range. More... | |
template<typename Range > | |
boost::range_iterator< Range > ::type | erase (Range &rng, typename boost::range_iterator< Range >::type first, typename boost::range_iterator< Range >::type last) |
Short utility to conveniently remove a range of elements from a mutable range. More... | |
|
inline |
Short utility to conveniently return an element of a RandomAccessRange.
References boost::asio::begin, BOOST_ASSERT, BOOST_RANGE_CONCEPT_ASSERT, boost::multiprecision::backends::i, and boost::size().
Referenced by boost::geometry::detail::append::point_to_polygon< Polygon, Point >::apply(), boost::geometry::detail::conversion::box_to_range< Box, Ring, geometry::closure< Ring >::value==closed, geometry::point_order< Ring >::value==counterclockwise >::apply(), boost::geometry::detail::append::range_to_polygon< Polygon, Range >::apply(), and boost::geometry::detail::append::append_to_multigeometry< MultiGeometry, RangeOrPoint >::apply().
|
inline |
Short utility to conveniently return an element of a RandomAccessRange.
References boost::asio::begin, BOOST_ASSERT, BOOST_RANGE_CONCEPT_ASSERT, boost::multiprecision::backends::i, and boost::size().
|
inline |
Short utility to conveniently return the back element of a BidirectionalRange.
References BOOST_ASSERT, BOOST_RANGE_CONCEPT_ASSERT, boost::empty(), and boost::end.
Referenced by boost::geometry::detail::for_each::fe_range_per_segment_with_closure< open >::apply().
|
inline |
Short utility to conveniently return the back element of a BidirectionalRange.
References BOOST_ASSERT, BOOST_RANGE_CONCEPT_ASSERT, boost::empty(), and boost::end.
|
inline |
Short utility to conveniently clear a mutable range.
It uses traits::clear<>.
References boost::geometry::traits::clear< Range >::apply().
|
inline |
Short utility to conveniently remove an element from a mutable range.
It uses std::copy() and resize(). Version taking mutable iterators.
It uses std::copy() and resize(). Version taking non-mutable iterators.
References boost::asio::begin, BOOST_ASSERT, boost::geometry::range::detail::copy_or_move(), boost::fusion::distance(), boost::empty(), boost::end, boost::it, boost::next(), resize(), and boost::size().
|
inline |
Short utility to conveniently remove a range of elements from a mutable range.
It uses std::copy() and resize(). Version taking mutable iterators.
It uses std::copy() and resize(). Version taking non-mutable iterators.
References boost::asio::begin, BOOST_ASSERT, boost::geometry::range::detail::copy_or_move(), count, boost::fusion::distance(), boost::end, boost::xpressive::first, resize(), and boost::size().
|
inline |
Short utility to conveniently return the front element of a Range.
References boost::asio::begin, BOOST_ASSERT, and boost::empty().
Referenced by boost::geometry::detail::for_each::fe_range_per_segment_with_closure< open >::apply().
|
inline |
Short utility to conveniently return the front element of a Range.
References boost::asio::begin, BOOST_ASSERT, and boost::empty().
|
inline |
Short utility to conveniently remove an element from the back of a mutable range.
It uses resize().
References BOOST_ASSERT, boost::empty(), resize(), and boost::size().
|
inline |
Short utility to conveniently insert a new element at the end of a mutable range.
It uses boost::geometry::traits::push_back<>.
References boost::geometry::traits::push_back< Range >::apply().
|
inline |
Short utility to conveniently resize a mutable range.
It uses boost::geometry::traits::resize<>.
References boost::geometry::traits::resize< Range >::apply().
Referenced by boost::wave::util::flex_string< E, T, A, Storage >::append(), boost::compressed_sparse_row_graph< directedS, VertexProperty, EdgeProperty, GraphProperty, Vertex, EdgeIndex >::assign(), boost::compressed_sparse_row_graph< bidirectionalS, VertexProperty, EdgeProperty, GraphProperty, Vertex, EdgeIndex >::assign(), boost::wave::util::flex_string< E, T, A, Storage >::assign(), boost::wave::util::flex_string< E, T, A, Storage >::clear(), boost::compressed_sparse_row_graph< directedS, VertexProperty, EdgeProperty, GraphProperty, Vertex, EdgeIndex >::compressed_sparse_row_graph(), boost::compressed_sparse_row_graph< bidirectionalS, VertexProperty, EdgeProperty, GraphProperty, Vertex, EdgeIndex >::compressed_sparse_row_graph(), erase(), boost::wave::util::flex_string< E, T, A, Storage >::erase(), boost::re_detail::raw_storage::extend(), boost::wave::util::SmallStringOpt< Storage, threshold, Align >::operator=(), pop_back(), boost::dynamic_bitset< Block, Allocator >::push_back(), boost::wave::util::VectorStringStorage< E, A >::resize(), and boost::wave::util::flex_string< E, T, A, Storage >::resize().