summaryrefslogtreecommitdiff
path: root/documentation/cxx/tree/manual/index.xhtml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:01:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:01:08 +0200
commite6d52ecfa2379b1f7f3007e65ded5e4076abc5e9 (patch)
tree70258beb5308c1ec041daea08d41aa745741a0c6 /documentation/cxx/tree/manual/index.xhtml
parent3f8c237b1abe02df8147170f2fc037edc3f384db (diff)
Add support in buffer class for reusing existing buffer without freeing it
Diffstat (limited to 'documentation/cxx/tree/manual/index.xhtml')
-rw-r--r--documentation/cxx/tree/manual/index.xhtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/cxx/tree/manual/index.xhtml b/documentation/cxx/tree/manual/index.xhtml
index a3e4c44..f1696c0 100644
--- a/documentation/cxx/tree/manual/index.xhtml
+++ b/documentation/cxx/tree/manual/index.xhtml
@@ -1511,8 +1511,9 @@ public:
};
</pre>
- <p>If the <code>assume_ownership</code> argument to the constructor
- is <code>true</code>, the instance assumes ownership of the
+ <p>The last overloaded constructor reuses an existing data buffer instead
+ of making a copy. If the <code>assume_ownership</code> argument is
+ <code>true</code>, the instance assumes ownership of the
memory block pointed to by the <code>data</code> argument and will
eventually release it by calling <code>operator delete</code>. The
<code>capacity</code> and <code>size</code> modifier functions return