Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82350 - in website/public_html/live: feed/history generated generated/state users/history
From: dnljms_at_[hidden]
Date: 2013-01-04 09:39:30


Author: danieljames
Date: 2013-01-04 09:39:30 EST (Fri, 04 Jan 2013)
New Revision: 82350
URL: http://svn.boost.org/trac/boost/changeset/82350

Log:
Website: More smart_ptr release notes.
Text files modified:
   website/public_html/live/feed/history/boost_1_53_0.qbk | 8 ++++++++
   website/public_html/live/generated/dev.rss | 20 ++++++++++++++++++++
   website/public_html/live/generated/state/feed-pages.txt | 6 +++---
   website/public_html/live/users/history/version_1_53_0.html | 20 ++++++++++++++++++++
   4 files changed, 51 insertions(+), 3 deletions(-)

Modified: website/public_html/live/feed/history/boost_1_53_0.qbk
==============================================================================
--- website/public_html/live/feed/history/boost_1_53_0.qbk (original)
+++ website/public_html/live/feed/history/boost_1_53_0.qbk 2013-01-04 09:39:30 EST (Fri, 04 Jan 2013)
@@ -176,6 +176,14 @@
       value initialization. See the
       '[@/libs/smart_ptr/make_shared_array.html make_shared and allocate_shared for arrays]'
       page for more information.
+ * `shared_ptr` can now be used to hold a pointer to a dynamically
+ allocated array. This is accomplished by using an array type
+ (`T[]` or `T[N]`) as the template parameter.
+ * Smart pointers now use `explicit operator bool` on C++11
+ compilers. This can break code that passes a smart pointer to a
+ function taking a `bool`, or that returns a smart pointer from a
+ function with a `bool` return type. Please use `p != 0` or `!!p`
+ in such cases.
     
 * [phrase library..[@/libs/algorithm/string StringAlgo]:]
   * Fixed a bug where it wouldn't find overlapping patterns ([ticket 7784]).

Modified: website/public_html/live/generated/dev.rss
==============================================================================
--- website/public_html/live/generated/dev.rss (original)
+++ website/public_html/live/generated/dev.rss 2013-01-04 09:39:30 EST (Fri, 04 Jan 2013)
@@ -653,6 +653,26 @@
                       and allocate_shared for arrays</a>' page for more information.
                     </div>
                   </li>
+ <li>
+ <div>
+ <code><span class="identifier">shared_ptr</span></code>
+ can now be used to hold a pointer to a dynamically allocated
+ array. This is accomplished by using an array type (<code><span class="identifier">T</span><span class="special">[]</span></code>
+ or <code><span class="identifier">T</span><span class="special">[</span><span class="identifier">N</span><span class="special">]</span></code>)
+ as the template parameter.
+ </div>
+ </li>
+ <li>
+ <div>
+ Smart pointers now use <code><span class="keyword">explicit</span>
+ <span class="keyword">operator</span> <span class="keyword">bool</span></code>
+ on C++11 compilers. This can break code that passes a smart
+ pointer to a function taking a <code><span class="keyword">bool</span></code>,
+ or that returns a smart pointer from a function with a <code><span class="keyword">bool</span></code> return type. Please use
+ <code><span class="identifier">p</span> <span class="special">!=</span>
+ <span class="number">0</span></code> or <code><span class="special">!!</span><span class="identifier">p</span></code> in such cases.
+ </div>
+ </li>
                 </ul>
               </div>
             </li>

Modified: website/public_html/live/generated/state/feed-pages.txt
==============================================================================
--- website/public_html/live/generated/state/feed-pages.txt (original)
+++ website/public_html/live/generated/state/feed-pages.txt 2013-01-04 09:39:30 EST (Fri, 04 Jan 2013)
@@ -2100,7 +2100,7 @@
 -id
 "version_1_53_0
 -last_modified
-.1357250481.23
+.1357310348.71
 -location
 "users/history/version_1_53_0.html
 -notice
@@ -2113,11 +2113,11 @@
 " New Libraries: Updated Libraries:
 "
 -qbk_hash
-"4e0b745d8b636c3091ff91d433e88f55622917dd5935872c450e812c1c345728
+"6dcb5d6509affc079bfd99b523e315a3e96e9f9227f877302d666f2c1fb85bf6
 -release_status
 "dev
 -rss_hash
-"c979cd2a94467069d25875fe08891ab0587f0c9e331eccd0b41e82bb0235a785
+"2f22d7d4714440481bcac2a92d4fdc8906132e9604412e3c1941b7e2ae4f036a
 -title
 "Version 1.53.0
 -type

Modified: website/public_html/live/users/history/version_1_53_0.html
==============================================================================
--- website/public_html/live/users/history/version_1_53_0.html (original)
+++ website/public_html/live/users/history/version_1_53_0.html 2013-01-04 09:39:30 EST (Fri, 04 Jan 2013)
@@ -690,6 +690,26 @@
                       and allocate_shared for arrays</a>' page for more information.
                     </div>
                   </li>
+ <li>
+ <div>
+ <code><span class="identifier">shared_ptr</span></code>
+ can now be used to hold a pointer to a dynamically allocated
+ array. This is accomplished by using an array type (<code><span class="identifier">T</span><span class="special">[]</span></code>
+ or <code><span class="identifier">T</span><span class="special">[</span><span class="identifier">N</span><span class="special">]</span></code>)
+ as the template parameter.
+ </div>
+ </li>
+ <li>
+ <div>
+ Smart pointers now use <code><span class="keyword">explicit</span>
+ <span class="keyword">operator</span> <span class="keyword">bool</span></code>
+ on C++11 compilers. This can break code that passes a smart
+ pointer to a function taking a <code><span class="keyword">bool</span></code>,
+ or that returns a smart pointer from a function with a <code><span class="keyword">bool</span></code> return type. Please use
+ <code><span class="identifier">p</span> <span class="special">!=</span>
+ <span class="number">0</span></code> or <code><span class="special">!!</span><span class="identifier">p</span></code> in such cases.
+ </div>
+ </li>
                 </ul>
               </div>
             </li>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk