microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
microfmt::linear_memory_scanner_context Struct Reference

State retained by the standard linear memory scanner. More...

#include <memory_pattern_scanner.hpp>

Collaboration diagram for microfmt::linear_memory_scanner_context:
Collaboration graph
[legend]

Public Member Functions

constexpr linear_memory_scanner_context (address_space_ref space_ref, span< std::byte > scratch_buf RELOCO_LIFETIMEBOUND RELOCO_LIFETIME_CAPTURE_BY_THIS) noexcept
 

Public Attributes

address_space_ref space
 Target memory address space to scan.
 
span< std::byte > scratch
 Caller-provided chunk buffer used for the sliding window.
 

Detailed Description

State retained by the standard linear memory scanner.

Constructor & Destructor Documentation

◆ linear_memory_scanner_context()

constexpr microfmt::linear_memory_scanner_context::linear_memory_scanner_context ( address_space_ref  space_ref,
span< std::byte > scratch_buf RELOCO_LIFETIMEBOUND  RELOCO_LIFETIME_CAPTURE_BY_THIS 
)
inlineconstexprnoexcept

Member Data Documentation

◆ scratch

span<std::byte> microfmt::linear_memory_scanner_context::scratch

Caller-provided chunk buffer used for the sliding window.

◆ space

address_space_ref microfmt::linear_memory_scanner_context::space

Target memory address space to scan.


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