![]() |
ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkEnableIf.h>
Inheritance diagram for itk::EnableIf< TCondition, TType >:
Collaboration diagram for itk::EnableIf< TCondition, TType >:simplified way to dispose of enable_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) true (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 104 of file itkEnableIf.h.
1.8.5