EasyLocalAPI reference iolab-uniud/easylocal

easylocal::config::load_config_file

Reads the overrides of a configuration file, as parse_config_text does.

Synopsis

Declared in <easylocal/config/file.hpp>

[[nodiscard]]
config_file_parse_result
load_config_file(std::filesystem::path const& path);

Description

A file that cannot be opened, or a directory, gives an open_error diagnostic.

Return Value

NOTE

The return value should not be discarded.