On Mon, Apr 28, 2014 at 3:29 PM, Jonathan Wakely <jwak...@redhat.com> wrote: > I'm testing the attached patch now. It compiles slightly faster > (-ftime-report shows, as expected, that less time is spent in template > instantiation). > > I'd also like to change __match_mode from a bool to an enum like: > > enum _Match_mode { _S_exact_match, _S_prefix_match }; > > Because I find it easier to read something like: > > if (__match_mode == _S_exact_match) > // ... > > rather than > > if (__match_mode) > // ...
Oh this is nice, good to know. Thanks! -- Regards, Tim Shen