FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
env_subst.hpp File Reference

${VAR} environment substitution for [venues. More...

#include "fastmm/core/result.hpp"
#include <cstdlib>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  fastmm
 

Functions

Result< std::string, std::string > fastmm::substitute_env (std::string_view in)
 Returns the substituted string, or the name of the first missing variable.
 
bool fastmm::has_env_reference (std::string_view s) noexcept
 

Detailed Description

${VAR} environment substitution for [venues.

*] string values (8.7). Only exact ${NAME} tokens are replaced; a missing variable is an error (never silently empty).