Simplify named arguments
This commit is contained in:
1 parent
02a6fe59fb
commit
963ee08310
2 files changed
+15
-41
No files matched your search
@@ -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)};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user