2#include <ossia/dataflow/token_request.hpp>
3#include <ossia/detail/fmt.hpp>
4#if !defined(OSSIA_FREESTANDING)
8struct formatter<
ossia::token_request> final : formatter<string_view>
10 template <
typename ParseContext>
11 constexpr auto parse(ParseContext& ctx)
16 template <
typename FormatContext>
17 auto format(
const ossia::token_request& e, FormatContext& ctx)
const
19 return fmt::format_to(
20 ctx.out(),
"{} -> {} | offset: {} | parent: {} | continuity: {} {}",
21 e.prev_date.impl, e.date.impl, e.offset.impl, e.parent_duration.impl,
22 e.start_discontinuous, e.end_discontinuous);