template <typename to, typename from>
struct constexpr_ptr
Defined at line 14 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
The constexpr_ptr class is a workaround for reinterpret_cast not being
allowed during constant evaluation.
Public Members
const from * p
Public Methods
void constexpr_ptr<to, from> (const from * ptr)
Defined at line 17 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
to operator* ()
Defined at line 19 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> & operator++ ()
Defined at line 21 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> operator++ (int )
Defined at line 26 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> & operator-- ()
Defined at line 32 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> operator-- (int )
Defined at line 37 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> & operator+= (std::ptrdiff_t n)
Defined at line 43 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> & operator-= (std::ptrdiff_t n)
Defined at line 48 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> operator+ (std::ptrdiff_t n)
Defined at line 53 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
constexpr_ptr<to, from> operator- (std::ptrdiff_t n)
Defined at line 57 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
std::ptrdiff_t operator- (const constexpr_ptr<to, from> & o)
Defined at line 61 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
to operator[] (std::ptrdiff_t n)
Defined at line 65 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h
const void * operator const void * ()
to prevent compilation errors for memcpy, even if it is never
called during constant evaluation
Defined at line 71 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/constexpr_ptr.h