MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::DirectoryRecursive Struct Reference

#include <MRDirectory.h>

Public Attributes

std::filesystem::path dir
 
std::error_code & ec
 

Detailed Description

object of this struct can be passed to range-based-for to enumerate all entries in a filesystem directory including all subdirectories and without throwing exceptions e.g. std::error_code ec; for ( auto dirEntry : DirectoryRecursive{ std::filesystem::current_path(), ec } ) { ... }


The documentation for this struct was generated from the following file: