OpenTTD Source: src/misc/binaryheap.hpp File Reference

OpenTTD Source 15.0-beta1

Data Structures | Macros
binaryheap.hpp File Reference

Binary heap implementation. More...

Go to the source code of this file.

## Data Structures
class | CBinaryHeapT< T >
| Binary Heap as C++ template. More...

## Macros
#define | BINARYHEAP_CHECK 0
| Enable it if you suspect binary heap doesn't work well.
#define | CHECK_CONSISTY() ;
| Don't check for consistency.

## Detailed Description

Binary heap implementation.

Definition in file binaryheap.hpp.

## Macro Definition Documentation

## ◆ BINARYHEAP_CHECK

#define BINARYHEAP_CHECK 0

Enable it if you suspect binary heap doesn't work well.

Definition at line 14 of file binaryheap.hpp.

## ◆ CHECK_CONSISTY

#define CHECK_CONSISTY | ( |  | ) | ;

Don't check for consistency.

Definition at line 21 of file binaryheap.hpp.