Stage& Stage::operator=(const Stage& rhs) = default;
-Stage::Stage(Stage&& handle) = default;
+Stage::Stage(Stage&& handle) noexcept = default;
-Stage& Stage::operator=(Stage&& rhs) = default;
+Stage& Stage::operator=(Stage&& rhs) noexcept = default;
Stage::Stage(Internal::Stage* internal)
: BaseHandle(internal)
*
* @param[in] handle A reference to the moved handle
*/
- Stage(Stage&& handle);
+ Stage(Stage&& handle) noexcept;
/**
* @brief This move assignment operator is required for (smart) pointer semantics.
* @param[in] rhs A reference to the moved handle
* @return A reference to this
*/
- Stage& operator=(Stage&& rhs);
+ Stage& operator=(Stage&& rhs) noexcept;
// Containment
* Move constructor. Passes the ownership of a pointer to another.
* @param[in] other The pointer that gives away the ownership.
*/
- OwnerPointer(OwnerPointer&& other)
+ OwnerPointer(OwnerPointer&& other) noexcept
: mObject(nullptr)
{
Swap(other);
* Move assignment operator. Passes the ownership of a pointer to another.
* @param[in] other The pointer that gives away the ownership.
*/
- OwnerPointer& operator=(OwnerPointer&& other)
+ OwnerPointer& operator=(OwnerPointer&& other) noexcept
{
// Reuse operator=
return operator=(other);
delete mRemoveCallback;
}
-ActorObserver::ActorObserver(ActorObserver&& other)
+ActorObserver::ActorObserver(ActorObserver&& other) noexcept
: ActorObserver(nullptr)
{
operator=(std::move(other));
}
-ActorObserver& ActorObserver::operator=(ActorObserver&& other)
+ActorObserver& ActorObserver::operator=(ActorObserver&& other) noexcept
{
if(this != &other)
{
* @note The other's actor is appropriately disconnected.
* @note Ownership of callback is passed onto this class.
*/
- ActorObserver(ActorObserver&& other);
+ ActorObserver(ActorObserver&& other) noexcept;
/**
* Move assignment operator.
* @note The other's actor is appropriately disconnected.
* @note Ownership of callback is passed onto this class.
*/
- ActorObserver& operator=(ActorObserver&& other);
+ ActorObserver& operator=(ActorObserver&& other) noexcept;
// Not copyable