std::experimental::ranges::projected
From cppreference.com
< cpp | experimental | ranges
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
Ranges
Iterators library
| Iterator concepts | ||||||
| Indirect callable concepts | ||||||
| Common algorithm requirements | ||||||
| Concept utilities | ||||||
| ||||||
| Iterator utilities and operations | ||||||
| Iterator traits | ||||||
| Iterator adaptors | ||||||
| Stream iterators | ||||||
| Defined in header <experimental/ranges/iterator>
|
||
| template< Readable I, IndirectRegularUnaryInvocable<I> Proj > struct projected { |
(ranges TS) | |
The class template projected bundles a Readable type I and a function Proj into a new Readable type whose reference type is the result of applying Proj to the reference type of I. It exists solely to ease constraint specification, and so its operator*() may not be actually defined.