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

Not compatible with wcout ? #7

Open
Winterherr opened this issue Apr 30, 2022 · 1 comment
Open

Not compatible with wcout ? #7

Winterherr opened this issue Apr 30, 2022 · 1 comment

Comments

@Winterherr
Copy link

I'd like to use this lib with wcout to dispaly utf16 characters, but when writing
wcout << dye::green(L"hello");
I get the error:

error: no match for 'operator<<' (operand types are 'std::wostream' {aka 'std::basic_ostream<wchar_t>'} and 'dye::R<const wchar_t*>' {aka 'dye::colorful<const wchar_t*>'})
     wcout << dye::green(L"hello");
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any quick solution for this issue?

@Patrix9999
Copy link

This library only supports ostream, wostream is not supported currently.

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