ITK
5.2.0
Insight Toolkit
|
#include <itkEnableIf.h>
simplified way to dispose of disable_if
.
TCondition | Condition type. It's expected to provide a boolean value through its Value member. |
TType | Type to return when the TCondition is (a) false (type). |
This overload automatically fetches TCondition
value. However, beware, it won't work with standard C++ traits or boost traits. Indeed, this enable_if
overload expects the value to follow UpperCamelCase ITK naming policy instead of the standard snake_case policy.
Example:
EnableIfC
DisableIf
Definition at line 147 of file itkEnableIf.h.