⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news.xhtml

📁 ACE编程的一本经典BIBLE的源代码,喜欢网络编程的别错过
💻 XHTML
字号:
<?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>
<!-- News.xhtml,v 1.1 2005/05/24 04:33:12 turkaye Exp -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -