persistent/Persistent.hpp
/** constructor 2 is move constructor. It "steals" the resource from
       * another object.
       * @param other The other object.
       */
constructor 2 is move constructor. It "steals" the resource from
another object.
@param other The other object.
constructor 2 is move constructor . It " steals " the resource from another object . @param other The other object .
Persistent(Persistent && other) noexcept(false) {
        this->m_pWrappedObject = std::move(other.m_pWrappedObject);
        this->m_pLog = std::move(other.m_pLog);
        this->m_pRegistry = other.m_pRegistry;
        register_callbacks(); 
      }
Persistent ( Persistent && other ) noexcept ( false ) { this -> m_pWrappedObject = std :: move ( other . m_pWrappedObject ) ; this -> m_pLog = std :: move ( other . m_pLog ) ; this -> m_pRegistry = other . m_pRegistry ; register_callbacks ( ) ; }
constructor 2 is move constructor.
constructor 2 is move constructor .
// this callback will override the previous registry entry.