OpenTTD Source  20240919-master-gdf0233f4c2
strong_typedef_type.hpp File Reference
#include "../3rdparty/fmt/format.h"

Go to the source code of this file.

Data Structures

struct  StrongTypedefBase
 Non-templated base for StrongType::Typedef for use with type trait queries. More...
 
struct  StrongType::Compare
 Mix-in which makes the new Typedef comparable with itself and its base type. More...
 
struct  StrongType::Compare::mixin< TType, TBaseType >
 
struct  StrongType::Integer
 Mix-in which makes the new Typedef behave more like an integer. More...
 
struct  StrongType::Integer::mixin< TType, TBaseType >
 
struct  StrongType::Compatible< TCompatibleType >
 Mix-in which makes the new Typedef compatible with another type (which is not the base type). More...
 
struct  StrongType::Compatible< TCompatibleType >::mixin< TType, TBaseType >
 
struct  StrongType::Typedef< TBaseType, TTag, TProperties >
 Templated helper to make a type-safe 'typedef' representing a single POD value. More...
 

Detailed Description

Type (helpers) for making a strong typedef that is a distinct type.

Definition in file strong_typedef_type.hpp.