Simplify named arguments

This commit is contained in:
Victor Zverovich committed 2020-05-09 16:43:31 -07:00
1 parent 02a6fe59fb
commit 963ee08310
2 files changed
+15 -41

No files matched your search

+1 -1
View File
@@ -3515,7 +3515,7 @@ template <typename Char> struct udl_formatter {
template <typename Char> struct udl_arg {
const Char* str;
template <typename T> named_arg<T, Char> operator=(T&& value) const {
template <typename T> named_arg<Char, T> operator=(T&& value) const {
return {str, std::forward<T>(value)};
}
};