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