mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Flatten forward
This commit is contained in:
parent
7eec036d9a
commit
3ca9533f38
@ -1341,12 +1341,12 @@ template <typename Context> class basic_format_args {
|
|||||||
struct format_args : basic_format_args<format_context> {
|
struct format_args : basic_format_args<format_context> {
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
format_args(Args&&... args)
|
format_args(Args&&... args)
|
||||||
: basic_format_args<format_context>(std::forward<Args>(args)...) {}
|
: basic_format_args<format_context>(static_cast<Args&&>(args)...) {}
|
||||||
};
|
};
|
||||||
struct wformat_args : basic_format_args<wformat_context> {
|
struct wformat_args : basic_format_args<wformat_context> {
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
wformat_args(Args&&... args)
|
wformat_args(Args&&... args)
|
||||||
: basic_format_args<wformat_context>(std::forward<Args>(args)...) {}
|
: basic_format_args<wformat_context>(static_cast<Args&&>(args)...) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Container> struct is_contiguous : std::false_type {};
|
template <typename Container> struct is_contiguous : std::false_type {};
|
||||||
|
Loading…
Reference in New Issue
Block a user