Skip to content

qualify unqualified calls to format in compile.h - #2742

Merged
vitaut merged 1 commit into
fmtlib:masterfrom
barcharcraz:fix_unqualified_calls
Feb 2, 2022
Merged

vitaut merged 1 commit into
fmtlib:masterfrom
barcharcraz:fix_unqualified_calls

Conversation

@barcharcraz

Copy link
Copy Markdown

Now that both libfmt and the STL have implemented P2418 our formats are no longer worse (w.r.t. overload resolution) than fmt's formats. Hilarity ensues. (libfmt probably gets <format> via <chrono>, I'm working on fixing that too, but even with the fix these calls should be qualified in case someone wants to use fmt and gets <format> through some other path).

Fully qualifies the problematic functions calls to avoid ambiguity.

@vitaut
vitaut merged commit 3e8372b into fmtlib:master Feb 2, 2022
@vitaut

vitaut commented Feb 2, 2022

Copy link
Copy Markdown
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants