OpenTTD Source: src/core/backup_type.hpp File Reference

OpenTTD Source 14.0-RC3

Data Structures
backup_type.hpp File Reference
`#include "../debug.h"`

Go to the source code of this file.

## Data Structures
struct | Backup< T >
| Class to backup a specific variable and restore it later. More...
struct | AutoRestoreBackup< T >
| Class to backup a specific variable and restore it upon destruction of this object to prevent stack values going out of scope before resetting the global to its original value. More...

## Detailed Description

Class for backupping variables and making sure they are restored later.

Definition in file backup_type.hpp.