IsConstant()

System::IsConstant(const ExpressionT&, const ConstantT&) function

Implements ‘is’ constant pattern translation.

template<class ExpressionT,class ConstantT> bool System::IsConstant(const ExpressionT &left, const ConstantT &constant)

Template parameters

ParameterDescription
ExpressionTleft expression type.
ConstantTtype of constant expression.

Arguments

ParameterTypeDescription
leftconst ExpressionT&expression which will be checked.
constantconst ConstantT&expression which will be compared with left one.

Return Value

true if type check is successfull, false otherwise.

See Also