AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ operator=() [1/3]

template<class T >
Future & drama::Future< T >::operator= ( BaseFuture< T > &&  rhs)
inlinenoexcept

Move assignment operator - source std::future<T>

This move assignment operator allows this object to take over control of a std::future<T> object, and is the normal way of associating this object with a working future.

A message is logged for this even if logging is enabled.

Parameters
rhsThe source object.
Returns
A reference to *this

References drama::CreateRunDramaTask(), and drama::TSafePrintf().