File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1139611396 tuple_element_t<1, @\exposid{iter-value-type}@<InputIterator>>; // \expos
1139711397template<class InputIterator>
1139811398 using @\placeholder{iter-to-alloc-type}@ = pair<
11399- add_const_t< tuple_element_t<0, @\exposid{iter-value-type}@<InputIterator> >>,
11399+ const tuple_element_t<0, @\exposid{iter-value-type}@<InputIterator>>,
1140011400 tuple_element_t<1, @\exposid{iter-value-type}@<InputIterator>>>; // \expos
1140111401template<ranges::@\libconcept{input_range}@ Range>
1140211402 using @\exposid{range-key-type}@ =
1140511405 using @\exposid{range-mapped-type}@ = ranges::range_value_t<Range>::second_type; // \expos
1140611406template<ranges::@\libconcept{input_range}@ Range>
1140711407 using @\exposid{range-to-alloc-type}@ =
11408- pair<add_const_t< typename ranges::range_value_t<Range>::first_type> ,
11408+ pair<const typename ranges::range_value_t<Range>::first_type,
1140911409 typename ranges::range_value_t<Range>::second_type>; // \expos
1141011410\end{codeblock}
1141111411
Original file line number Diff line number Diff line change 576576the \oldconcept {TransformationTrait} requirements
577577with a member typedef \tcode {type} that names the following type:
578578\begin {itemize }
579- \item for the first specialization, \tcode {add_volatile_t<TE> }, and
580- \item for the second specialization, \tcode {add_cv_t<TE> }.
579+ \item for the first specialization, \tcode {volatile TE }, and
580+ \item for the second specialization, \tcode {const volatile TE }.
581581\end {itemize }
582582
583583\pnum
631631the \oldconcept {TransformationTrait} requirements
632632with a member typedef \tcode {type} that names the following type:
633633\begin {itemize }
634- \item for the first specialization, \tcode {add_volatile_t< VA::type> }, and
635- \item for the second specialization, \tcode {add_cv_t< VA::type> }.
634+ \item for the first specialization, \tcode {volatile VA::type}, and
635+ \item for the second specialization, \tcode {const volatile VA::type}.
636636\end {itemize }
637637\end {itemdescr }
638638
Original file line number Diff line number Diff line change 1260512605 class @\libglobal{scaled_accessor}@ {
1260612606 public:
1260712607 using element_type =
12608- add_const_t< decltype(declval<ScalingFactor>() * declval<NestedAccessor::element_type>())> ;
12608+ const decltype(declval<ScalingFactor>() * declval<NestedAccessor::element_type>());
1260912609 using reference = remove_const_t<element_type>;
1261012610 using data_handle_type = NestedAccessor::data_handle_type;
1261112611 using offset_policy = scaled_accessor<ScalingFactor, NestedAccessor::offset_policy>;
1277712777 class @\libglobal{conjugated_accessor}@ {
1277812778 public:
1277912779 using element_type =
12780- add_const_t< decltype(@\exposid{conj-if-needed}@(declval<NestedAccessor::element_type>()))> ;
12780+ const decltype(@\exposid{conj-if-needed}@(declval<NestedAccessor::element_type>()));
1278112781 using reference = remove_const_t<element_type>;
1278212782 using data_handle_type = NestedAccessor::data_handle_type;
1278312783 using offset_policy = conjugated_accessor<NestedAccessor::offset_policy>;
Original file line number Diff line number Diff line change 28422842\pnum
28432843Let \tcode {TE} denote \tcode {tuple_element_t<I, T>} of the cv-unqualified type \tcode {T}. Then
28442844each specialization of the template meets the \oldconcept {TransformationTrait} requirements\iref {meta.rqmts }
2845- with a member typedef \tcode {type} that names the type \tcode {add_const_t<TE> }.
2845+ with a member typedef \tcode {type} that names the type \tcode {const TE }.
28462846
28472847\pnum
28482848In addition to being available via inclusion of the \libheader {tuple} header,
65046504Let \tcode {VA} denote \tcode {variant_alternative<I, T>} of the
65056505cv-unqualified type \tcode {T}. Then each specialization of the template
65066506meets the \oldconcept {TransformationTrait} requirements\iref {meta.rqmts } with a
6507- member typedef \tcode {type} that names the type \tcode {add_const_t< VA::type> }.
6507+ member typedef \tcode {type} that names the type \tcode {const VA::type}.
65086508\end {itemdescr }
65096509
65106510\indexlibraryglobal {variant_alternative}%
You can’t perform that action at this time.
0 commit comments