OpenTTD
Public Member Functions | Data Fields
SmallPair< T, U > Struct Template Reference

Simple pair of data. More...

#include <smallmap_type.hpp>

Public Member Functions

 SmallPair (const T &first, const U &second)
 Initializes this Pair with data.
 

Data Fields

first
 
second
 

Detailed Description

template<typename T, typename U>
struct SmallPair< T, U >

Simple pair of data.

Both types have to be POD ("Plain Old Data")!

Template Parameters
TKey type.
UValue type.

Definition at line 24 of file smallmap_type.hpp.


The documentation for this struct was generated from the following file: