Hi,

Tim Shen <timshe...@gmail.com> ha scritto:
>On Sat, Aug 10, 2013 at 4:58 PM, Paolo Carlini
><paolo.carl...@oracle.com> wrote:
>> On 08/10/2013 10:37 AM, Tim Shen wrote:
>>>
>>> +    regex_match(s, *(&s+1)-1, m, re);
>>
>> I don't like these *(&s+1)-1.
>
>As you wish :)

See wasn't that difficult, after all ;) Seriously, a modern c++ programmer 
doesn't necessarily use all the time pointers, and frankly would not be able to 
figure out both type and value of that expression in a split second (remember 
this test, for the future ;)

More important: we are adding support for a non trivial feature and not a 
single comment in the new code refers to it. This is not ok, please add at 
least 2 or 3.

Paolo

Reply via email to