OpenTTD Source: StrongType::Compatible< TCompatibleType > Struct Template Reference

OpenTTD Source 15.0-beta1

Data Structures
StrongType::Compatible< TCompatibleType > Struct Template Reference

Mix-in which makes the new Typedef compatible with another type (which is not the base type). More...

`#include <strong_typedef_type.hpp>`

## Data Structures
struct | mixin

## Detailed Description

template<typename TCompatibleType>
struct StrongType::Compatible< TCompatibleType >

Mix-in which makes the new Typedef compatible with another type (which is not the base type).

Note
  The base type of the new Typedef will be cast to the other type; so make sure they are compatible.

Template Parameters

  TCompatibleType | The other type to be compatible with.

Definition at line 119 of file strong_typedef_type.hpp.

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

- src/core/strong_typedef_type.hpp