Rosetta
Public Member Functions | Public Attributes | List of all members
utility::StrongT< T, Key > Struct Template Reference

#include <strong_aliasing.hh>

Public Member Functions

 StrongT ()
 
 StrongT (T v)
 
 operator T () const
 
Toperator() ()
 
T const & operator() () const
 
StrongT< T, Key > & operator+= (T other)
 
StrongT< T, Key > & operator-= (T other)
 
StrongT< T, Key > & operator++ ()
 
StrongT< T, Key > & operator-- ()
 

Public Attributes

T value
 

Constructor & Destructor Documentation

◆ StrongT() [1/2]

template<typename T , typename Key >
utility::StrongT< T, Key >::StrongT ( )
inline

◆ StrongT() [2/2]

template<typename T , typename Key >
utility::StrongT< T, Key >::StrongT ( T  v)
inlineexplicit

Member Function Documentation

◆ operator T()

template<typename T , typename Key >
utility::StrongT< T, Key >::operator T ( ) const
inline

◆ operator()() [1/2]

template<typename T , typename Key >
T& utility::StrongT< T, Key >::operator() ( )
inline

◆ operator()() [2/2]

template<typename T , typename Key >
T const& utility::StrongT< T, Key >::operator() ( ) const
inline

◆ operator++()

template<typename T , typename Key >
StrongT< T, Key >& utility::StrongT< T, Key >::operator++ ( )
inline

◆ operator+=()

template<typename T , typename Key >
StrongT< T, Key >& utility::StrongT< T, Key >::operator+= ( T  other)
inline

◆ operator--()

template<typename T , typename Key >
StrongT< T, Key >& utility::StrongT< T, Key >::operator-- ( )
inline

◆ operator-=()

template<typename T , typename Key >
StrongT< T, Key >& utility::StrongT< T, Key >::operator-= ( T  other)
inline

Member Data Documentation

◆ value

template<typename T , typename Key >
T utility::StrongT< T, Key >::value

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