Rodin::Moveable class

Abstract base class for objects that can be moved.

This class defines an interface for polymorphic moving of objects. Classes that inherit from this interface must implement the move() method to provide transfer of ownership functionality.

Public functions

auto move() -> Moveable* pure virtual noexcept
Moves this object and transfers ownership.

Function documentation

Moveable* Rodin::Moveable::move() pure virtual noexcept

Moves this object and transfers ownership.

Returns Pointer to this object after the move operation. The caller assumes ownership responsibility.