variadic_constant_of variadic_constant_of_fn
Declared in <folly/Utility.h>
template<auto Value>
struct variadic_constant_of_fn;
An invocable object and type that has no side-effects - that does nothing when invoked regardless of the arguments with which it is invoked - and that returns a constant value.
| Name | Description |
|---|---|
value_type | Type of the constant value returned. |
| Name | Description |
|---|---|
operator() | Returns the constant value regardless of the arguments passed. |
| Name | Description |
|---|---|
value | The constant value returned on invocation. |