File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 14678
14678
function() noexcept;
14679
14679
function(nullptr_t) noexcept;
14680
14680
function(const function&);
14681
- function(function&&);
14681
+ function(function&&) noexcept ;
14682
14682
template<class F> function(F);
14683
14683
14684
14684
function& operator=(const function&);
14800
14800
14801
14801
\indexlibrary{\idxcode{function}!constructor}%
14802
14802
\begin{itemdecl}
14803
- function(function&& f);
14803
+ function(function&& f) noexcept ;
14804
14804
\end{itemdecl}
14805
14805
14806
14806
\begin{itemdescr}
14811
14811
\tcode{f} is in a valid state with an unspecified value.
14812
14812
14813
14813
\pnum
14814
- \throws Shall not throw exceptions if \tcode{f}'s target is
14815
- a specialization of \tcode{reference_wrapper} or
14816
- a function pointer. Otherwise, may throw \tcode{bad_alloc} or
14817
- any exception thrown by the copy or move constructor
14818
- of the stored callable object.
14819
14814
\begin{note} Implementations should avoid the use of
14820
14815
dynamically allocated memory for small callable objects, for example,
14821
14816
where \tcode{f}'s target is an object holding only a pointer or reference
You can’t perform that action at this time.
0 commit comments