I\'m caching some information from a file and I want to be able to check periodically if the file\'s content has been modified so that I can read the file again to get the new c
since the time of this post, c++17 has been released, and it includes a filesystem library based on the boost filesystem library:
https://en.cppreference.com/w/cpp/header/filesystem
which includes a way to get the last modification time:
https://en.cppreference.com/w/cpp/filesystem/last_write_time