CommonLibSSE (powerof3)
TempEffectTraits.h File Reference

Go to the source code of this file.

Namespaces

 RE
 

Macros

#define TEMPEFFECT_TRAITS(a_elem)
 

Macro Definition Documentation

◆ TEMPEFFECT_TRAITS

#define TEMPEFFECT_TRAITS (   a_elem)
Value:
case a_elem::TYPE: \
if constexpr (std::is_convertible_v<const a_elem*, const T*>) { \
return static_cast<const a_elem*>(this); \
} \
break