mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Cleanup
This commit is contained in:
parent
8af48bbaf1
commit
926b7680ea
7
format.h
7
format.h
@ -1494,14 +1494,13 @@ inline uint64_t make_type(FMT_GEN15(FMT_ARG_TYPE_DEFAULT)) {
|
||||
// Defines a variadic function returning void.
|
||||
# define FMT_VARIADIC_VOID(func, arg_type) \
|
||||
template <typename... Args> \
|
||||
void func(arg_type arg1, const Args & ... args) { \
|
||||
void func(arg_type arg0, const Args & ... args) { \
|
||||
namespace internal = fmt::internal; \
|
||||
typedef typename internal::SelectValueType<sizeof...(Args)>::Type Value; \
|
||||
const Value array[ \
|
||||
internal::NonZero<sizeof...(Args)>::VALUE] = { \
|
||||
const Value array[internal::NonZero<sizeof...(Args)>::VALUE] = { \
|
||||
internal::MakeValue<Char>(args)... \
|
||||
}; \
|
||||
func(arg1, ArgList(internal::make_type(args...), array)); \
|
||||
func(arg0, ArgList(internal::make_type(args...), array)); \
|
||||
}
|
||||
|
||||
// Defines a variadic constructor.
|
||||
|
Loading…
Reference in New Issue
Block a user