Open drocheam opened 2 years ago
Thanks for the bug report.
There was a PR targeting the issue in case_compare
https://github.com/boostorg/spirit/pull/655 but it has an issue.
Maybe a better way to resolve this is to convert the char
string in the default bool policy via case_compare
encoding somehow
https://github.com/boostorg/spirit/blob/ac63f8e6b5b258177ada155678547f3c363ee72d/include/boost/spirit/home/x3/numeric/bool_policies.hpp#L20-L45
It seems the bool parser is not working with wchar_t although being included in the x3::standard_wide namespace.
Minimal Example:
Compiled With:
g++ -I -lboost main.cpp
On Manjaro Linux 21.2 and boost 1.76
Error (condensed):