Boost logo

Boost Users :

Subject: [Boost-users] Using filesystem::remove with wildcards
From: toran (admin_at_[hidden])
Date: 2012-01-19 23:13:56

I am having trouble deleting files with boost::filesystem. Following code does
not work for me (and I can't find the doc that explains how to do it).

boost::filesystem::path pt("somepath");
pt /= ("*.data");

pt variable points to the valid set of files, but removal does not happened.

I will appreciate an advise and may be pointing me to the right place in the
docs. Thanks.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at