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