update boost on linux

This commit is contained in:
Bassem Girgis
2019-08-10 16:06:25 -05:00
parent 76ad52be58
commit 861b918727
5363 changed files with 483306 additions and 116507 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright 2006-2014 Joaquin M Lopez Munoz.
/* Copyright 2006-2018 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@@ -67,7 +67,7 @@ public:
{
typedef typename core::lock_type lock_type;
core::init();
lock_type lock(core::mutex());
lock_type lock(core::mutex());(void)lock;
if(chk(h))core::factory().erase(h);
}
};
@@ -178,7 +178,7 @@ private:
{
init();
entry_type e(x);
lock_type lock(mutex());
lock_type lock(mutex());(void)lock;
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
base_handle_type h(factory().insert(std::move(e)));
#else
@@ -201,7 +201,7 @@ private:
{
init();
entry_type e((rep_type(x)));
lock_type lock(mutex());
lock_type lock(mutex());(void)lock;
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
base_handle_type h(factory().insert(std::move(e)));
@@ -226,7 +226,7 @@ private:
{
init();
entry_type e(std::move(x));
lock_type lock(mutex());
lock_type lock(mutex());(void)lock;
base_handle_type h(factory().insert(std::move(e)));
BOOST_TRY{
@@ -245,7 +245,7 @@ private:
{
init();
entry_type e(rep_type(std::move(x)));
lock_type lock(mutex());
lock_type lock(mutex());(void)lock;
base_handle_type h(factory().insert(std::move(e)));
BOOST_TRY{
ValuePolicy::move_value(

View File

@@ -1,4 +1,4 @@
/* Copyright 2006-2008 Joaquin M Lopez Munoz.
/* Copyright 2006-2018 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@@ -30,13 +30,18 @@
#include <boost/detail/workaround.hpp>
#if BOOST_WORKAROUND(__GNUC__, <4)||\
BOOST_WORKAROUND(__GNUC__,==4)&&(__GNUC_MINOR__<2)
BOOST_WORKAROUND(__GNUC__,==4)&&(__GNUC_MINOR__<2)||\
BOOST_WORKAROUND(__GNUC__, ==7)&&( __cplusplus>=201703L)||\
BOOST_WORKAROUND(__GNUC__, >=8)&&( __cplusplus>=201103L)
/* The default trick on which the macro is based, namely adding a int=0
* defaulted template parameter, does not work in GCC prior to 4.2 due to
* an unfortunate compiler non-standard extension, as explained in
* http://lists.boost.org/boost-users/2007/07/29866.php
* We resort to an uglier technique, adding defaulted template parameters
* so as to exceed BOOST_MPL_LIMIT_METAFUNCTION_ARITY.
* As it happens, GCC 7 in C++17 mode and GCC 8 (and presumably later) in
* C++11 mode (and presumably later) go back to this old behavior, anticipating
* the resolution of CWG DR 150 (see P0522R0).
* In these cases we resort to an uglier technique, adding defaulted template
* parameters so as to exceed BOOST_MPL_LIMIT_METAFUNCTION_ARITY.
*/
#include <boost/mpl/limits/arity.hpp>

View File

@@ -1,4 +1,4 @@
/* Copyright 2006-2014 Joaquin M Lopez Munoz.
/* Copyright 2006-2018 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
@@ -215,11 +215,11 @@ struct regular_key_value:value_marker
#undef BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY
rep_type(const rep_type& x):key(x.key),value_ptr(0){}
rep_type(const value_type& x):key(no_key_from_value_failure()){}
rep_type(const value_type&):key(no_key_from_value_failure()){}
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
rep_type(rep_type&& x):key(std::move(x.key)),value_ptr(0){}
rep_type(value_type&& x):key(no_key_from_value_failure()){}
rep_type(value_type&&):key(no_key_from_value_failure()){}
#endif
~rep_type()