UCommon
|
A thread-safe atomic heap management system. More...
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/object.h>
#include <ucommon/thread.h>
Go to the source code of this file.
Data Structures | |
class | ucommon::TypeRef |
Smart pointer base class for auto-retained objects. More... | |
class | ucommon::TypeRef::Counted |
Heap base-class container for typeref objects. More... | |
Namespaces | |
ucommon | |
Common namespace for all ucommon objects. | |
Functions | |
template<typename T > | |
typeref< T > | ucommon::typeref_cast (T x) |
Variables | |
TypeRelease | ucommon::auto_release |
TypeRelease | ucommon::release_later |
TypeRelease | ucommon::secure_release |
A thread-safe atomic heap management system.
This is used to manage immutable heap instances of object types that are reference counted and automatically deleted when no longer used. All references to the object are through smart typeref pointers. Both specific classes for strings and byte arrays, and generic templates to support generic types in the heap are offered.
Definition in file typeref.h.