For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
Ensures that a runtime class derives from Windows Runtime interfaces, if any, and then classic COM interfaces.
template< typename Derived, typename MixInType, bool hasImplements = __is_base_of(Details::ImplementsBase, MixInType) > struct MixIn;
A type derived from the Implements structure.
A base type.
MixInType is derived from the current implementation the base type;
If a class is derived from both Windows Runtime and class COM interfaces, the class declaration list must first list any Windows Runtime interfaces and then any classic COM interfaces. MixIn ensures that the interfaces are specified in the correct order.