Split Receiver from SharedState
The Function is not restricted to std::function anymore. Move only function become possible.
Differential Revision: https://code.wildfiregames.com/D4840
The comment is outdated.
What will be constructed here?
An object with the same type as m_Receiver. std::shared_ptr<FutureSharedStateDetail::Receiver<ResultType>> in this case.
Where temp and &temp->receiver will go to as arguments?