System::IsPattern method

System::IsPattern method

Implements ‘is’ pattern translation.

template<class PatternT,class ExpressionT,class ResultT> static bool System::IsPattern(const ExpressionT &left, ResultT &result)
ParameterDescription
PatternTtype to check.
ExpressionTleft expression type.
ResultTtype of result expression.
ParameterTypeDescription
leftconst ExpressionT&expression which will be checked.
resultResultT&variable which will be assigned to checked type.

ReturnValue

true if type check is successfull, false otherwise.

See Also