microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
compat32.hpp File Reference

32-bit compatibility pointers and remote view helpers for 64-bit hosts. More...

#include "address_space.hpp"
#include <cstdint>
#include <type_traits>
Include dependency graph for compat32.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  microfmt::compat32_ptr< T >
 Value-type pointer storing a 32-bit address (for 64-bit hosts). More...
 
struct  microfmt::formatter< compat32_ptr< T > >
 Formatter for compat32_ptr. More...
 

Namespaces

namespace  microfmt
 

Functions

template<size_t N>
constexpr auto microfmt::make_remote_string32 (compat32_ptr< const char > ptr, address_space_ref space, char(&scratch)[N], size_t max_limit=4096) noexcept
 Builds a remote_string_view over a 32-bit string pointer.
 
template<typename T , size_t N>
constexpr auto microfmt::make_remote_ref32 (compat32_ptr< T > ptr, address_space_ref space, std::byte(&scratch)[N]) noexcept
 Builds a remote_ref over a 32-bit object pointer.
 

Detailed Description

32-bit compatibility pointers and remote view helpers for 64-bit hosts.