From ac8b798457ff5a15e911b8ea8f6cad1fb09d748c Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Tue, 4 Dec 2007 07:28:37 +0000 Subject: [PATCH] Merged revisions 41596-41677 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r41613 | hkaiser | 2007-12-02 16:34:52 -0800 (Sun, 02 Dec 2007) | 1 line Wave: One more fix to enable standalone header compilation. ........ r41621 | hkaiser | 2007-12-02 17:16:28 -0800 (Sun, 02 Dec 2007) | 1 line Wave: Updated documentation. ........ r41625 | noel_belcourt | 2007-12-02 18:04:30 -0800 (Sun, 02 Dec 2007) | 4 lines Change macro logic to get included on SunOS. ........ r41626 | grafik | 2007-12-02 18:57:49 -0800 (Sun, 02 Dec 2007) | 1 line Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file. ........ r41627 | grafik | 2007-12-02 19:06:22 -0800 (Sun, 02 Dec 2007) | 1 line Work around some Windows CMD.EXE programs that will fail executing a totally empty batch file. ........ r41629 | grafik | 2007-12-02 20:05:39 -0800 (Sun, 02 Dec 2007) | 1 line Bump bjam to 3.1.17 after 3.1.16 release. ........ r41636 | nesotto | 2007-12-03 01:00:23 -0800 (Mon, 03 Dec 2007) | 1 line missing include ........ r41638 | nesotto | 2007-12-03 01:08:02 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1477 ........ r41639 | vladimir_prus | 2007-12-03 02:39:46 -0800 (Mon, 03 Dec 2007) | 2 lines Fix 64-bit windows msvc detection, again. ........ r41642 | t_schwinger | 2007-12-03 05:25:26 -0800 (Mon, 03 Dec 2007) | 3 lines Strips top-level cv-qualifiers off non-reference types, now. ........ r41644 | nesotto | 2007-12-03 07:16:16 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1488 ........ r41645 | nesotto | 2007-12-03 07:19:37 -0800 (Mon, 03 Dec 2007) | 1 line Ticket #1467 ........ r41646 | grafik | 2007-12-03 07:48:40 -0800 (Mon, 03 Dec 2007) | 1 line Switch testing to 3.1.16 bjam release. ........ r41647 | niels_dekker | 2007-12-03 10:14:37 -0800 (Mon, 03 Dec 2007) | 1 line Added value_init test for C style array of bytes ........ r41648 | niels_dekker | 2007-12-03 10:20:19 -0800 (Mon, 03 Dec 2007) | 1 line Added missing #include to value_init_test.cpp. (My mistake!) ........ r41649 | jhunold | 2007-12-03 10:47:17 -0800 (Mon, 03 Dec 2007) | 2 lines Silence unused paramter warning in release mode. ........ r41650 | jhunold | 2007-12-03 10:51:26 -0800 (Mon, 03 Dec 2007) | 2 lines Add cosmetic virtual detructors to silence compile warnings. ........ r41651 | t_schwinger | 2007-12-03 11:00:09 -0800 (Mon, 03 Dec 2007) | 3 lines adds explicit failures markup for function_types ........ r41653 | lbourdev | 2007-12-03 11:13:15 -0800 (Mon, 03 Dec 2007) | 3 lines GIL: Typo in documentation. ........ r41663 | noel_belcourt | 2007-12-03 12:50:58 -0800 (Mon, 03 Dec 2007) | 5 lines Changes to support pgi-7.0 on Linux. * pthread requires rt * force IEEE 754 math for slow, but correct, numerics ........ r41667 | niels_dekker | 2007-12-03 13:41:59 -0800 (Mon, 03 Dec 2007) | 2 lines Added value_init test for an value_initialized object allocated on the heap. ........ r41668 | anthonyw | 2007-12-03 14:00:26 -0800 (Mon, 03 Dec 2007) | 1 line check predicate before returning if we time out on a predicated version of timed_wait ........ [SVN r41678] --- include/boost/range/detail/sizer.hpp | 6 ++---- include/boost/range/sub_range.hpp | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/range/detail/sizer.hpp b/include/boost/range/detail/sizer.hpp index 5d75437..b4c1c91 100755 --- a/include/boost/range/detail/sizer.hpp +++ b/include/boost/range/detail/sizer.hpp @@ -25,12 +25,10 @@ namespace boost ////////////////////////////////////////////////////////////////////// template< typename T, std::size_t sz > - char& - sizer( const T BOOST_RANGE_ARRAY_REF()[sz] )[sz]; + char (& sizer( const T BOOST_RANGE_ARRAY_REF()[sz] ) )[sz]; template< typename T, std::size_t sz > - char& - sizer( T BOOST_RANGE_ARRAY_REF()[sz] )[sz]; + char (& sizer( T BOOST_RANGE_ARRAY_REF()[sz] ) )[sz]; } // namespace 'boost' diff --git a/include/boost/range/sub_range.hpp b/include/boost/range/sub_range.hpp index 802454b..35dfb27 100755 --- a/include/boost/range/sub_range.hpp +++ b/include/boost/range/sub_range.hpp @@ -11,6 +11,8 @@ #ifndef BOOST_RANGE_SUB_RANGE_HPP #define BOOST_RANGE_SUB_RANGE_HPP +#include + #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) || BOOST_WORKAROUND(BOOST_MSVC, == 1400) #pragma warning( disable : 4996 ) #endif