System::IsConstant method

System::IsConstant method

Implements ‘is’ constant pattern translation.

template<class ExpressionT,class ConstantT> bool System::IsConstant(const ExpressionT &left, const ConstantT &constant)
ParameterDescription
ExpressionTleft expression type.
ConstantTtype of constant expression.
ParameterTypeDescription
leftconst ExpressionT&expression which will be checked.
constantconst ConstantT&expression which will be compared with left one.

ReturnValue

true if type check is successfull, false otherwise.

See Also