Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82537 - in trunk: boost/interprocess/smart_ptr libs/interprocess/doc
From: igaztanaga_at_[hidden]
Date: 2013-01-18 16:12:05


Author: igaztanaga
Date: 2013-01-18 16:12:04 EST (Fri, 18 Jan 2013)
New Revision: 82537
URL: http://svn.boost.org/trac/boost/changeset/82537

Log:
Fixes #7598
Text files modified:
   trunk/boost/interprocess/smart_ptr/unique_ptr.hpp | 10 ++++++----
   trunk/libs/interprocess/doc/Jamfile.v2 | 14 +++++++-------
   trunk/libs/interprocess/doc/interprocess.qbk | 4 ++--
   3 files changed, 15 insertions(+), 13 deletions(-)

Modified: trunk/boost/interprocess/smart_ptr/unique_ptr.hpp
==============================================================================
--- trunk/boost/interprocess/smart_ptr/unique_ptr.hpp (original)
+++ trunk/boost/interprocess/smart_ptr/unique_ptr.hpp 2013-01-18 16:12:04 EST (Fri, 18 Jan 2013)
@@ -82,7 +82,9 @@
 class unique_ptr
 {
    /// @cond
- struct nat {int for_bool_;};
+ struct nat {int for_bool;};
+ struct nat2 {int for_bool;};
+ typedef int nat2::*nullptr_t;
    typedef typename ipcdetail::add_reference<D>::type deleter_reference;
    typedef typename ipcdetail::add_reference<const D>::type deleter_const_reference;
    /// @endcond
@@ -175,7 +177,7 @@
    //!
    //!Throws: nothing.
    template <class U, class E>
- unique_ptr(BOOST_RV_REF_2_TEMPL_ARGS(unique_ptr, U, E) u,
+ unique_ptr(BOOST_RV_REF_BEG unique_ptr<U, E> BOOST_RV_REF_END u,
       typename ipcdetail::enable_if_c<
             ipcdetail::is_convertible<typename unique_ptr<U, E>::pointer, pointer>::value &&
             ipcdetail::is_convertible<E, D>::value &&
@@ -230,7 +232,7 @@
    //!
    //!Throws: nothing.
    template <class U, class E>
- unique_ptr& operator=(BOOST_RV_REF_2_TEMPL_ARGS(unique_ptr, U, E) u)
+ unique_ptr& operator=(BOOST_RV_REF_BEG unique_ptr<U, E> BOOST_RV_REF_END u)
    {
       reset(u.release());
       ptr_.second() = boost::move(u.get_deleter());
@@ -246,7 +248,7 @@
    //!Returns: *this.
    //!
    //!Throws: nothing.
- unique_ptr& operator=(int nat::*)
+ unique_ptr& operator=(nullptr_t)
    {
       reset();
       return *this;

Modified: trunk/libs/interprocess/doc/Jamfile.v2
==============================================================================
--- trunk/libs/interprocess/doc/Jamfile.v2 (original)
+++ trunk/libs/interprocess/doc/Jamfile.v2 2013-01-18 16:12:04 EST (Fri, 18 Jan 2013)
@@ -36,8 +36,8 @@
                                    \"BOOST_CONTAINER_NOEXCEPT=\" \\
                                    \"BOOST_INTERPROCESS_ENABLE_MOVE_EMULATION(a)= \" \\
                                    \"BOOST_RV_REF(a)=a &&\" \\
- \"BOOST_RV_REF_2_TEMPL_ARGS(a,b,c)=a &&\" \\
- \"BOOST_RV_REF_3_TEMPL_ARGS(a,b,c,d)=a &&\" \\
+ \"BOOST_RV_REF_BEG=\" \\
+ \"BOOST_RV_REF_END=&&\" \\
                                    \"BOOST_FWD_REF(a)=a &&\""
 
         <xsl:param>"boost.doxygen.reftitle=Boost.Interprocess Reference"
@@ -61,21 +61,21 @@
         <dependency>autodoc
         <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
         # Build requirements go here:
-
+
         # <auto-index>on (or off) one turns on (or off) indexing:
         <auto-index>on
-
+
         # Turns on (or off) auto-index-verbose for diagnostic info.
         # This is highly recommended until you have got all the many details correct!
         <auto-index-verbose>on
-
+
         # Choose the indexing method (separately for html and PDF) - see manual.
         # Choose indexing method for PDFs:
         <format>pdf:<auto-index-internal>off
-
+
         # Choose indexing method for html:
         <format>html:<auto-index-internal>on
-
+
         # Set the name of the script file to use (index.idx is popular):
         <auto-index-script>$(here)/index.idx
         # Commands in the script file should all use RELATIVE PATHS

Modified: trunk/libs/interprocess/doc/interprocess.qbk
==============================================================================
--- trunk/libs/interprocess/doc/interprocess.qbk (original)
+++ trunk/libs/interprocess/doc/interprocess.qbk 2013-01-18 16:12:04 EST (Fri, 18 Jan 2013)
@@ -6713,8 +6713,8 @@
 
 [section:release_notes_boost_1_54_00 Boost 1.54 Release]
 
-* Fixed bug [@https://svn.boost.org/trac/boost/ticket/7484 #7484].
-
+* Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7484 #7484],
+ [@https://svn.boost.org/trac/boost/ticket/7598 #7598].
 [endsect]
 
 [section:release_notes_boost_1_53_00 Boost 1.53 Release]


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