[Patch] Whole regex refactoring and current status

Paolo Carlini paolo.carlini@oracle.com
Thu Aug 8 15:15:00 GMT 2013



Hi,

>There's a typedef in regex_constants.h:
>
>`typedef unsigned int syntax_option_type;`
>
>Which is a little bit naive. It possibly conflicts with size_t under
>i386 when overloading. I'm trying to change it to a bitset. Or is
>there any better solution?

In my humble opinion involving the whole std::bitset container for a syntax option is way overkill. Do you really have to do overloading between size_t and that type? Or maybe you can use a type *smaller* than unsigned int.

Paolo



More information about the Libstdc++ mailing list