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

#include <zm.h>

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

Public Member Functions

MIE_FORCE_INLINE Toperator/= (const T &rhs)
 
MIE_FORCE_INLINE Toperator%= (const T &rhs)
 

Friends

MIE_FORCE_INLINE friend T operator/ (const T &a, const T &b)
 
MIE_FORCE_INLINE friend T operator% (const T &a, const T &b)
 

Detailed Description

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

Definition at line 145 of file zm.h.

Member Function Documentation

◆ operator%=()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T & mie::local::dividable< T, E >::operator%= ( const T & rhs)
inline

Definition at line 147 of file zm.h.

147{ T::div(0, static_cast<T&>(*this), static_cast<const T&>(*this), rhs); return static_cast<T&>(*this); }
#define T(meth, val, expected)

◆ operator/=()

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE T & mie::local::dividable< T, E >::operator/= ( const T & rhs)
inline

Definition at line 146 of file zm.h.

146{ T rdummy; T::div(static_cast<T*>(this), rdummy, static_cast<const T&>(*this), rhs); return static_cast<T&>(*this); }

Friends And Related Symbol Documentation

◆ operator%

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE friend T operator% ( const T & a,
const T & b )
friend

Definition at line 150 of file zm.h.

150{ T r; T::div(0, r, a, b); return r; }
const mie::Vuint & r
Definition bn.cpp:28
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181

◆ operator/

template<class T , class E = Empty<T>>
MIE_FORCE_INLINE friend T operator/ ( const T & a,
const T & b )
friend

Definition at line 149 of file zm.h.

149{ T q, r; T::div(&q, r, a, b); return q; }

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