I want to delete all files, folders and subfolders but not the parent folder.
So I tried to use filesystem::remove_all with a wildcard, but this doesn't seems to work.
filesystem::removeall("pathtofolder/*");
There is no exception, but it doesn't delete anything.
Are wildcards are not allowed?
Do I really need to call for each file and folder inside of pathtofolder the removeall method?