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

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

#include <remote_smart_ptr.hpp>

Public Member Functions

constexpr remote_unique_ptr () noexcept
 
constexpr remote_unique_ptr (RemotePtr ptr) noexcept
 
constexpr uintptr_t address () const noexcept
 
constexpr bool is_null () const noexcept
 
constexpr operator bool () const noexcept
 

Friends

template<typename U , typename RP >
struct remote_field_traits
 

Detailed Description

template<typename T, typename RemotePtr = uintptr_t>
class microfmt::remote_unique_ptr< T, RemotePtr >

Layout wrapper for a remote unique pointer.

Template Parameters
TPointee type.
RemotePtrPointer representation in the target process.

Constructor & Destructor Documentation

◆ remote_unique_ptr() [1/2]

template<typename T , typename RemotePtr = uintptr_t>
constexpr microfmt::remote_unique_ptr< T, RemotePtr >::remote_unique_ptr ( )
inlineconstexprnoexcept

◆ remote_unique_ptr() [2/2]

template<typename T , typename RemotePtr = uintptr_t>
constexpr microfmt::remote_unique_ptr< T, RemotePtr >::remote_unique_ptr ( RemotePtr  ptr)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ address()

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

◆ is_null()

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

◆ operator bool()

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

Friends And Related Symbol Documentation

◆ remote_field_traits

template<typename T , typename RemotePtr = uintptr_t>
template<typename U , typename RP >
friend struct remote_field_traits
friend

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