template <typename SrcType, typename TargetType>

struct constexpr_write_ptr

Defined at line 101 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

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

Public Members

TargetType * p

Public Methods

void constexpr_write_ptr<SrcType, TargetType> (TargetType * raw)

Defined at line 102 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

constexpr_write_ptr_proxy<SrcType, TargetType> operator* ()

Defined at line 104 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

constexpr_write_ptr_proxy<SrcType, TargetType> operator[] (std::ptrdiff_t n)

Defined at line 108 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

constexpr_write_ptr<SrcType, TargetType> & operator++ ()

Defined at line 113 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

constexpr_write_ptr<SrcType, TargetType> operator++ (int )

Defined at line 118 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h

std::ptrdiff_t operator- (const constexpr_write_ptr<SrcType, TargetType> & other)

Defined at line 124 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h