File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 2512
2512
\indexlibraryglobal {projected}%
2513
2513
\begin {codeblock }
2514
2514
namespace std {
2515
- template<@\libconcept {indirectly_readable}@ I, @\libconcept {indirectly_regular_unary_invocable}@<I> Proj>
2516
- struct projected {
2517
- using value_type = remove_cvref_t<indirect_result_t<Proj&, I>>;
2518
- indirect_result_t<Proj&, I> operator*() const; // \notdef
2515
+ template<class I, class Proj>
2516
+ struct @\exposidnc {projected-impl}@ { // \expos
2517
+ struct @\exposidnc {type}@ { // \expos
2518
+ using value_type = remove_cvref_t<indirect_result_t<Proj&, I>>;
2519
+ using difference_type = iter_difference_t<I>; // present only if \tcode {I}
2520
+ // models \libconcept {weakly_incrementable}
2521
+ indirect_result_t<Proj&, I> operator*() const; // \notdef
2522
+ };
2519
2523
};
2520
2524
2521
- template<@\libconcept {weakly_incrementable}@ I, class Proj>
2522
- struct incrementable_traits<projected<I, Proj>> {
2523
- using difference_type = iter_difference_t<I>;
2524
- };
2525
+ template<@\libconcept {indirectly_readable}@ I, @\libconcept {indirectly_regular_unary_invocable}@<I> Proj>
2526
+ using projected = @\exposid {projected-impl}@<I, Proj>::@\exposid {type}@;
2525
2527
}
2526
2528
\end {codeblock }
2527
2529
You can’t perform that action at this time.
0 commit comments