summaryrefslogtreecommitdiff
path: root/contrib/utility/Documentation/ReferenceCounting/News.xhtml
blob: 472a97e9e662cbcd7329f9852a9fb4d4486175e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<!--

file      : Documentation/ReferenceCounting/News.xhtml
author    : Boris Kolpackov <boris@kolpackov.net>
copyright : Copyright (c) 2002-2003 Boris Kolpackov
license   : http://kolpackov.net/license.html

-->

<head>

  <title>Reference Counting Library News</title>

  <meta name="author" content="Boris Kolpackov"/>
  <meta name="copyright" content="&copy; 2001-2003 Boris Kolpackov"/>
  <meta name="keywords" content="news,C++,reference,counting,smart,pointer"/>
  <meta name="description" content="Reference Counting Library News"/>

  <link rel="stylesheet" type="text/css" href="../Style/Default.css"/>

</head>

<body>

<h1>1.1.0</h1>
<ul class="multiline">
<li>New regression test coverage.</li>

<li>
<code>
<a href="SmartPtr.hpp.html">Utility::ReferenceCounting::SmartPtr</a>
</code>
: added
<pre class="cpp-code">
template&lt;typename Other&gt;
SmartPtr (SmartPtr&lt;Other&gt; const&amp;)
</pre>
and
<pre class="cpp-code">
template&lt;typename Other&gt;
operator= (SmartPtr&lt;Other&gt; const&amp;)
</pre>
</li>

<li>
<code>
<a href="SmartPtr.hpp.html">Utility::ReferenceCounting::SmartPtr</a>
</code>
: added
<pre class="cpp-code">typedef T Type;</pre>
in order to provide access to underlying type.
</li>

<li>
<code><a href="index.xhtml">Utility::ReferenceCounting</a></code>
: added
<pre class="cpp-code">
template &lt;typename D, typename S&gt;
D*
smart_cast (SmartPtr&lt;S&gt; const&amp;)
</pre>
to provide more convenient <code>dynamic_cast</code> functionality.
</li>

<li>
<code><a href="index.xhtml">Utility::ReferenceCounting</a></code>
: added
<pre class="cpp-code">
template &lt;typename T&gt;
SmartPtr&lt;T&gt; acquire (T*)
</pre>
</li>

<li>
New
<code>
<a href="StrictPtr.hpp.html">Utility::ReferenceCounting::StrictPtr</a>
</code>
automatic pointer.
</li>

</ul>

</body>
</html>
<!-- $Id$ -->