ICU 76.1 76.1
|
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types. More...
#include <char16ptr.h>
Public Member Functions | |
ConstChar16Ptr (const char16_t *p) | |
Copies the pointer. | |
ConstChar16Ptr (const uint16_t *p) | |
Converts the pointer to char16_t *. | |
ConstChar16Ptr (const wchar_t *p) | |
Converts the pointer to char16_t *. | |
ConstChar16Ptr (const std::nullptr_t p) | |
nullptr constructor. | |
~ConstChar16Ptr () | |
Destructor. | |
const char16_t * | get () const |
Pointer access. | |
operator const char16_t * () const | |
char16_t pointer access via type conversion (e.g., static_cast). | |
const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
Definition at line 150 of file char16ptr.h.
Converts the pointer to char16_t *.
(Only defined if U_SIZEOF_WCHAR_T==2.)
p | pointer to be converted |
|
inline |
|
inline |
Destructor.
char16_t pointer access via type conversion (e.g., static_cast).
Definition at line 199 of file char16ptr.h.