Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Makes an instance of type or an undefined type.
template<bool B, class Ty1>
struct enable_if;
Parameters
Parameter |
Description |
---|---|
B |
The value that determines the resulting type. |
Ty1 |
The type to evaluate and modify. |
Remarks
An instance of this type modifier holds a modified-type that is either:
Ty1, if B is true.
undefined, if B is false.
Requirements
Header: <type_traits>
Namespace: std