$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83914 - trunk/libs/smart_ptr
From: pdimov_at_[hidden]
Date: 2013-04-15 11:11:33
Author: pdimov
Date: 2013-04-15 11:11:29 EDT (Mon, 15 Apr 2013)
New Revision: 83914
URL: http://svn.boost.org/trac/boost/changeset/83914
Log:
Fix new double(n) to new double[n].
Text files modified: 
   trunk/libs/smart_ptr/shared_ptr.htm |     4 ++--                                    
   1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/smart_ptr/shared_ptr.htm
==============================================================================
--- trunk/libs/smart_ptr/shared_ptr.htm	(original)
+++ trunk/libs/smart_ptr/shared_ptr.htm	2013-04-15 11:11:29 EDT (Mon, 15 Apr 2013)
@@ -61,8 +61,8 @@
                         the template parameter. There is almost no difference between using an unsized array, <code>T[]</code>,
                         and a sized array, <code>T[N]</code>; the latter just enables <code>operator[]</code> to perform a range check
                         on the index.</p>
-		<blockquote><em>Example:</em><br /><pre>shared_ptr<double[1024]> p1( new double(1024) );
-shared_ptr<double[]> p2( new double(n) );
+		<blockquote><em>Example:</em><br /><pre>shared_ptr<double[1024]> p1( new double[1024] );
+shared_ptr<double[]> p2( new double[n] );
 </pre></blockquote>
 
                 <h2 id="BestPractices">Best Practices</h2>