Extending Qt Creator Manual | ExecuteOnDestruction

Extending Qt Creator Manual 4.6.0

# ExecuteOnDestruction Class

(Utils::ExecuteOnDestruction)

- List of all members, including inherited members

## Public Functions

| ExecuteOnDestruction(std::function<void() > code)
| ~ExecuteOnDestruction()

## Member Function Documentation

### ExecuteOnDestruction::ExecuteOnDestruction(std::function<void() > code)

Default constructs an instance of ExecuteOnDestruction.

### ExecuteOnDestruction::~ExecuteOnDestruction()

Destroys the instance of ExecuteOnDestruction.