summaryrefslogtreecommitdiff
path: root/libs/move
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:08:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:09:00 +0900
commitb5c87084afaef42b2d058f68091be31988a6a874 (patch)
treeadef9a65870a41181687e11d57fdf98e7629de3c /libs/move
parent34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff)
downloadboost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz
boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2
boost-b5c87084afaef42b2d058f68091be31988a6a874.zip
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'libs/move')
-rw-r--r--libs/move/doc/move.qbk7
-rw-r--r--libs/move/test/unique_ptr_types.cpp11
2 files changed, 18 insertions, 0 deletions
diff --git a/libs/move/doc/move.qbk b/libs/move/doc/move.qbk
index efb84ecdb0..f380d5b293 100644
--- a/libs/move/doc/move.qbk
+++ b/libs/move/doc/move.qbk
@@ -788,6 +788,13 @@ Many thanks to all boosters that have tested, reviewed and improved the library.
[section:release_notes Release Notes]
+[section:release_notes_boost_1_64 Boost 1.64 Release]
+
+* Fixed bug:
+ * [@https://svn.boost.org/trac/boost/ticket/12920 #12920 ['"movelib::unique_ptr: incorrect pointer type for nested array"]].
+
+[endsect]
+
[section:release_notes_boost_1_62 Boost 1.62 Release]
* Documented new limitations reported in Trac tickets
diff --git a/libs/move/test/unique_ptr_types.cpp b/libs/move/test/unique_ptr_types.cpp
index 799b41740a..7dbc0c376c 100644
--- a/libs/move/test/unique_ptr_types.cpp
+++ b/libs/move/test/unique_ptr_types.cpp
@@ -75,6 +75,17 @@ void test()
typedef bml::unique_ptr<int[5], Deleter> P;
BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value));
}
+ //Unbounded array of bounded array unique_ptr
+ {
+ typedef int int_5_t [5];
+ typedef bml::unique_ptr<int_5_t[]> P;
+ BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, int_5_t*>::value));
+ }
+ {
+ typedef int int_5_t [5];
+ typedef bml::unique_ptr<int_5_t[], Deleter> P;
+ BOOST_STATIC_ASSERT((bmupmu::is_same<P::pointer, Deleter::pointer>::value));
+ }
}
} //namespace unique_ptr_pointer_type {