|
llvm-mos-sdk
|
Base class for pointer to array elements. More...
#include <soa.h>

Public Member Functions | |
| template<uint8_t N> | |
| constexpr | BasePtr (const uint8_t ByteArrays[][N], uint8_t Idx) |
| template<uint8_t N> | |
| constexpr | BasePtr (uint8_t ByteArrays[][N], uint8_t Idx) |
| T | get () const |
| constexpr | operator T () const |
| template<typename... ArgsT> | |
| auto | operator() (ArgsT &&...Args) const -> auto |
| template<typename Q = T> | |
| std::enable_if_t<!std::is_const_v< Q >, const Ptr< T > & > | operator= (const T &Val) |
| template<typename Q = T> | |
| std::enable_if_t< std::is_pointer_v< Q >, const T > | operator-> () const |
| template<typename Q = T> | |
| std::enable_if_t< std::is_pointer_v< Q >, T > | operator-> () |
| template<typename Q = T> | |
| std::enable_if_t<!std::is_pointer_v< Q >, ConstWrapper > | operator-> () const |
| template<typename U > | |
| Ptr< T > & | operator+= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator-= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator*= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator/= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator%= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator^= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator&= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator|= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator<<= (const U &Right) |
| template<typename U > | |
| Ptr< T > & | operator>>= (const U &Right) |
| Ptr< T > & | operator++ () |
| Ptr< T > & | operator-- () |
| T | operator++ (int) |
| T | operator-- (int) |
Protected Attributes | |
| const uint8_t * | BytePtrs [sizeof(T)] |
Base class for pointer to array elements.
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
Return the value of the pointer.
This provides a more readable syntax than casting for contexts where the implicit conversion to T doesn't trigger, e.g., in printf.
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |