OpenTTD Source 20241224-master-gf74b0cf984
StrongType::Compatible< TCompatibleType >::mixin< TType, TBaseType > Struct Template Reference

Friends

constexpr bool operator== (const TType &lhs, TCompatibleType rhs)
 
constexpr bool operator!= (const TType &lhs, TCompatibleType rhs)
 
constexpr bool operator<= (const TType &lhs, TCompatibleType rhs)
 
constexpr bool operator< (const TType &lhs, TCompatibleType rhs)
 
constexpr bool operator>= (const TType &lhs, TCompatibleType rhs)
 
constexpr bool operator> (const TType &lhs, TCompatibleType rhs)
 
constexpr TType operator+ (const TType &lhs, TCompatibleType rhs)
 
constexpr TType operator- (const TType &lhs, TCompatibleType rhs)
 

Detailed Description

template<typename TCompatibleType>
template<typename TType, typename TBaseType>
struct StrongType::Compatible< TCompatibleType >::mixin< TType, TBaseType >

Definition at line 121 of file strong_typedef_type.hpp.

Friends And Related Symbol Documentation

◆ operator!=

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator!= ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 123 of file strong_typedef_type.hpp.

◆ operator+

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr TType operator+ ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 130 of file strong_typedef_type.hpp.

◆ operator-

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr TType operator- ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 131 of file strong_typedef_type.hpp.

◆ operator<

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator< ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 126 of file strong_typedef_type.hpp.

◆ operator<=

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator<= ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 125 of file strong_typedef_type.hpp.

◆ operator==

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator== ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 122 of file strong_typedef_type.hpp.

◆ operator>

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator> ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 128 of file strong_typedef_type.hpp.

◆ operator>=

template<typename TCompatibleType >
template<typename TType , typename TBaseType >
constexpr bool operator>= ( const TType &  lhs,
TCompatibleType  rhs 
)
friend

Definition at line 127 of file strong_typedef_type.hpp.


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