A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/char16ptr_8h.html below:

ICU 77.1: common/unicode/char16ptr.h File Reference

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

#include "unicode/utypes.h"
#include <cstddef>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

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...
 

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.

◆ U_ALIASING_BARRIER #define U_ALIASING_BARRIER (   ptr )

Barrier for pointer anti-aliasing optimizations even across function boundaries.

Internal:
Do not use. This API is for internal use only.

Definition at line 37 of file char16ptr.h.

◆ toOldUCharPtr() [1/2] OldUChar* U_ICU_NAMESPACE_OR_INTERNAL::toOldUCharPtr ( char16_t *  p ) inline ◆ toOldUCharPtr() [2/2] const OldUChar* U_ICU_NAMESPACE_OR_INTERNAL::toOldUCharPtr ( const char16_t *  p ) inline ◆ toU16StringView() [1/2] std::u16string_view icu::internal::toU16StringView ( std::basic_string_view< uint16_t >  sv ) inline ◆ toU16StringView() [2/2] std::u16string_view icu::internal::toU16StringView ( std::u16string_view  sv ) inline ◆ toU16StringViewNullable() [1/2]

template<typename T , typename = typename std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>

std::u16string_view icu::internal::toU16StringViewNullable ( const T &  text ) inline ◆ toU16StringViewNullable() [2/2]

template<typename T , typename = typename std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>, typename = void>

std::u16string_view icu::internal::toU16StringViewNullable ( const T &  text ) inline ◆ toUCharPtr() [1/2] UChar* U_ICU_NAMESPACE_OR_INTERNAL::toUCharPtr ( char16_t *  p ) inline ◆ toUCharPtr() [2/2] const UChar* U_ICU_NAMESPACE_OR_INTERNAL::toUCharPtr ( const char16_t *  p ) inline ◆ uprv_char16PtrFromUChar()

template<typename T , typename = std::enable_if_t<std::is_same_v<T, UChar>>>

const char16_t* U_ICU_NAMESPACE_OR_INTERNAL::uprv_char16PtrFromUChar ( const T *  p ) inline ◆ uprv_char16PtrFromUint16() const char16_t* U_ICU_NAMESPACE_OR_INTERNAL::uprv_char16PtrFromUint16 ( const uint16_t *  p ) inline

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4