CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CNORXZ::SPos< N > Class Template Reference

#include <pos_type.h>

Public Member Functions

constexpr SPos ()=default
 
constexpr SPos (const SPos &a)=default
 
constexpr SPos (SPos &&a)=default
 
constexpr SizeT size () const
 
constexpr SizeT val () const
 
template<SizeT N1>
constexpr auto operator+ (const SPos< N1 > &a) const
 
template<SizeT N1>
constexpr auto operator- (const SPos< N1 > &a) const
 
template<SizeT N1>
constexpr auto operator* (const SPos< N1 > &a) const
 
template<SizeT N1>
constexpr auto operator() (const SPos< N1 > &a) const
 
constexpr auto operator+ (const UPos &a) const
 
constexpr auto operator* (const UPos &a) const
 
constexpr auto operator() (const UPos &a) const
 
template<class PosT >
constexpr decltype(autoextend (const PosT &a) const
 
template<class PosT >
constexpr decltype(autooperator<< (const PosT &a) const
 
constexpr operator UPos () const
 
constexpr operator SizeT () const
 
template<class PosT >
constexpr decltype(autoextend (const PosT &a) const
 
template<class PosT >
constexpr decltype(autooperator<< (const PosT &a) const
 

Detailed Description

template<SizeT N>
class CNORXZ::SPos< N >

Definition at line 21 of file pos_type.h.

Constructor & Destructor Documentation

◆ SPos() [1/3]

template<SizeT N>
constexpr CNORXZ::SPos< N >::SPos ( )
constexprdefault

◆ SPos() [2/3]

template<SizeT N>
constexpr CNORXZ::SPos< N >::SPos ( const SPos< N > & a)
constexprdefault

◆ SPos() [3/3]

template<SizeT N>
constexpr CNORXZ::SPos< N >::SPos ( SPos< N > && a)
constexprdefault

Member Function Documentation

◆ extend() [1/2]

template<SizeT N>
template<class PosT >
constexpr decltype(auto) CNORXZ::SPos< N >::extend ( const PosT & a) const
constexpr

Definition at line 95 of file pos_type.cc.h.

◆ extend() [2/2]

template<SizeT N>
template<class PosT >
constexpr decltype(auto) CNORXZ::SPos< N >::extend ( const PosT & a) const
constexpr

◆ operator SizeT()

template<SizeT N>
constexpr CNORXZ::SPos< N >::operator SizeT ( ) const
explicitconstexpr

Definition at line 114 of file pos_type.cc.h.

◆ operator UPos()

template<SizeT N>
constexpr CNORXZ::SPos< N >::operator UPos ( ) const
explicitconstexpr

Definition at line 108 of file pos_type.cc.h.

◆ operator()() [1/2]

template<SizeT N>
template<SizeT N1>
constexpr auto CNORXZ::SPos< N >::operator() ( const SPos< N1 > & a) const
constexpr

Definition at line 60 of file pos_type.cc.h.

◆ operator()() [2/2]

template<SizeT N>
constexpr auto CNORXZ::SPos< N >::operator() ( const UPos & a) const
constexpr

Definition at line 83 of file pos_type.cc.h.

◆ operator*() [1/2]

template<SizeT N>
template<SizeT N1>
constexpr auto CNORXZ::SPos< N >::operator* ( const SPos< N1 > & a) const
constexpr

Definition at line 53 of file pos_type.cc.h.

◆ operator*() [2/2]

template<SizeT N>
constexpr auto CNORXZ::SPos< N >::operator* ( const UPos & a) const
constexpr

Definition at line 72 of file pos_type.cc.h.

◆ operator+() [1/2]

template<SizeT N>
template<SizeT N1>
constexpr auto CNORXZ::SPos< N >::operator+ ( const SPos< N1 > & a) const
constexpr

Definition at line 39 of file pos_type.cc.h.

◆ operator+() [2/2]

template<SizeT N>
constexpr auto CNORXZ::SPos< N >::operator+ ( const UPos & a) const
constexpr

Definition at line 66 of file pos_type.cc.h.

◆ operator-()

template<SizeT N>
template<SizeT N1>
constexpr auto CNORXZ::SPos< N >::operator- ( const SPos< N1 > & a) const
constexpr

Definition at line 46 of file pos_type.cc.h.

◆ operator<<() [1/2]

template<SizeT N>
template<class PosT >
constexpr decltype(auto) CNORXZ::SPos< N >::operator<< ( const PosT & a) const
constexpr

Definition at line 102 of file pos_type.cc.h.

◆ operator<<() [2/2]

template<SizeT N>
template<class PosT >
constexpr decltype(auto) CNORXZ::SPos< N >::operator<< ( const PosT & a) const
constexpr

◆ size()

template<SizeT N>
constexpr SizeT CNORXZ::SPos< N >::size ( ) const
constexpr

Definition at line 26 of file pos_type.cc.h.

◆ val()

template<SizeT N>
constexpr SizeT CNORXZ::SPos< N >::val ( ) const
constexpr

Definition at line 32 of file pos_type.cc.h.


The documentation for this class was generated from the following files: