Clarify precedence
This commit is contained in:
parent
16cac46a09
commit
bd903f96ac
@ -237,6 +237,10 @@ You can also write a formatter for a hierarchy of classes::
|
|||||||
fmt::print("{}", a); // prints "B"
|
fmt::print("{}", a); // prints "B"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
If a type provides both a ``formatter`` specialization and an implicit
|
||||||
|
conversion to a formattable type, the specialization takes precedence over the
|
||||||
|
conversion.
|
||||||
|
|
||||||
.. doxygenclass:: fmt::basic_format_parse_context
|
.. doxygenclass:: fmt::basic_format_parse_context
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user