We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I feel like an output stream for OutputDebugString like https://gist.github.com/comargo/f7fe244e539325cef0f66704b58dc35a would be a very useful and logical things for WIL to have
OutputDebugString
The text was updated successfully, but these errors were encountered:
As a C++20 alternative along the lines of C++23's std::println:
std::println
template <class... Args> void dprintln(std::format_string<Args...> format, Args&&... args) { const auto message = std::format(format, std::forward<Args>(args)...) + "\n"; OutputDebugStringA(message.c_str()); } template <class... Args> void dprintln(std::wformat_string<Args...> format, Args&&... args) { const auto message = std::format(format, std::forward<Args>(args)...) + L"\n"; OutputDebugStringW(message.c_str()); }
Sorry, something went wrong.
No branches or pull requests
I feel like an output stream for
OutputDebugString
like https://gist.github.com/comargo/f7fe244e539325cef0f66704b58dc35a would be a very useful and logical things for WIL to haveThe text was updated successfully, but these errors were encountered: