You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cpp_regex_traits.hpp introduces its own locale ctype masks on top of the standard ones (starting here). It relies on first combining all standard flags (here) and then finding some unused bits for its own masks.
The block of masks being or'd is missing std::ctype_base::blank, which was introduced in C++11.
As a side note, it all happens to work fine in libc++ because:
cpp_regex_traits.hpp
introduces its own localectype
masks on top of the standard ones (starting here). It relies on first combining all standard flags (here) and then finding some unused bits for its own masks.The block of masks being or'd is missing
std::ctype_base::blank
, which was introduced in C++11.As a side note, it all happens to work fine in
libc++
because:i.e. the mask for
blank
isn't conflicting with thenon_std
ones, but that's, of course, sheer luck.The text was updated successfully, but these errors were encountered: