template<typename ValueType>
class juce::ScopedValueSetter< ValueType >
Helper class providing an RAII-based mechanism for temporarily setting and then re-setting a value.
E.g.
{
}
{
}
Helper class providing an RAII-based mechanism for temporarily setting and then re-setting a value.
Definition juce_ScopedValueSetter.h:67
ScopedValueSetter(ValueType &valueToSet, ValueType newValue)
Creates a ScopedValueSetter that will immediately change the specified value to the given new value,...
Definition juce_ScopedValueSetter.h:72
float x
Definition juce_UnityPluginInterface.h:197