Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
mie::local::shiftable< T, E > Struct Template Reference

#include <zm.h>

Inheritance diagram for mie::local::shiftable< T, E >:
Collaboration diagram for mie::local::shiftable< T, E >:

Public Member Functions

MIE_FORCE_INLINE T operator<< (size_t n) const
 
MIE_FORCE_INLINE T operator>> (size_t n) const
 
MIE_FORCE_INLINE Toperator<<= (size_t n)
 
MIE_FORCE_INLINE Toperator>>= (size_t n)
 

Detailed Description

template<class T, class E = Empty<T>>
struct mie::local::shiftable< T, E >

Definition at line 159 of file zm.h.

Member Function Documentation

◆ operator<<()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T mie::local::shiftable< T, E >::operator<< ( size_t n) const
inline

Definition at line 160 of file zm.h.

160{ T out; T::shl(out, static_cast<const T&>(*this), n); return out; }
#define T(meth, val, expected)

◆ operator<<=()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T & mie::local::shiftable< T, E >::operator<<= ( size_t n)
inline

Definition at line 165 of file zm.h.

165{ T::shl(static_cast<T&>(*this), static_cast<const T&>(*this), n); return static_cast<T&>(*this); }

◆ operator>>()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T mie::local::shiftable< T, E >::operator>> ( size_t n) const
inline

Definition at line 161 of file zm.h.

161{ T out; T::shr(out, static_cast<const T&>(*this), n); return out; }

◆ operator>>=()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T & mie::local::shiftable< T, E >::operator>>= ( size_t n)
inline

Definition at line 166 of file zm.h.

166{ T::shr(static_cast<T&>(*this), static_cast<const T&>(*this), n); return static_cast<T&>(*this); }

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