mirror of
https://github.com/fmtlib/fmt.git
synced 2026-07-31 00:36:58 +08:00
A named argument that arrives const-qualified was not recognized by is_named_arg, silently dropping its name. This happens both when a named argument is passed through an intermediate function returning const T& (https://github.com/fmtlib/fmt/issues/4866) and in fmt's own compiled format path, which passes arguments as const T&. Make is_named_arg and is_static_named_arg see through top-level const so the name is preserved instead of dropped. |
||
|---|---|---|
| .. | ||
| fmt | ||