Skip to content

Conversation

@mizvekov
Copy link
Collaborator

use is_formattable instead.

has_formatter was never a good API, since it only asked if the type has a formatter specialization, but a type can also be formattable if it provides an implicit conversion to a type which does.

The newer API takes care of the that problem.

@mizvekov mizvekov changed the title fix: replace uses of deprecated has_formatter fix: replace uses of deprecated fat::has_formatter Jul 11, 2025
@mizvekov mizvekov changed the title fix: replace uses of deprecated fat::has_formatter fix: replace uses of deprecated fmt::has_formatter Jul 11, 2025
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://927.mrdocs.prtest2.cppalliance.org/index.html

@alandefreitas alandefreitas force-pushed the fix-deprecated-fmt-is_formattable branch from 3d232c2 to 87d651f Compare July 11, 2025 20:37
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://927.mrdocs.prtest2.cppalliance.org/index.html

@alandefreitas
Copy link
Collaborator

alandefreitas commented Jul 11, 2025

I rebased your branch, but still not working.

@mizvekov mizvekov force-pushed the fix-deprecated-fmt-is_formattable branch 2 times, most recently from 465b65e to d8a7969 Compare July 14, 2025 19:13
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://927.mrdocs.prtest2.cppalliance.org/index.html

@mizvekov mizvekov force-pushed the fix-deprecated-fmt-is_formattable branch from d8a7969 to 03e1955 Compare July 14, 2025 19:34
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://927.mrdocs.prtest2.cppalliance.org/index.html

use is_formattable instead.

has_formatter was never a good API, since it only asked if the type has
a `formatter` specialization, but a type can also be formattable if
it provides an implicit conversion to a type which does.

The newer API takes care of the that problem.
@mizvekov mizvekov force-pushed the fix-deprecated-fmt-is_formattable branch from 03e1955 to 5d4510e Compare July 14, 2025 20:08
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://927.mrdocs.prtest2.cppalliance.org/index.html

@alandefreitas alandefreitas merged commit 26d4c50 into cppalliance:develop Jul 14, 2025
11 checks passed
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.

3 participants