From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- libcult/documentation/mm/index.xhtml | 77 ------------------------------------ 1 file changed, 77 deletions(-) delete mode 100644 libcult/documentation/mm/index.xhtml (limited to 'libcult/documentation/mm/index.xhtml') diff --git a/libcult/documentation/mm/index.xhtml b/libcult/documentation/mm/index.xhtml deleted file mode 100644 index 8ed79d4..0000000 --- a/libcult/documentation/mm/index.xhtml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - libcult/documentation/mm - - - - - - - - - - - - - - -
-

The libcult memory management library provides -non-intrusive reference counter and a couple of smart pointers.

- -

It also overrides and overloads default memory management operators -(operator new and operator delete) to allow -special service objects (reference counter being one of them) to be -constructed in the memory block preceding the instance. This allows -transparent instrumentation of objects with a special -functionality like reference counting or locking.

- -

The two flavors of smart pointers are exclusive (called -Evptr, from exclusive -pointer) and shared (called Shptr, -from shared pointer) pointers.

- -

The exclusive pointer has semantics similar to std::auto_ptr -(i.e., exclusive ownership of the object pointed to) except that it performs -automatic copying of the object pointed to when copied or assigned to another -exclusive pointer. Built-in copy-on-write optimization eliminates unnecessary -copying when instances of exclusive pointers are returned from functions or -stored in containers.

- -

The shared pointer has standard semantics of a reference-counting smart -pointer.

-
- -
-

Copyright © 2005-2010 Boris Kolpackov.

- -
-Permission is granted to copy, distribute and/or modify this document under -the terms of the GNU Free -Documentation License, version 1.2; with no Invariant Sections, no -Front-Cover Texts and no Back-Cover Texts. -
-
- - - -- cgit v1.2.3