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

Public Member Functions

constexpr TType & operator*= (const TType &rhs)=delete
 
constexpr TType operator* (const TType &rhs)=delete
 
constexpr TType operator* (const TBaseType &rhs)=delete
 
constexpr TType & operator/= (const TType &rhs)=delete
 
constexpr TType operator/ (const TType &rhs)=delete
 
constexpr TType operator/ (const TBaseType &rhs)=delete
 
constexpr TType & operator%= (const TType &rhs)=delete
 
constexpr TType operator% (const TType &rhs)=delete
 
constexpr TType operator% (const TBaseType &rhs)=delete
 
constexpr TType & operator&= (const TType &rhs)=delete
 
constexpr TType operator& (const TType &rhs)=delete
 
constexpr TType operator& (const TBaseType &rhs)=delete
 
constexpr TType & operator|= (const TType &rhs)=delete
 
constexpr TType operator| (const TType &rhs)=delete
 
constexpr TType operator| (const TBaseType &rhs)=delete
 
constexpr TType & operator^= (const TType &rhs)=delete
 
constexpr TType operator^ (const TType &rhs)=delete
 
constexpr TType operator^ (const TBaseType &rhs)=delete
 
constexpr TType & operator<<= (const TType &rhs)=delete
 
constexpr TType operator<< (const TType &rhs)=delete
 
constexpr TType operator<< (const TBaseType &rhs)=delete
 
constexpr TType & operator>>= (const TType &rhs)=delete
 
constexpr TType operator>> (const TType &rhs)=delete
 
constexpr TType operator>> (const TBaseType &rhs)=delete
 
constexpr TType operator~ ()=delete
 
constexpr TType operator- ()=delete
 

Friends

constexpr TType & operator++ (TType &lhs)
 
constexpr TType & operator-- (TType &lhs)
 
constexpr TType operator++ (TType &lhs, int)
 
constexpr TType operator-- (TType &lhs, int)
 
constexpr TType & operator+= (TType &lhs, const TType &rhs)
 
constexpr TType operator+ (const TType &lhs, const TType &rhs)
 
constexpr TType operator+ (const TType &lhs, const TBaseType &rhs)
 
constexpr TType & operator-= (TType &lhs, const TType &rhs)
 
constexpr TType operator- (const TType &lhs, const TType &rhs)
 
constexpr TType operator- (const TType &lhs, const TBaseType &rhs)
 

Detailed Description

template<typename TType, typename TBaseType>
struct StrongType::Integer::mixin< TType, TBaseType >

Definition at line 54 of file strong_typedef_type.hpp.

Friends And Related Symbol Documentation

◆ operator+ [1/2]

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

Definition at line 62 of file strong_typedef_type.hpp.

◆ operator+ [2/2]

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

Definition at line 61 of file strong_typedef_type.hpp.

◆ operator++ [1/2]

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

Definition at line 55 of file strong_typedef_type.hpp.

◆ operator++ [2/2]

template<typename TType , typename TBaseType >
constexpr TType operator++ ( TType &  lhs,
int   
)
friend

Definition at line 57 of file strong_typedef_type.hpp.

◆ operator+=

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

Definition at line 60 of file strong_typedef_type.hpp.

◆ operator- [1/2]

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

Definition at line 66 of file strong_typedef_type.hpp.

◆ operator- [2/2]

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

Definition at line 65 of file strong_typedef_type.hpp.

◆ operator-- [1/2]

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

Definition at line 56 of file strong_typedef_type.hpp.

◆ operator-- [2/2]

template<typename TType , typename TBaseType >
constexpr TType operator-- ( TType &  lhs,
int   
)
friend

Definition at line 58 of file strong_typedef_type.hpp.

◆ operator-=

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

Definition at line 64 of file strong_typedef_type.hpp.


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