File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 3863
3863
\tcode {p} is not a null pointer.
3864
3864
3865
3865
\pnum
3866
- \throws
3867
- The exception object to which \tcode {p} refers.
3866
+ \effects
3867
+ Let $ u$ be the exception object to which \tcode {p} refers, or
3868
+ a copy of that exception object.
3869
+ It is unspecified whether a copy is made, and
3870
+ memory for the copy is allocated in an unspecified way.
3871
+ \begin {itemize }
3872
+ \item
3873
+ If allocating memory to form $ u$ fails,
3874
+ throws an instance of \tcode {bad_alloc};
3875
+ \item
3876
+ otherwise, if copying the exception to which \tcode {p} refers
3877
+ to form $ u$ throws an exception, throws that exception;
3878
+ \item
3879
+ otherwise, throws $ u$ .
3880
+ \end {itemize }
3868
3881
\end {itemdescr }
3869
3882
3870
3883
\indexlibraryglobal {make_exception_ptr}%
You can’t perform that action at this time.
0 commit comments