Set()

System::Set(ExpressionT&, const ExpressionT&) function

Implements ‘var’ pattern translation.

template<class ExpressionT> bool System::Set(ExpressionT &var, const ExpressionT &value)

Template parameters

ParameterDescription
ExpressionTvariable type.

Arguments

ParameterTypeDescription
varExpressionT&reference to variable to be initialized.
valueconst ExpressionT&value to be assigned to variable.

Return Value

always true (this pattern always hits).

See Also