Skip to content

Add C++20 char8_t/u8string support #2026

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

Merged
merged 2 commits into from
Dec 19, 2019
Merged

Add C++20 char8_t/u8string support #2026

merged 2 commits into from
Dec 19, 2019

Conversation

VemundH
Copy link
Contributor

@VemundH VemundH commented Dec 13, 2019

This adds support for C++20 char8_t and std::u8string.
Using feature test macro __cpp_lib_char8_t to detect compiler support.
This also fixes test compilation error in C++20 mode.

@wjakob wjakob merged commit 6e39b76 into pybind:master Dec 19, 2019
@wjakob
Copy link
Member

wjakob commented Dec 19, 2019

Looks good, thank you!

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