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

format_to(OutputIt) #880

Closed
huangqinjin opened this issue Sep 25, 2018 · 1 comment
Closed

format_to(OutputIt) #880

huangqinjin opened this issue Sep 25, 2018 · 1 comment

Comments

@huangqinjin
Copy link
Contributor

std::vector<char> buf;
fmt::format_to(std::back_inserter(buf), "{}", 0);

The above works, but not the below.

std::vector<wchar_t> buf;
fmt::format_to(std::back_inserter(buf), L"{}", 0);
@vitaut
Copy link
Contributor

vitaut commented Sep 26, 2018

Added wchar_t support to format_to in e4ca37c. Thanks for reporting.

@vitaut vitaut closed this as completed Sep 26, 2018
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

2 participants