File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2940
2940
\item
2941
2941
\tcode {k} be \tcode {min(o, n)}.
2942
2942
\item
2943
- \tcode {p} be a \tcode {charT*},
2943
+ \tcode {p} be a value of type \tcode {charT*} or \tcode {charT* const },
2944
2944
such that the range \crange {p}{p + n} is valid and
2945
2945
\tcode {this->compare(0, k, p, k) == 0} is \tcode {true} before the call.
2946
2946
The values in the range \crange {p + k}{p + n} may be indeterminate\iref {basic.indet }.
2947
2947
\item
2948
- $ OP$ be the expression \tcode {std::move(op)(p, n)}.
2948
+ \tcode {m} be a value of type \tcode {size_type} or \tcode {const size_type}
2949
+ equal to \tcode {n}.
2950
+ \item
2951
+ $ OP$ be the expression \tcode {std::move(op)(p, m)}.
2949
2952
\item
2950
2953
\tcode {r} = $ OP$ .
2951
2954
\end {itemize }
2958
2961
\expects
2959
2962
\begin {itemize }
2960
2963
\item
2961
- $ OP$ does not throw an exception or modify \tcode {p} or \tcode {n }.
2964
+ $ OP$ does not throw an exception or modify \tcode {p} or \tcode {m }.
2962
2965
\item
2963
2966
$ \tcode {r} \geq 0 $ .
2964
2967
\item
2965
- $ \tcode {r} \leq \tcode {n }$ .
2968
+ $ \tcode {r} \leq \tcode {m }$ .
2966
2969
\item
2967
2970
After evaluating $ OP$
2968
2971
there are no indeterminate values in the range \range {p}{p + r}.
You can’t perform that action at this time.
0 commit comments