Skip to content

Conversation

leha-bot
Copy link

It allows to use some ostream-like objects.

Closes #312.

It allows to use some ostream-like objects.
@bombela
Copy link
Owner

bombela commented Nov 23, 2023

What is your use case? Just curious, as templates make debugging harder for when you typo something.

@leha-bot
Copy link
Author

The main use case is print into any ostream-like object, like QDebug in Qt (for example), or some another loggers which don't derive from std::ostream, e.g., to avoid the locales stuff, etc.

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.

Make print_***() ostream arguments templated

2 participants