ICU 76.1 76.1
Loading...
Searching...
No Matches
icu::UMemory Class Reference

UMemory is the common ICU base class. More...

#include <uobject.h>

Inheritance diagram for icu::UMemory:
icu::ByteSink icu::BytesTrie icu::BytesTrie::Iterator icu::BytesTrie::State icu::CaseMap icu::ConstrainedFieldPosition icu::Edits icu::Edits::Iterator icu::ErrorCode icu::FormattedDateInterval icu::FormattedList icu::FormattedRelativeDateTime icu::IDNAInfo icu::Locale::ConvertingIterator< Iter, Conv > icu::Locale::RangeIterator< Iter > icu::LocaleMatcher icu::LocaleMatcher::Builder icu::LocaleMatcher::Result icu::MessagePattern::Part icu::SimpleFormatter icu::StringPiece icu::TimeZoneNames::MatchInfoCollection icu::UCharsTrie icu::UCharsTrie::Iterator icu::UCharsTrie::State icu::UObject icu::message2::MFDataModel::Builder icu::message2::data_model::Expression::Builder icu::message2::data_model::Markup::Builder icu::message2::data_model::Operator::Builder icu::message2::data_model::Pattern::Builder icu::message2::data_model::SelectorKeys::Builder icu::number::FormattedNumber icu::number::FormattedNumberRange icu::number::IntegerWidth icu::number::LocalizedNumberFormatter icu::number::LocalizedNumberRangeFormatter icu::number::Notation icu::number::Precision icu::number::Scale icu::number::SimpleNumber icu::number::SimpleNumberFormatter icu::number::UnlocalizedNumberFormatter icu::number::UnlocalizedNumberRangeFormatter icu::number::impl::RangeMacroProps

Detailed Description

UMemory is the common ICU base class.

All other ICU C++ classes are derived from UMemory (starting with ICU 2.4).

This is primarily to make it possible and simple to override the C++ memory management by adding new/delete operators to this base class.

To override ALL ICU memory management, including that from plain C code, replace the allocation functions declared in cmemory.h

UMemory does not contain any virtual functions. Common "boilerplate" functions are defined in UObject.

Stable:
ICU 2.4

Definition at line 115 of file uobject.h.


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