HDK
|
#include <SYS_CallIf.h>
Static Public Member Functions | |
template<typename FUNCTOR , typename... ARGS> | |
static SYS_CALLIF_DEPRECATED SYS_FORCE_INLINE void | call (FUNCTOR functor, ARGS &&...args) |
This is replaced by 'if constexpr' in C++17.
This function is for use with lambdas to force the compiler to not even try compiling or inlining function calls when a compile-time condition is false.
Usage: SYS_CallIf<CONDITION>::call([&](SYS_CALLIF_AUTO) { ... });
Definition at line 45 of file SYS_CallIf.h.
|
inlinestatic |
Definition at line 49 of file SYS_CallIf.h.