Files
cppdraft_translate/cppdraft/indirectcallable/traits.md
2025-10-25 03:02:53 +03:00

845 B

[indirectcallable.traits]

24 Iterators library [iterators]

24.3 Iterator requirements [iterator.requirements]

24.3.6 Indirect callable requirements [indirectcallable]

24.3.6.2 Indirect callable traits [indirectcallable.traits]

1

#

To implement algorithms taking projections, it is necessary to determine the projected type of an iterator's value type.

For the exposition-only alias template indirect-value-t,indirect-value-t denotes

invoke_result_t<Proj&, indirect-value-t> if T names projected<I, Proj>, and

iter_value_t& otherwise.