microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | List of all members
microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount > Class Template Reference

Layout wrapper for a remote shared pointer. More...

#include <remote_smart_ptr.hpp>

Public Member Functions

constexpr remote_shared_ptr () noexcept
 
constexpr uintptr_t address () const noexcept
 
constexpr uintptr_t control_block_address () const noexcept
 
constexpr bool is_null () const noexcept
 
constexpr operator bool () const noexcept
 

Detailed Description

template<typename T, typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
class microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >

Layout wrapper for a remote shared pointer.

Template Parameters
TPointee type.
RemotePtrPointer representation in the target process.
RemoteRefCountReference-count representation in the target process.

Constructor & Destructor Documentation

◆ remote_shared_ptr()

template<typename T , typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
constexpr microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >::remote_shared_ptr ( )
inlineconstexprnoexcept

Member Function Documentation

◆ address()

template<typename T , typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
constexpr uintptr_t microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >::address ( ) const
inlineconstexprnoexcept

◆ control_block_address()

template<typename T , typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
constexpr uintptr_t microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >::control_block_address ( ) const
inlineconstexprnoexcept

◆ is_null()

template<typename T , typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
constexpr bool microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >::is_null ( ) const
inlineconstexprnoexcept

◆ operator bool()

template<typename T , typename RemotePtr = uintptr_t, typename RemoteRefCount = int32_t>
constexpr microfmt::remote_shared_ptr< T, RemotePtr, RemoteRefCount >::operator bool ( ) const
inlineexplicitconstexprnoexcept

The documentation for this class was generated from the following file: