Merge branch 'master' of github.com:fmtlib/fmt

This commit is contained in:
Victor Zverovich
2021-06-01 13:38:26 -07:00
3 changed files with 32 additions and 16 deletions
+1 -1
View File
@@ -1140,7 +1140,7 @@ template <typename Context> class value {
FMT_INLINE value(const named_arg_info<char_type>* args, size_t size)
: named_args{args, size} {}
template <typename T> FMT_INLINE value(const T& val) {
template <typename T> FMT_CONSTEXPR FMT_INLINE value(const T& val) {
custom.value = &val;
// Get the formatter type through the context to allow different contexts
// have different extension points, e.g. `formatter<T>` for `format` and