Is()

SmartPtr::Is(const System::TypeInfo&) const method

Checks if pointed object is of specific type or its child type. Follows C# ‘is’ semantics.

bool System::SmartPtr<T>::Is(const System::TypeInfo &target) const

Arguments

ParameterTypeDescription
targetconst System::TypeInfo&Specifies target type to check against.

Return Value

True if C# ‘is’-style check is positive and false otherwise.

Remarks

Implementation.

See Also