OpenTTD Source: StrongType::Compatible< TCompatibleType >::mixin< TType, TBaseType > Struct Template Reference

OpenTTD Source 15.0-beta1

Friends
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:

- src/core/strong_typedef_type.hpp