char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
More...
#include <char16ptr.h>
char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
- Stable:
- ICU 59
Definition at line 42 of file char16ptr.h.
◆ Char16Ptr() [1/4]
icu::Char16Ptr::Char16Ptr |
( |
char16_t * |
p | ) |
|
|
inline |
Copies the pointer.
- Parameters
-
- Stable:
- ICU 59
◆ Char16Ptr() [2/4]
icu::Char16Ptr::Char16Ptr |
( |
uint16_t * |
p | ) |
|
|
inline |
Converts the pointer to char16_t *.
- Parameters
-
- Stable:
- ICU 59
◆ Char16Ptr() [3/4]
icu::Char16Ptr::Char16Ptr |
( |
wchar_t * |
p | ) |
|
|
inline |
Converts the pointer to char16_t *.
(Only defined if U_SIZEOF_WCHAR_T==2.)
- Parameters
-
- Stable:
- ICU 59
◆ Char16Ptr() [4/4]
icu::Char16Ptr::Char16Ptr |
( |
std::nullptr_t |
p | ) |
|
|
inline |
nullptr constructor.
- Parameters
-
- Stable:
- ICU 59
◆ ~Char16Ptr()
icu::Char16Ptr::~Char16Ptr |
( |
| ) |
|
|
inline |
◆ get()
char16_t* icu::Char16Ptr::get |
( |
| ) |
const |
|
inline |
Pointer access.
- Returns
- the wrapped pointer
- Stable:
- ICU 59
◆ operator char16_t *()
icu::Char16Ptr::operator char16_t * |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: