4#ifndef TETL_FORMAT_FMT_BUFFER_HPP
5#define TETL_FORMAT_FMT_BUFFER_HPP
7#include <etl/_format/format_arg_store.hpp>
8#include <etl/_memory/addressof.hpp>
9#include <etl/_utility/forward.hpp>
11namespace etl::detail {
13template <
typename CharType>
15 using value_type = CharType;
17 template <
typename It>
18 fmt_buffer(It out)
noexcept
20 , _pushBack{[](
void* ptr, CharType ch) { (*
static_cast<It*>(ptr)) = ch; }}
24 auto push_back(CharType ch) ->
void
30 using push_back_func_t =
void (*)(
void*, CharType);
33 push_back_func_t _pushBack;
Definition adjacent_find.hpp:9