OpenTTD Source 20260208-master-g43af8e94d0
strong_typedef_type.hpp File Reference

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

#include "../3rdparty/fmt/format.h"

Go to the source code of this file.

Data Structures

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...
struct  std::hash< StrongType::Typedef< TBaseType, TProperties... > >
 Implementation of std::hash for StrongType::Typedef. More...

Detailed Description

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

Definition in file strong_typedef_type.hpp.