Skip to content

[WIP] Add support for formatting collections and handles#932

Open
tmadlener wants to merge 19 commits intoAIDASoft:masterfrom
tmadlener:format-support
Open

[WIP] Add support for formatting collections and handles#932
tmadlener wants to merge 19 commits intoAIDASoft:masterfrom
tmadlener:format-support

Conversation

@tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

  • Implement a fmt::formatter for all generated types and for the types related to Links. Implement operator<< in terms of format_to.

ENDRELEASENOTES

This PR implements the minimal feature set to "properly" support formatting them via a custom implementation of formatter. The operator<< are now implemented in terms of format_to instead of the other way around.

This is another intermediate step towards customizable formatting as outlined in #920 (comment).

A (final) follow up PR to this will implement the possibility to provide custom formatting (which will also decide whether it is truly possible to do so).

@tmadlener tmadlener changed the title [WIP] Format support [WIP] Add support for formatting collections and handles Feb 13, 2026
@tmadlener
Copy link
Collaborator Author

Looks like fmt v12 is not really happy with this. I will continue with what I actually want to achieve and then circle back to see if we still need it in the end or whether we can solve things with <format>.

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.

1 participant