This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] regex_traits implementation


All fixed. I use `_RegexMask` rather than `const _RegexMask&` just
because, IMO, const reference is for something very large and doesn't
need to be every-byte-accessed.

Add _RegexMask::_S_valid_mask = 0x3 instead of using the literal everywhere.


--
Tim Shen

Attachment: regex_traits.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]