mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
parent
4fea018b2d
commit
7a41d61d79
@ -540,6 +540,10 @@ struct printf_context {
|
|||||||
std::back_insert_iterator<Buffer>, typename Buffer::value_type> type;
|
std::back_insert_iterator<Buffer>, typename Buffer::value_type> type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename ...Args>
|
||||||
|
inline arg_store<printf_context<internal::buffer>::type, Args...> make_printf_args(const Args & ... args) {
|
||||||
|
return arg_store<printf_context<internal::buffer>::type, Args...>(args...);
|
||||||
|
}
|
||||||
typedef basic_format_args<printf_context<internal::buffer>::type> printf_args;
|
typedef basic_format_args<printf_context<internal::buffer>::type> printf_args;
|
||||||
|
|
||||||
inline std::string vsprintf(string_view format, printf_args args) {
|
inline std::string vsprintf(string_view format, printf_args args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user