[#common-OnlyHasDefaultSectionSetting]
= xref:common.adoc[common]::OnlyHasDefaultSectionSetting
:relfileprefix: ../
:mrdocs:

Return true if a setting is set in the default config file section, and not overridden by a higher priority command&hyphen;line or network section value&period;

== Synopsis

Declared in `&lt;common&sol;settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
OnlyHasDefaultSectionSetting(
    xref:common/Settings.adoc[Settings] const& settings,
    std::string const& section,
    std::string const& name);
----

== Description

This is used to provide user warnings about values that might be getting ignored unintentionally&period;

== Return Value

true if the value comes only from the default config section&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *settings*
| The combined settings sources to inspect&period;
| *section*
| The config section to check (e&period;g&period; the network name)&period;
| *name*
| The setting name to check&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
