DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
Metafunction to conditionally remove functions and classes from overload resolution. More...
Metafunction to conditionally remove functions and classes from overload resolution.
This metafunction is a convenient way to leverage SFINAE to conditionally remove functions and classes from overload resolution based on type traits and to provide separate function overloads and specializations for different type traits. OFenable_if can be used as an additional function argument (not applicable to operator overloads), as a return type (not applicable to constructors and destructors), or as a class template or function template parameter.
B | If B is OFTrue, OFenable_if has a public member typedef type, equal to T; otherwise, there is no member typedef. |
T | The type to use for "type" if B equals OFTrue. Defaults to void. |