From 67ffda668482e8ad88807fd9ae08338cd7c3a30e Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 21 Feb 2015 18:13:28 +0000 Subject: [PATCH 1/2] Fix for BOOST_ALIGNMENT_OF being set to an "unknown" value. --- include/boost/move/detail/type_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index ad29e7f..ac0bbcd 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -847,7 +847,7 @@ struct alignment_of_impl // Using a combination of the two seems to make the most of a bad job: : alignment_logic< sizeof(alignment_of_hack) - 2*sizeof(T), __alignof(T)> {}; -#elif !defined(BOOST_ALIGNMENT_OF) +#elif !defined(BOOST_MOVE_ALIGNMENT_OF) : alignment_logic< sizeof(alignment_of_hack) - 2*sizeof(T), sizeof(T)> {}; #else From 0ebc3f468290cd4bd8ef8c715d1cdf512928b0f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 23 Feb 2015 23:26:06 +0100 Subject: [PATCH 2/2] Updated changelog with #11044 --- doc/move.qbk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/move.qbk b/doc/move.qbk index 2c9a807..729e92a 100644 --- a/doc/move.qbk +++ b/doc/move.qbk @@ -767,6 +767,8 @@ Many thanks to all boosters that have tested, reviewed and improved the library. * Added [macroref BOOST_MOVE_BASE BOOST_MOVE_BASE] utility. * Added [funcref boost::adl_move_swap adl_move_swap] utility. * Reduced dependencies on other Boost libraries to make the library a bit more lightweight. +* Fixed bugs: + * [@https://svn.boost.org/trac/boost/ticket/11044 Trac #11044: ['"boost::rv inherits off union, when such passed as template argument"]]. [endsect]