|
ICU4X
International Components for Unicode
|
Namespaces | |
| namespace | fn_trait_helpers |
Classes | |
| struct | as_ffi |
| struct | as_ffi< std::unique_ptr< T > > |
| struct | as_ffi< T, std::void_t< decltype(std::declval< std::remove_pointer_t< T > >().AsFFI())> > |
| class | basic_string_view_for_slice |
| struct | diplomat_c_span_convert |
| struct | Err |
| struct | fn_traits |
| struct | fn_traits< std::function< Ret(Args...)> > |
| struct | has_next |
| struct | has_next< T, std::void_t< decltype(std::declval< T >().next())> > |
| struct | inner |
| struct | inner< std::optional< T > > |
| struct | inner< std::unique_ptr< T > > |
| struct | inner< T * > |
| struct | is_optional |
| struct | is_optional< std::optional< T > > |
| struct | is_unique_ptr |
| struct | is_unique_ptr< std::unique_ptr< T > > |
| struct | next_to_iter_helper |
| Helper template enabling native iteration over unique ptrs to objects which implement next() More... | |
| struct | Ok |
| class | result |
| class | span |
| class | Utf8Error |
| struct | WriteTrait |
| struct | WriteTrait< std::string > |
Typedefs | |
| using | string_view_for_slice = basic_string_view_for_slice< char > |
| using | u16string_view_for_slice = basic_string_view_for_slice< char16_t > |
| using | string_view_span = span< const string_view_for_slice > |
| using | u16string_view_span = span< const u16string_view_for_slice > |
| template<typename T > | |
| using | as_ffi_t = typename as_ffi< T >::type |
| template<typename T > | |
| using | replace_string_view_t = std::conditional_t< std::is_same_v< T, std::string_view >, capi::DiplomatStringView, T > |
| template<typename T > | |
| using | diplomat_c_span_convert_t = typename diplomat_c_span_convert< T >::type |
| template<typename T > | |
| using | 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 | _grow_impl (capi::DiplomatWrite *w, uintptr_t requested) |
| template<class T > | |
| fn_traits (T) -> fn_traits< T > | |
| template<typename T , typename U = typename inner<T>::type> | |
| const U | get_inner_if_present (T v) |
Variables | |
| constexpr size_t | dynamic_extent = std::numeric_limits<std::size_t>::max() |
| template<typename T > | |
| constexpr bool | is_unique_ptr_v = is_unique_ptr<T>::value |
| template<typename T > | |
| constexpr bool | is_optional_v = is_optional<T>::value |
| template<typename T > | |
| constexpr bool | has_next_v = has_next<T>::value |
| using icu4x::diplomat::diplomat_c_span_convert_t = typedef typename diplomat_c_span_convert<T>::type |
| using icu4x::diplomat::replace_fn_t = typedef 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.
| using icu4x::diplomat::replace_string_view_t = typedef std::conditional_t<std::is_same_v<T, std::string_view>, capi::DiplomatStringView, T> |
| icu4x::diplomat::fn_traits | ( | T | ) | -> fn_traits< T > |
|
constexpr |
|
constexpr |
|
constexpr |