`std::enable_if` is a C++ metafunction template with parameters `bool B`, `class T = void`, defined in the Standard C++ header `type_traits`. If `B` is true then the instantiating class defines a public member type `type` equal to `T`; otherwise it does not.