![]() |
simdutf 8.0.0
Unicode at GB/s.
|
helper for working around reinterpret_cast not being allowed during constexpr evaluation. More...
#include <constexpr_ptr.h>
Public Member Functions | |
| constexpr | constexpr_write_ptr (TargetType *raw) |
| constexpr constexpr_write_ptr_proxy< SrcType, TargetType > | operator* () const |
| constexpr constexpr_write_ptr_proxy< SrcType, TargetType > | operator[] (std::ptrdiff_t n) const |
| constexpr constexpr_write_ptr & | operator++ () |
| constexpr constexpr_write_ptr | operator++ (int) |
| constexpr std::ptrdiff_t | operator- (const constexpr_write_ptr &other) const |
Public Attributes | |
| TargetType * | p |
helper for working around reinterpret_cast not being allowed during constexpr evaluation.
will try to act as a SrcType* but actually write to the pointer given in the constructor, which is of another type TargetType
Definition at line 101 of file constexpr_ptr.h.
|
inlineexplicitconstexpr |
Definition at line 102 of file constexpr_ptr.h.
|
inlineconstexpr |
Definition at line 104 of file constexpr_ptr.h.
|
inlineconstexpr |
Definition at line 113 of file constexpr_ptr.h.
|
inlineconstexpr |
Definition at line 118 of file constexpr_ptr.h.
|
inlineconstexpr |
Definition at line 124 of file constexpr_ptr.h.
|
inlineconstexpr |
Definition at line 109 of file constexpr_ptr.h.
| TargetType* simdutf::detail::constexpr_write_ptr< SrcType, TargetType >::p |
Definition at line 128 of file constexpr_ptr.h.