Accesses a defined setting. Rationale for the macro: 1) Searchability, all settings access is done via FOLLY_SETTING(...) 2) Prevents omitting trailing () by accident, which could lead to bugs like auto value = *FOLLY_SETTING_project_name;, which compiles but dereferences the function pointer instead of the setting itself.
Declared in <folly/settings/Settings.h>
#define FOLLY_SETTING(_project, _name)
| Name | Description |
|---|---|
| _project | Project identifier of the setting. |
| _name | Setting name within the project. |