STL iterator for MFC container CObList
问题 I have a Folder class which contains two lists of Folders and Files . class Folder : public CObject { public: typedef std::string StringT; ... Container filesInFolder; Container foldersInFolder; StringT folderName; ... }; class File : public CObject { ... }; Lists derive from CObList. Class Container : public CObList . I need to perform search inside foldersInFolder by name and in filesInFolder by name and extension. CObList::Find does not allow me to use predicates. I would normaly use std: