System::Set-metod

System::Set method

Implementerar ‘var’-mönsteröversättning.

template<class ExpressionT> bool System::Set(ExpressionT &var, const ExpressionT &value)
ParameterBeskrivning
ExpressionTvariabeltyp.
ParameterTypeBeskrivning
varExpressionT&referens till variabel som ska initieras.
valueconst ExpressionT&värde som ska tilldelas variabeln.

ReturnValue

alltid sant (detta mönster matchar alltid).

Se även