dispatch overloads
Declared in <folly/compression/Instructions.h>
Invokes a callable with an instance of the detected backend type.
template<class F>
decltype(f(std::declval<Default>()))
dispatch(F&& f);
» more...
Invokes a callable with an instance of the given backend type.
template<class F>
decltype(f(std::declval<Default>()))
dispatch(
Type type,
F&& f);
» more...
| Name | Description |
|---|---|
| f | The callable to invoke with the detected backend. |
| type | The backend type to dispatch on. |