ICU 60.2 60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Data Structures | Namespaces | Functions
char16ptr.h File Reference

C++ API: char16_t pointer wrappers with implicit conversion from bit-compatible raw pointer types. More...

`#include <cstddef>`
`#include "unicode/utypes.h"`

Go to the source code of this file.

## Data Structures
class | icu::Char16Ptr
| char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types. More...
class | icu::ConstChar16Ptr
| const char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types. More...

## Namespaces
| icu
| File coll.h.

## Functions
const UChar * | icu::toUCharPtr (const char16_t *p)
| Converts from const char16_t * to const UChar *. More...
UChar * | icu::toUCharPtr (char16_t *p)
| Converts from char16_t * to UChar *. More...
const OldUChar * | icu::toOldUCharPtr (const char16_t *p)
| Converts from const char16_t * to const OldUChar *. More...
OldUChar * | icu::toOldUCharPtr (char16_t *p)
| Converts from char16_t * to OldUChar *. More...

## Detailed Description

C++ API: char16_t pointer wrappers with implicit conversion from bit-compatible raw pointer types.

Also conversion functions from char16_t * to UChar * and OldUChar *.

Definition in file char16ptr.h.