diff --git a/source/strings.tex b/source/strings.tex index 4a0bfb8102..ff905ff8d8 100644 --- a/source/strings.tex +++ b/source/strings.tex @@ -1240,7 +1240,10 @@ \indexlibrary{\idxcode{basic_string}!constructor}% \begin{itemdecl} -basic_string(const basic_string& str, size_type pos, const Allocator& a = Allocator()); +basic_string(const basic_string& str, size_type pos, + const Allocator& a = Allocator()); +basic_string(const basic_string& str, size_type pos, size_type n, + const Allocator& a = Allocator()); \end{itemdecl} \begin{itemdescr} @@ -1255,26 +1258,8 @@ Constructs an object of class \tcode{basic_string} and determines the effective length \tcode{rlen} of the initial string -value as \tcode{str.size() - pos}, -as indicated in Table~\ref{tab:strings.ctr.2}. -\end{itemdescr} - -\indexlibrary{\idxcode{basic_string}!constructor}% -\begin{itemdecl} -basic_string(const basic_string& str, size_type pos, size_type n, - const Allocator& a = Allocator()); -\end{itemdecl} - -\begin{itemdescr} -\pnum -\throws -\tcode{out_of_range} if \tcode{pos > str.size()}. - -\pnum -\effects -Constructs an object of class \tcode{basic_string} -and determines the effective length \tcode{rlen} of the initial string -value as the smaller of \tcode{n} and \tcode{str.size() - pos}, +value as \tcode{str.size() - pos} in the first form and +as the smaller of \tcode{str.size() - pos} and \tcode{n} in the second form, as indicated in Table~\ref{tab:strings.ctr.2}. \begin{libefftabvalue}