Extending Qt Creator Manual | ScopedSwap

Extending Qt Creator Manual 4.6.2

# ScopedSwap Class

(Utils::ScopedSwap)

- List of all members, including inherited members

## Public Functions

| ScopedSwap(T &var, T newValue)
| ~ScopedSwap()

## Member Function Documentation

### ScopedSwap::ScopedSwap(T &var, T newValue)

Default constructs an instance of ScopedSwap.

### ScopedSwap::~ScopedSwap()

Destroys the instance of ScopedSwap.