Re: [PATCH] SBufList

From: Francesco Chemolli <gkinkie_at_gmail.com>
Date: Mon, 2 Dec 2013 21:29:05 +0100

>> And, if you insist that IsMember() wrapper is needed, it can be placed
>> in the same header file as well. Make it generic like the SBufJoin() below.
>
> It's just convenience.
> I'd leave SBufList.h / .cc only as convenience helpers, relying on
> SBufAlgos.h for some grunt work.

One note: I chose (at least for now) not to make a generic for IsMember() because IMO its usefulness is limited to lists. For other container types it's simply much handier to use different accessors.

  K.
Received on Mon Dec 02 2013 - 20:29:20 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 03 2013 - 12:00:11 MST