Re: [PATCH] Implement operator< for SquidString

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Sun, 11 Sep 2011 13:31:32 -0600

On 09/11/2011 10:51 AM, Kinkie wrote:
> Hi,
> The attached patch defines an operator < for SquidString, so that it
> has a default which can be used with sorted std::containers.

Looks good to me, especially if you add spaces around "<" in
"return a.cmp(b)<0;"

Disclaimer: I have not checked whether SquidString is a good candidate
for use in STL containers. I have my doubts though.

Thank you,

Alex.
Received on Sun Sep 11 2011 - 19:32:09 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 12 2011 - 12:00:03 MDT