FB_ONE_OR_NONE

FB_ONE_OR_NONE(hello, world) expands to hello and FB_ONE_OR_NONE(hello) expands to nothing. This macro is used to insert or eliminate text based on the presence of another argument.

Synopsis

Declared in <folly/Preprocessor.h>

#define FB_ONE_OR_NONE(a, ...)

Parameters

NameDescription
aThe token emitted when a second argument is present.