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

Polymorphic-memory-resource-backed sink adapters. More...

#include "../microfmt.hpp"
#include <cassert>
#include <cstddef>
#include <memory_resource>
#include <new>
#include <string>
#include <string_view>
Include dependency graph for pmr_sink.hpp:

Go to the source code of this file.

Classes

class  microfmt::pmr::arena_sink
 

Namespaces

namespace  microfmt
 
namespace  microfmt::pmr
 

Typedefs

using microfmt::pmr::string = std::pmr::string
 
using microfmt::pmr::vector = std::pmr::vector< char >
 

Functions

template<typename... Args>
RELOCO_BEGIN_UNSAFE_CODE std::pmr::string microfmt::pmr::format (std::pmr::memory_resource *mr, microfmt::string_view fmt_str, const Args &...args)
 
template<typename... Args>
RELOCO_END_UNSAFE_CODE RELOCO_BEGIN_UNSAFE_CODE std::pmr::vector< char > microfmt::pmr::format_vector (std::pmr::memory_resource *mr, microfmt::string_view fmt_str, const Args &...args)
 

Detailed Description

Polymorphic-memory-resource-backed sink adapters.