File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2948
2948
\tcode {m} be a value of type \tcode {size_type} or \tcode {const size_type}
2949
2949
equal to \tcode {n}.
2950
2950
\item
2951
- $ OP $ be the expression \tcode {std::move(op)(p, m)}.
2951
+ \tcode { \placeholder {OP}} be the expression \tcode {std::move(op)(p, m)}.
2952
2952
\item
2953
- \tcode {r} = $ OP $ .
2953
+ \tcode {r} = \tcode { \placeholder {OP}} .
2954
2954
\end {itemize }
2955
2955
2956
2956
\pnum
2957
2957
\mandates
2958
- $ OP $ has an integer-like type\iref {iterator.concept.winc }.
2958
+ \tcode { \placeholder {OP}} has an integer-like type\iref {iterator.concept.winc }.
2959
2959
2960
2960
\pnum
2961
2961
\expects
2962
2962
\begin {itemize }
2963
2963
\item
2964
- $ OP $ does not throw an exception or modify \tcode {p} or \tcode {m}.
2964
+ \tcode { \placeholder {OP}} does not throw an exception or modify \tcode {p} or \tcode {m}.
2965
2965
\item
2966
2966
$ \tcode {r} \geq 0 $ .
2967
2967
\item
2968
2968
$ \tcode {r} \leq \tcode {m}$ .
2969
2969
\item
2970
- After evaluating $ OP $
2970
+ After evaluating \tcode { \placeholder {OP}}
2971
2971
there are no indeterminate values in the range \range {p}{p + r}.
2972
2972
\end {itemize }
2973
2973
2974
2974
\pnum
2975
2975
\effects
2976
- Evaluates $ OP $ ,
2976
+ Evaluates \tcode { \placeholder {OP}} ,
2977
2977
replaces the contents of \tcode {*this} with \range {p}{p + r}, and
2978
2978
invalidates all pointers and references to the range \crange {p}{p + n}.
2979
2979
2980
2980
\pnum
2981
2981
\recommended
2982
2982
Implementations should avoid unnecessary copies and allocations
2983
2983
by, for example, making \tcode {p} a pointer into internal storage and
2984
- by restoring \tcode {*(p + r)} to \tcode {charT()} after evaluating $ OP $ .
2984
+ by restoring \tcode {*(p + r)} to \tcode {charT()} after evaluating \tcode { \placeholder {OP}} .
2985
2985
\end {itemdescr }
2986
2986
2987
2987
\indexlibrarymember {capacity}{basic_string}%
You can’t perform that action at this time.
0 commit comments