All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SYS_CallIf< CONDITION > Struct Template Reference

#include <SYS_TypeTraits.h>

Static Public Member Functions

template<typename FUNCTOR >
static SYS_FORCE_INLINE void call (FUNCTOR functor)

Detailed Description

template<bool CONDITION>
struct SYS_CallIf< CONDITION >

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.

Definition at line 150 of file SYS_TypeTraits.h.

Member Function Documentation

template<bool CONDITION>
template<typename FUNCTOR >
static SYS_FORCE_INLINE void SYS_CallIf< CONDITION >::call ( FUNCTOR  functor)

Definition at line 153 of file SYS_TypeTraits.h.

The documentation for this struct was generated from the following file: