@@ -186,10 +186,9 @@ void print(std::ostream& os, format_string<T...> fmt, T&&... args) {
186186}
187187
188188FMT_EXPORT
189- template <typename ... Args>
190- void print (std::wostream& os,
191- basic_format_string<wchar_t , type_identity_t <Args>...> fmt,
192- Args&&... args) {
189+ template <typename ... T>
190+ void print (std::wostream& os, typename fstring<wchar_t , T...>::t fmt,
191+ T&&... args) {
193192 vprint (os, fmt, fmt::make_format_args<buffered_context<wchar_t >>(args...));
194193}
195194
@@ -199,11 +198,10 @@ void println(std::ostream& os, format_string<T...> fmt, T&&... args) {
199198}
200199
201200FMT_EXPORT
202- template <typename ... Args>
203- void println (std::wostream& os,
204- basic_format_string<wchar_t , type_identity_t <Args>...> fmt,
205- Args&&... args) {
206- print (os, L" {}\n " , fmt::format (fmt, std::forward<Args>(args)...));
201+ template <typename ... T>
202+ void println (std::wostream& os, typename fstring<wchar_t , T...>::t fmt,
203+ T&&... args) {
204+ print (os, L" {}\n " , fmt::format (fmt, std::forward<T>(args)...));
207205}
208206
209207FMT_END_NAMESPACE
0 commit comments