|
cMHN 1.2
C++ library for learning MHNs with pRC
|
#include <integer.hpp>
Public Types | |
| using | Fundamental |
| template<Size C> | |
| using | ChangeSize = Float<C> |
| template<Bool C> | |
| using | ChangeSigned = Integer<C, W> |
Public Member Functions | |
| ~Integer ()=default | |
| constexpr | Integer (Integer const &)=default |
| constexpr | Integer (Integer &&)=default |
| constexpr Integer & | operator= (Integer const &) &=default |
| constexpr Integer & | operator= (Integer &&) &=default |
| constexpr | Integer ()=default |
| template<class U > requires IsConstructible<Fundamental, U> | |
| constexpr | Integer (U const basic) |
| template<IsValue U> | |
| constexpr | Integer (U const &value) |
| constexpr | Integer (Zero<> const) |
| constexpr | Integer (Unit<> const) |
| constexpr | Integer (Identity<> const) |
| template<class U > requires IsAssignable<Fundamental, U> | |
| constexpr auto & | operator= (U const basic) & |
| template<IsValue U> | |
| constexpr auto & | operator= (U const &value) & |
| constexpr auto & | operator= (Zero<> const) & |
| constexpr auto & | operator= (Unit<> const) & |
| constexpr auto & | operator= (Identity<> const) & |
| constexpr decltype(auto) | operator() () && |
| constexpr decltype(auto) | operator() () const && |
| constexpr auto & | operator() () & |
| constexpr auto & | operator() () const & |
| constexpr | operator Fundamental () const |
| template<class X > requires IsInvocable<Add, Integer &, X> | |
| constexpr auto & | operator+= (X &&rhs) & |
| template<class X > requires IsInvocable<Sub, Integer &, X> | |
| constexpr auto & | operator-= (X &&rhs) & |
| template<class X > requires IsInvocable<Mul, Integer &, X> | |
| constexpr auto & | operator*= (X &&rhs) & |
| template<class X > requires IsInvocable<Div, Integer &, X> | |
| constexpr auto & | operator/= (X &&rhs) & |
| template<class X > requires IsInvocable<Mod, Integer &, X> | |
| constexpr auto & | operator%= (X &&rhs) & |
Static Public Attributes | |
| static constexpr Size | Width = W |
| static constexpr Bool | Signed = S |
| using pRC::Integer< S, Width >::ChangeSigned = Integer<C, W> |
| using pRC::Integer< S, Width >::ChangeSize = Float<C> |
| using pRC::Integer< S, Width >::Fundamental |
|
default |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
staticconstexpr |