PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
try_filesystem.cpp File Reference
#include <filesystem>
#include <iostream>

Go to the source code of this file.

Functions

int main (int, char **)
 

Function Documentation

◆ main()

int main ( int  ,
char **   
)

Definition at line 4 of file try_filesystem.cpp.

4 {
5 namespace fs = std::filesystem;
6
7 for (const auto& file : fs::directory_iterator("./")) {
8 std::cout << file.path() << ": " << file.file_size() << '\n';
9 }
10
11 return 0;
12}