FOLLY_SETTING_REGISTER

Registers a setting without defining an Accessor. This should rarely be used directly and most use cases will want FOLLY_SETTING_DEFINE instead.

Synopsis

Declared in <folly/settings/Settings.h>

#define FOLLY_SETTING_REGISTER(_project, _name, _Type, _def, _mut, _cli, _desc)

Parameters

NameDescription
_projectProject identifier of the setting.
_nameSetting name within the project.
_TypeSetting value type.
_defDefault value for the setting.
_mutMutability of the setting.
_cliDetermines if the setting can be set from the command line.
_descSetting documentation.