OpenTTD Source  20240919-master-gdf0233f4c2
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
TCompatibleTypeThe 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: