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

Refactoring: replace snprintf and sscanf with sto* and to_string() where practical #273

Open
azonenberg opened this issue Sep 26, 2020 · 1 comment
Labels
cleanup Removing cruft
Milestone

Comments

@azonenberg
Copy link
Collaborator

Will be cleaner and more concise since it can be used directly in m_transport->SendCommand() without needing multiple lines of code.

This is not intended to be a ban on the C-style functions, only a cleanup where cleaner code results.

@azonenberg azonenberg added the cleanup Removing cruft label Sep 26, 2020
@azonenberg azonenberg added this to the v0.2 milestone May 1, 2021
@d235j
Copy link
Collaborator

d235j commented Jan 29, 2024

Maybe we should wait for C++20 which introduces std::format for printf-like string formatting in C++?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Removing cruft
Projects
None yet
Development

No branches or pull requests

2 participants