[#FOLLY_SETTING]
= FOLLY&lowbar;SETTING
:mrdocs:

Accesses a defined setting&period; Rationale for the macro&colon; 1) Searchability, all settings access is done via FOLLY&lowbar;SETTING(&period;&period;&period;) 2) Prevents omitting trailing () by accident, which could lead to bugs like `auto value &equals; &ast;FOLLY&lowbar;SETTING&lowbar;project&lowbar;name&semi;`, which compiles but dereferences the function pointer instead of the setting itself&period;

== Synopsis

Declared in `&lt;folly&sol;settings&sol;Settings&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define FOLLY&lowbar;SETTING(&lowbar;project, &lowbar;name)

----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;project*
| Project identifier of the setting&period;
| *&lowbar;name*
| Setting name within the project&period;
|===


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