rt_configOption

get a druntime config option using standard configuration options opt name of the option to retrieve dg if non-null, passes the option through this delegate and only returns its return value if non-null reverse reverse the default processing order cmdline/envvar/rt_options to allow overwriting settings in the delegate with values from higher priority

returns the options' value if - set on the command line as "--DRT-<opt>=value" (rt_cmdline_enabled enabled) - the environment variable "DRT_<OPT>" is set (rt_envvars_enabled enabled) - rt_options[] contains an entry "<opt>=value" - null otherwise

@nogc nothrow
string
rt_configOption
(
string opt
,
scope rt_configCallBack dg = null
,
bool reverse = false
)

Meta