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

Traits-based formatting support for remote binary trees. More...

#include "remote_container.hpp"
#include "remote_layout_accessor.hpp"
#include "remote_object.hpp"
#include <algorithm>
Include dependency graph for remote_binary_tree.hpp:

Go to the source code of this file.

Classes

struct  microfmt::detail::remote_binary_tree_dispatch< Tag >
 
struct  microfmt::detail::binary_tree_layout_tag< Key, Value, RemotePtr >
 
struct  microfmt::remote_binary_tree_traits< detail::binary_tree_layout_tag< Key, Value, RemotePtr > >
 
struct  microfmt::remote_binary_tree_traits< detail::binary_tree_layout_tag< Key, Value, RemotePtr > >::context_type
 

Namespaces

namespace  microfmt
 
namespace  microfmt::detail
 

Typedefs

template<typename Tag >
using microfmt::remote_binary_tree = basic_remote_container< Tag, detail::remote_binary_tree_dispatch< Tag > >
 

Functions

template<typename Tag >
constexpr remote_binary_tree< Tag > microfmt::make_remote_binary_tree (uintptr_t container_addr, typename remote_binary_tree_traits< Tag >::context_type context) noexcept
 
template<typename Key , typename Value , typename RemotePtr = uintptr_t>
constexpr auto microfmt::make_remote_binary_tree (uintptr_t container_addr, ptrdiff_t root_offset, ptrdiff_t left_offset, ptrdiff_t right_offset, ptrdiff_t key_offset, ptrdiff_t value_offset) noexcept
 Creates a binary-tree inspector for a conventional offset layout.
 

Detailed Description

Traits-based formatting support for remote binary trees.