|
ICU4X
International Components for Unicode
|
#include <optional>#include <string>#include <string_view>#include <type_traits>#include <variant>#include <cstdint>#include <functional>#include <memory>#include <limits>#include <array>Go to the source code of this file.
Namespaces | |
| namespace | icu4x |
| namespace | icu4x::diplomat |
| namespace | icu4x::diplomat::fn_trait_helpers |
Macros | |
| #define | DIPLOMAT_LIFETIME_BOUND |
| #define | MAKE_SLICES(name, c_ty) |
| #define | MAKE_SLICES_AND_OPTIONS(name, c_ty) |
| #define | MAKE_SLICE_CONVERTERS(name, c_ty) |
Typedefs | |
| using | icu4x::diplomat::string_view_for_slice = basic_string_view_for_slice< char > |
| using | icu4x::diplomat::u16string_view_for_slice = basic_string_view_for_slice< char16_t > |
| using | icu4x::diplomat::string_view_span = span< const string_view_for_slice > |
| using | icu4x::diplomat::u16string_view_span = span< const u16string_view_for_slice > |
| template<typename T > | |
| using | icu4x::diplomat::as_ffi_t = typename as_ffi< T >::type |
| template<typename T > | |
| using | icu4x::diplomat::replace_string_view_t = std::conditional_t< std::is_same_v< T, std::string_view >, capi::DiplomatStringView, T > |
| template<typename T > | |
| using | icu4x::diplomat::diplomat_c_span_convert_t = typename diplomat_c_span_convert< T >::type |
| template<typename T > | |
| using | icu4x::diplomat::replace_fn_t = diplomat_c_span_convert_t< replace_string_view_t< as_ffi_t< T > > > |
| Replace the argument types from the std::function with the argument types for th function pointer. | |
Functions | |
| bool | icu4x::diplomat::_grow_impl (capi::DiplomatWrite *w, uintptr_t requested) |
| template<typename T > | |
| T | icu4x::diplomat::fn_trait_helpers::replace (replace_fn_t< T > val) |
| template<typename T > | |
| replace_fn_t< T > | icu4x::diplomat::fn_trait_helpers::replace_ret (T val) |
| template<typename TOut , typename T > | |
| TOut | icu4x::diplomat::fn_trait_helpers::replace_optional_ret (std::optional< T > optional) |
| template<class T > | |
| icu4x::diplomat::fn_traits (T) -> fn_traits< T > | |
| template<typename T , typename U = typename inner<T>::type> | |
| const U | icu4x::diplomat::get_inner_if_present (T v) |
Variables | |
| constexpr size_t | icu4x::diplomat::dynamic_extent = std::numeric_limits<std::size_t>::max() |
| template<typename T > | |
| constexpr bool | icu4x::diplomat::is_unique_ptr_v = is_unique_ptr<T>::value |
| template<typename T > | |
| constexpr bool | icu4x::diplomat::is_optional_v = is_optional<T>::value |
| template<typename T > | |
| constexpr bool | icu4x::diplomat::has_next_v = has_next<T>::value |
| #define DIPLOMAT_LIFETIME_BOUND |
| #define MAKE_SLICE_CONVERTERS | ( | name, | |
| c_ty | |||
| ) |
| #define MAKE_SLICES | ( | name, | |
| c_ty | |||
| ) |
| #define MAKE_SLICES_AND_OPTIONS | ( | name, | |
| c_ty | |||
| ) |