fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

#237 Support char8_t in deserialization #269

Closed fktn-k closed 9 months ago

fktn-k commented 9 months ago

As described in #237, since C++20, the string literal u8"" has changed to return a char8_t[N] object, instead of a char[N] object, which has broken backward compatiblity with the code compiled with C++17 or earlier.
fkYAML is intended to work C++11 and later, and so this PR has added a workaround to resolve the issue described above.


Pull Request Checklist

Read the CONTRIBUTING.md file for detailed information.

Please don't

coveralls commented 9 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 17274688f7cef5defb9d6522b0bdbff2309e7058 on feature/237_support_char8_t_in_deserialization into efe56b488818e529b14388354aabd954084abc9f on develop.