ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::CaseMapLocales Class Reference

#include <CaseMapLocales.d.hpp>

Static Public Member Functions

static const icu4x::Localeaz ()
 
static const icu4x::Localeel ()
 
static const icu4x::Localehy ()
 
static const icu4x::Localelt ()
 
static const icu4x::Localenl ()
 
static const icu4x::Localetr ()
 
static void operator delete (void *ptr)
 

Detailed Description

A type that provides access to preconstructred Locales, to avoid needing to parse user locales when the code knows what locale it wants.

In most cases, you should be taking a locale from the user, but in some limited cases you may be parsing from a limited set of locales and not wish to pull in full-fledged parsing code.

This type is for locales that have special meaning to CaseMapper, since it only cares about a small set of locales and locale parsing takes up a relatively large amount of binary size in the context of casemapping.

Member Function Documentation

◆ az()

const icu4x::Locale & icu4x::CaseMapLocales::az ( )
inlinestatic

Returns a borrowed "az" Locale, without allocating.

◆ el()

const icu4x::Locale & icu4x::CaseMapLocales::el ( )
inlinestatic

Returns a borrowed "el" Locale, without allocating.

◆ hy()

const icu4x::Locale & icu4x::CaseMapLocales::hy ( )
inlinestatic

Returns a borrowed "hy" Locale, without allocating.

◆ lt()

const icu4x::Locale & icu4x::CaseMapLocales::lt ( )
inlinestatic

Returns a borrowed "lt" Locale, without allocating.

◆ nl()

const icu4x::Locale & icu4x::CaseMapLocales::nl ( )
inlinestatic

Returns a borrowed "nl" Locale, without allocating.

◆ operator delete()

void icu4x::CaseMapLocales::operator delete ( void * ptr)
inlinestatic

◆ tr()

const icu4x::Locale & icu4x::CaseMapLocales::tr ( )
inlinestatic

Returns a borrowed "tr" Locale, without allocating.


The documentation for this class was generated from the following files: