OpenTTD: src/core/smallvec_type.hpp File Reference

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Data Structures | Typedefs
smallvec_type.hpp File Reference

Simple vector class that allows allocating an item without the need to copy this->data needlessly. More...

`#include "alloc_func.hpp"`
`#include "mem_func.hpp"`

Go to the source code of this file.

## Data Structures
class | SmallVector< T, S >
| Simple vector template class. More...
class | AutoFreeSmallVector< T, S >
| Simple vector template class, with automatic free. More...
class | AutoDeleteSmallVector< T, S >
| Simple vector template class, with automatic delete. More...

## Typedefs
typedef AutoFreeSmallVector < char *, 4 > | StringList
| Type for a list of strings.

## Detailed Description

Simple vector class that allows allocating an item without the need to copy this->data needlessly.

Definition in file smallvec_type.hpp.