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.
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
template <typename Base, typename Derived>
struct IsBaseOfStrict;
template <typename Base>
struct IsBaseOfStrict<Base, Base>;
Parameters
Base
The base type.
Derived
The derived type.
Remarks
Tests whether one type is the base of another.
The first template tests whether a type is derived from a base type, which might yield true
or false
. The second template tests whether a type is derived from itself, which always yields false
.
Members
Public Constants
Name | Description |
---|---|
IsBaseOfStrict::value | Indicates whether one type is the base of another. |
Inheritance Hierarchy
IsBaseOfStrict
Requirements
Header: internal.h
Namespace: Microsoft::WRL::Details
IsBaseOfStrict::value
Supports the WRL infrastructure and is not intended to be used directly from your code.
static const bool value = __is_base_of(Base, Derived);
Remarks
Indicates whether one type is the base of another.
value
is true
if type Base
is a base class of the type Derived
, otherwise it is false
.