C++ Ranges

GPTKB entity

Statements (56)
Predicate Object
gptkbp:instanceOf C++ Standard Library feature
gptkbp:author gptkb:Eric_Niebler
gptkbp:basedOn gptkb:Range-v3_library
gptkbp:enables lazy evaluation
composable operations
pipeline syntax
gptkbp:example std::ranges::copy
std::ranges::find
std::ranges::sort
gptkbp:exampleView std::views::filter
std::views::take
std::views::transform
https://www.w3.org/2000/01/rdf-schema#label C++ Ranges
gptkbp:improves safety
expressiveness
code readability
gptkbp:introducedIn gptkb:C++20
gptkbp:mainHeader <ranges>
gptkbp:namespace std::ranges
gptkbp:partOf gptkb:C++_Standard_Library
gptkbp:provides views
range adaptors
range-based algorithms
gptkbp:relatedTo gptkb:C++_Algorithms
C++ Iterators
gptkbp:standardizedBy gptkb:ISO/IEC_JTC1/SC22/WG21
gptkbp:supports custom range types
infinite ranges
views composition
gptkbp:uses sentinels
projections
concepts
range adaptors
range utilities
range access
range algorithms
range begin
range cbegin
range cend
range common
range difference
range empty
range end
range factories
range iterator
range rbegin
range reference
range rend
range sentinel
range size
range subrange
range traits
range value
range views
gptkbp:bfsParent gptkb:C++_Standard_Library_iterators
gptkbp:bfsLayer 8