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.
ParameterTypBeskrivning
varExpressionT&referens till variabel som ska initieras.
värdeconst ExpressionT&värde som ska tilldelas variabeln.

ReturnValue

alltid sant (detta mönster träffar alltid).

Se även