IsPattern()

System::IsPattern(const ExpressionT&, ResultT&) function

Implements ‘is’ pattern translation.

template<class PatternT,class ExpressionT,class ResultT> static bool System::IsPattern(const ExpressionT &left, ResultT &result)

Template parameters

ParameterDescription
PatternTtype to check.
ExpressionTleft expression type.
ResultTtype of result expression.

Arguments

ParameterTypeDescription
leftconst ExpressionT&expression which will be checked.
resultResultT&variable which will be assigned to checked type.

Return Value

true if type check is successfull, false otherwise.

See Also