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

Top Page

Reply to this message
Author: admin
To: pcre-dev
Subject: [pcre-dev] [Bug 2575] RE unsafe in static initializers

--- 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.