I want to get the hash files. in current path has 4 files. and it need to hash and save into vector output to perform other task later.
CryptoPP::SHA256 hash;
std::vector<std::string> output;
for(auto& p : std::experimental::filesystem::recursive_directory_iterator(std::experimental::filesystem::current_path()))
{
    if (std::experimental::filesystem::is_regular_file(status(p)))
    {
        CryptoPP::FileSource(p, true, new CryptoPP::HashFilter(hash, new CryptoPP::HexEncoder(new CryptoPP::StringSink(output))), true);
    }
}
for (auto& list : output)
{
    std::cout << list << std::endl;
}
getchar();
return 0;
i get this errors
- Description no instance of constructor "CryptoPP::FileSource::FileSource" matches the argument list
 - Description no instance of constructor "CryptoPP::StringSinkTemplate::StringSinkTemplate [with T=std::string]" matches the argument list
 - Description 'CryptoPP::StringSinkTemplate::StringSinkTemplate(const CryptoPP::StringSinkTemplate &)': cannot convert argument 1 from 'std::vector>' to 'T &'
 - Description '': cannot convert from 'initializer list' to 'CryptoPP::FileSource'
 
`