Namespaces
Variants
Views
Actions

Ranges library (C++20)

From cppreference.com
< cpp
Revision as of 00:46, 11 November 2018 by T. Canens (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
Ranges library
Range adaptors
 

The ranges library provides components for dealing with ranges of elements, including a variety of view adapters.

Defined in header <ranges>
namespace std {

namespace view = ranges::view;

}

The namespace alias std::view is provided as a shorthand for std::ranges::view.

Template:cpp/range/dsc beginTemplate:cpp/range/dsc endTemplate:cpp/range/dsc rbeginTemplate:cpp/range/dsc rendTemplate:cpp/range/dsc sizeTemplate:cpp/range/dsc emptyTemplate:cpp/range/dsc dataTemplate:cpp/range/dsc iterator tTemplate:cpp/range/dsc RangeTemplate:cpp/range/dsc SizedRangeTemplate:cpp/range/dsc ViewTemplate:cpp/range/dsc InputRangeTemplate:cpp/range/dsc OutputRangeTemplate:cpp/range/dsc ForwardRangeTemplate:cpp/range/dsc BidirectionalRangeTemplate:cpp/range/dsc RandomAccessRangeTemplate:cpp/range/dsc ContiguousRangeTemplate:cpp/range/dsc CommonRangeTemplate:cpp/range/dsc ViewableRangeTemplate:cpp/range/dsc view interfaceTemplate:cpp/range/dsc subrangeTemplate:cpp/range/dsc all viewTemplate:cpp/range/dsc filter viewTemplate:cpp/range/dsc transform viewTemplate:cpp/range/dsc iota viewTemplate:cpp/range/dsc take viewTemplate:cpp/range/dsc join viewTemplate:cpp/range/dsc empty viewTemplate:cpp/range/dsc single viewTemplate:cpp/range/dsc split viewTemplate:cpp/range/dsc view countedTemplate:cpp/range/dsc common viewTemplate:cpp/range/dsc reverse view
Defined in header <ranges>
Defined in namespace std::ranges

Contents

Range access
Range primitives
Range concepts
Views