About 59,000 results
Open links in new tab
  1. std:: reverse - cppreference.com

    Feb 9, 2025 · 1) Reverses the order of the elements in the range [first,last).

  2. std::ranges::views:: reverse, std::ranges:: reverse_view - Reference

    Mar 29, 2025 · In other words, views::reverse unwraps reversed views if possible. A reverse_view always models bidirectional_range and common_range, and it models borrowed_range, …

  3. Ranges library (since C++20) - cppreference.com

    Feb 20, 2025 · The ranges library is an extension and generalization of the algorithms and iterator libraries that makes them more powerful by making them composable and less error-prone.

  4. std::list<T,Allocator>::reverse - cppreference.com

    Nov 14, 2021 · Reverses the order of the elements in the container. No references or iterators become invalidated.

  5. std:: reverse_copy - cppreference.com

    Feb 11, 2025 · 1) Given \ (\scriptsize N\)N as std::distance(first, last). Copies the elements from the range [first,last) (source range) to another range of \ (\scriptsize N\)N elements beginning …

  6. std::ranges:: reverse - cppreference.com

    Feb 11, 2025 · reverse_copy rotate_copy unique_copy Partitioning operations is_partitioned partition_point partition partition_copy stable_partition Sorting operations is_sorted …

  7. std:: reverse_iterator - cppreference.com

    Nov 1, 2024 · std::reverse_iterator is an iterator adaptor that reverses the direction of a given iterator, which must be at least a LegacyBidirectionalIterator or model …

  8. std::make_reverse_iterator - cppreference.com

    Nov 4, 2024 · make_reverse_iterator is a convenience function template that constructs a std::reverse_iterator for the given iterator i (which must be a LegacyBidirectionalIterator) with …

  9. std::map<Key,T,Compare,Allocator>:: - Reference

    Sep 16, 2020 · Returns a reverse iterator to the first element of the reversed *this. It corresponds to the last element of the non-reversed *this. If *this is empty, the returned iterator is equal to …

  10. std::reverse_iterator<Iter>::base - cppreference.com

    Oct 30, 2024 · Notes The base iterator refers to the element that is next (from the iterator_type perspective) to the element the reverse_iterator is currently pointing to. That is &*(this->base() …