[pcre-dev] [Bug 2575] RE unsafe in static initializers

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 2575] RE unsafe in static initializers
https://bugs.exim.org/show_bug.cgi?id=2575

--- Comment #4 from Billy Donahue <billy.donahue@???> ---
Thanks, Giuseppe. That's a good point. I assumed without looking that the
RE_Options was expensive to construct. Otherwise why would this optimization be
there in the first place? But yeah, it's just 3 value-initialized ints. There
are no other data members.

RE_Options() : match_limit_(0), match_limit_recursion_(0), all_options_(0) {}

--
You are receiving this mail because:
You are on the CC list for the bug.