Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for std::format #843

Open
fekir opened this issue Feb 13, 2024 · 1 comment
Open

Missing support for std::format #843

fekir opened this issue Feb 13, 2024 · 1 comment

Comments

@fekir
Copy link

fekir commented Feb 13, 2024

Description

doctest does not seem to be able to output variables that can be formatted with std::format, but do not have a stream operator

Steps to reproduce

See example at https://godbolt.org/z/5Enb7bs73

doctest prints {?}

Extra information

doctest trunk on compiler explorer

@fekir
Copy link
Author

fekir commented Feb 13, 2024

Additional note: it would be nice if the library format is supported to, in that case, it is possible to define a formatter with a friend function format_as.

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

No branches or pull requests

1 participant