MeshLib
 
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 } ) { ... }

Member Data Documentation

◆ dir

std::filesystem::path MR::DirectoryRecursive::dir

◆ ec

std::error_code& MR::DirectoryRecursive::ec

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