[haiku-commits] Re: haiku: hrev47664 - src/kits/tracker headers/private/tracker

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 12 Aug 2014 10:52:27 -0400

On Tuesday, August 12, 2014, pulkomandy <pulkomandy@xxxxxxxxxxxxx> wrote:

> > It could be a little better by using a different type of list, one that
> > doesn't contain BString pointers, but BString objects directly. Then one
> > would write
> >
> > list.AddItem(modelMimeType);
>
> > Such a templated List implementation is available in HaikuDepot. A while
> > back, some people including Axel said it is the nicest of the List
> classes
> > in the repo and should be moved to "shared" already.
>
> There is already BStringList in the support kit for the special (but
> quite common) case of BString. It uses a BList internally but should
> already
> encapsulate the error handling.
>

Stippi and PulkoMandy, these

Other related posts: