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

Inline internal single-use fputs template #1357

Closed
wants to merge 1 commit into from
Closed

Conversation

orivej
Copy link
Contributor

@orivej orivej commented Oct 10, 2019

Depends on #1356


template <>
inline void fputs<wchar_t>(const wchar_t* chars, FILE* stream) FMT_NOEXCEPT {
std::fputws(chars, stream);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As commented on the other PR, I think we should keep fputws. It is still possible to use fwrite in the other overload (this will probably require changing the signature to take basic_string_view to allow embedded NULs).

@orivej orivej closed this Oct 16, 2019
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.

2 participants