1#ifndef PACEMAKER_INCA_DETAIL_COMPROXY_HPP_
2#define PACEMAKER_INCA_DETAIL_COMPROXY_HPP_
Non-copyable CRTP base class for COM dispatch proxy objects.
COMProxy(COMProxy &&)=default
Move constructor transfers ownership of the underlying COM pointer.
COMProxy(pacemaker::inca::detail::unique_com_ptr< T > subject) noexcept
Constructs the proxy, taking ownership of subject.
COMProxy & operator=(COMProxy &&)=default
Move assignment transfers ownership of the underlying COM pointer.
pacemaker::inca::detail::unique_com_ptr< T > p_subject
Owning pointer to the underlying COM dispatch object.
std::unique_ptr< T, ComObjDeleter< T > > unique_com_ptr
RAII owning pointer for COM objects.