std::packaged_task<R(Args...)>::operator=
Min standard notice:
- Copy assignment operator is deleted, std::packaged_task is move-only.
# Declarations
packaged_task& operator=( const packaged_task& ) = delete;
(since C++11)
packaged_task& operator=( packaged_task&& rhs ) noexcept;
(since C++11)
# Parameters
rhs: the std::packaged_task to move from
# Example
This section is incompleteReason: no example
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 2067 | C++11 | the parameter type of the copy assignment operator was packaged_task& | added const |