7#include "forward_value.hpp"
8#include "fixed_string.hpp"
18template<basic_fixed_string Fmt,
typename... Values>
21 static_assert(std::is_same_v<
decltype(Fmt)::value_type,
char>,
"Fmt must be a basic_fixed_string<char>");
41 template<
typename... Args>
52 return std::apply(fmt::format<char const *,Values const &...>,
std::move(tmp));
68template<fixed_string Fmt,
typename... Args>
69delayed_format(Args &&...) -> delayed_format<Fmt, forward_value_t<Args>...>;
Delayed formatting.
Definition delayed_format.hpp:19
delayed_format(Args &&...args) noexcept
Construct a delayed format.
Definition delayed_format.hpp:42
std::string operator()() const noexcept
Format now.
Definition delayed_format.hpp:49
std::string operator()(std::locale const &loc) const noexcept
Format now.
Definition delayed_format.hpp:59
Functor for forwarding an forwarding-reference to variable.
Definition forward_value.hpp:29