<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/libkern/detail/enable_if",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@N@libkern@N@detail@SP>1#T@enable_if>#Vb1#t0.0"
  },
  "title" : "enable_if"
}
-->

# enable_if

```
template <typename T> struct enable_if<1, T>;
```

## Topics

### Type Aliases

[`typedef type-parameter-0-0 type;`](/documentation/DriverKit/libkern/detail/enable_if/type)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)