di 0.1.0
Loading...
Searching...
No Matches
present_encoded.h
Go to the documentation of this file.
1#pragma once
2
9
10namespace di::format {
11namespace detail {
12 template<concepts::Encoding Enc>
13 struct PresentEncodedFunction {
14 template<concepts::Formattable... Args>
15 constexpr auto operator()(format::FormatStringImpl<Enc, Args...> format, Args&&... args) const {
16 return vpresent_encoded<Enc>(format, format::make_format_args<FormatContext<Enc>>(args...));
17 }
18 };
19}
20
21template<concepts::Encoding Enc>
22constexpr inline auto present_encoded = detail::PresentEncodedFunction<Enc> {};
23}
Definition bounded_format_context.h:7
constexpr auto make_format_args(Types &&... values)
Definition make_format_args.h:9
constexpr auto vpresent_encoded
Definition vpresent_encoded.h:27
detail::FormatStringImpl< Enc, meta::TypeIdentity< Args >... > FormatStringImpl
Definition format_string_impl.h:70
constexpr auto present_encoded
Definition present_encoded.h:22