Can I use a mask to iterate files in a directory with Boost?

后端 未结 7 1118
既然无缘
既然无缘 2020-11-27 03:51

I want to iterate over all files in a directory matching something like somefiles*.txt.

Does boost::filesystem have something built in to

7条回答
  •  余生分开走
    2020-11-27 04:18

    I believe the directory_iterators will only provide all files in a directory. It up to you to filter them as necessary.

提交回复
热议问题