Flatten forward

This commit is contained in:
Victor Zverovich 2019-12-22 08:23:54 -08:00
parent 7eec036d9a
commit 3ca9533f38

View File

@ -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 {};