diff --git a/ChangeLog b/ChangeLog index 13cf705a2..9c1eb636c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2024-12-13 Dirk Eddelbuettel + + * DESCRIPTION (Version, Date): Release 1.87.0-0 pre-release + +2024-12-12 Dirk Eddelbuettel + + * inst/include/boost/*: Upgraded to Boost 1.87.0, as usual with + requested patch to comment out 'diagnostic ignored' for CRAN + * local/patches/bh_1.87.0-0.patch: Added new single patch file + + * local/scripts/CreateBoost.sh: Update for 1.87.0, no additions + 2024-08-05 Dirk Eddelbuettel * README.md: Switch two more some URLs from http to https diff --git a/DESCRIPTION b/DESCRIPTION index d544d94fc..489eeb256 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: BH Type: Package Title: Boost C++ Header Files -Version: 1.84.0-0.1 -Date: 2024-08-02 +Version: 1.87.0-0 +Date: 2024-12-12 Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org", comment = c(ORCID = "0000-0001-6419-907X")), person("John W.", "Emerson", role = "aut"), diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index dd2354c89..092cdceaa 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -7,6 +7,14 @@ \newcommand{\ghit}{\href{https://github.com/eddelbuettel/bh/issues/#1}{##1}} \newcommand{\ghpr}{\href{https://github.com/eddelbuettel/bh/pull/#1}{##1}} +\section{Changes in version 1.87.0-0 (2024-12-13 non-CRAN pre-release)}{ + \itemize{ + \item Upgrade to \boost 1.87.0, patched as usual to comment-out + diagnostic suppression messages per the request of CRAN + \item Switched to Authors@R + } +} + \section{Changes in version 1.84.0-0 (2024-01-09)}{ \itemize{ \item Upgrade to \boost 1.84.0 diff --git a/inst/include/boost/any.hpp b/inst/include/boost/any.hpp index f7812eef9..483498b10 100644 --- a/inst/include/boost/any.hpp +++ b/inst/include/boost/any.hpp @@ -358,7 +358,7 @@ namespace boost } // Copyright Kevlin Henney, 2000, 2001, 2002. All rights reserved. -// Copyright Antony Polukhin, 2013-2023. +// Copyright Antony Polukhin, 2013-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/any/bad_any_cast.hpp b/inst/include/boost/any/bad_any_cast.hpp index ed456021a..309b8a0b9 100644 --- a/inst/include/boost/any/bad_any_cast.hpp +++ b/inst/include/boost/any/bad_any_cast.hpp @@ -1,4 +1,4 @@ -// Copyright Antony Polukhin, 2020-2023. +// Copyright Antony Polukhin, 2020-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/any/basic_any.hpp b/inst/include/boost/any/basic_any.hpp index 116cb4e1a..47d9fd7e1 100644 --- a/inst/include/boost/any/basic_any.hpp +++ b/inst/include/boost/any/basic_any.hpp @@ -1,5 +1,5 @@ // Copyright Ruslan Arutyunyan, 2019-2021. -// Copyright Antony Polukhin, 2021-2023. +// Copyright Antony Polukhin, 2021-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/any/detail/placeholder.hpp b/inst/include/boost/any/detail/placeholder.hpp index 360d78cb0..bf7395c17 100644 --- a/inst/include/boost/any/detail/placeholder.hpp +++ b/inst/include/boost/any/detail/placeholder.hpp @@ -1,4 +1,4 @@ -// Copyright Antony Polukhin, 2021-2023. +// Copyright Antony Polukhin, 2021-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/any/fwd.hpp b/inst/include/boost/any/fwd.hpp index 752f3acef..be70d6008 100644 --- a/inst/include/boost/any/fwd.hpp +++ b/inst/include/boost/any/fwd.hpp @@ -1,4 +1,4 @@ -// Copyright Antony Polukhin, 2021-2023. +// Copyright Antony Polukhin, 2021-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/any/unique_any.hpp b/inst/include/boost/any/unique_any.hpp index 9f4f41c17..fb250d43d 100644 --- a/inst/include/boost/any/unique_any.hpp +++ b/inst/include/boost/any/unique_any.hpp @@ -1,4 +1,4 @@ -// Copyright Antony Polukhin, 2020-2023. +// Copyright Antony Polukhin, 2020-2024. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at diff --git a/inst/include/boost/asio.hpp b/inst/include/boost/asio.hpp index 7b889de4a..a0f93111a 100644 --- a/inst/include/boost/asio.hpp +++ b/inst/include/boost/asio.hpp @@ -2,7 +2,7 @@ // asio.hpp // ~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) @@ -61,12 +61,17 @@ #include #include #include +#include +#include #include #include #include +#include #include #include #include +#include +#include #include #include #include @@ -74,8 +79,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -101,10 +108,9 @@ #include #include #include +#include #include #include -#include -#include #include #include #include diff --git a/inst/include/boost/asio/any_completion_executor.hpp b/inst/include/boost/asio/any_completion_executor.hpp index 319fab23f..861ef7efc 100644 --- a/inst/include/boost/asio/any_completion_executor.hpp +++ b/inst/include/boost/asio/any_completion_executor.hpp @@ -2,7 +2,7 @@ // any_completion_executor.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/any_completion_handler.hpp b/inst/include/boost/asio/any_completion_handler.hpp index 17c727592..ed48e7694 100644 --- a/inst/include/boost/asio/any_completion_handler.hpp +++ b/inst/include/boost/asio/any_completion_handler.hpp @@ -2,7 +2,7 @@ // any_completion_handler.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/any_io_executor.hpp b/inst/include/boost/asio/any_io_executor.hpp index 4d6a058d9..5f96d57c0 100644 --- a/inst/include/boost/asio/any_io_executor.hpp +++ b/inst/include/boost/asio/any_io_executor.hpp @@ -2,7 +2,7 @@ // any_io_executor.hpp // ~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/append.hpp b/inst/include/boost/asio/append.hpp index fc3d86249..b6714a7be 100644 --- a/inst/include/boost/asio/append.hpp +++ b/inst/include/boost/asio/append.hpp @@ -2,7 +2,7 @@ // append.hpp // ~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/as_tuple.hpp b/inst/include/boost/asio/as_tuple.hpp index 0f89b4600..be508b868 100644 --- a/inst/include/boost/asio/as_tuple.hpp +++ b/inst/include/boost/asio/as_tuple.hpp @@ -2,7 +2,7 @@ // as_tuple.hpp // ~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) @@ -107,16 +107,42 @@ class as_tuple_t CompletionToken token_; }; -/// Adapt a @ref completion_token to specify that the completion handler -/// arguments should be combined into a single tuple argument. -template -BOOST_ASIO_NODISCARD inline -constexpr as_tuple_t> -as_tuple(CompletionToken&& completion_token) +/// A function object type that adapts a @ref completion_token to specify that +/// the completion handler arguments should be combined into a single tuple +/// argument. +/** + * May also be used directly as a completion token, in which case it adapts the + * asynchronous operation's default completion token (or boost::asio::deferred + * if no default is available). + */ +struct partial_as_tuple { - return as_tuple_t>( - static_cast(completion_token)); -} + /// Default constructor. + constexpr partial_as_tuple() + { + } + + /// Adapt a @ref completion_token to specify that the completion handler + /// arguments should be combined into a single tuple argument. + template + BOOST_ASIO_NODISCARD inline + constexpr as_tuple_t> + operator()(CompletionToken&& completion_token) const + { + return as_tuple_t>( + static_cast(completion_token)); + } +}; + +/// A function object that adapts a @ref completion_token to specify that the +/// completion handler arguments should be combined into a single tuple +/// argument. +/** + * May also be used directly as a completion token, in which case it adapts the + * asynchronous operation's default completion token (or boost::asio::deferred + * if no default is available). + */ +BOOST_ASIO_INLINE_VARIABLE constexpr partial_as_tuple as_tuple; } // namespace asio } // namespace boost diff --git a/inst/include/boost/asio/associated_allocator.hpp b/inst/include/boost/asio/associated_allocator.hpp index 38825fa31..0a8db18a3 100644 --- a/inst/include/boost/asio/associated_allocator.hpp +++ b/inst/include/boost/asio/associated_allocator.hpp @@ -2,7 +2,7 @@ // associated_allocator.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/associated_cancellation_slot.hpp b/inst/include/boost/asio/associated_cancellation_slot.hpp index e44bff9f4..ec44de0bd 100644 --- a/inst/include/boost/asio/associated_cancellation_slot.hpp +++ b/inst/include/boost/asio/associated_cancellation_slot.hpp @@ -2,7 +2,7 @@ // associated_cancellation_slot.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/associated_executor.hpp b/inst/include/boost/asio/associated_executor.hpp index a8d4776a0..bf36647e6 100644 --- a/inst/include/boost/asio/associated_executor.hpp +++ b/inst/include/boost/asio/associated_executor.hpp @@ -2,7 +2,7 @@ // associated_executor.hpp // ~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/inst/include/boost/asio/associated_immediate_executor.hpp b/inst/include/boost/asio/associated_immediate_executor.hpp index ff0b8b882..64fa4d943 100644 --- a/inst/include/boost/asio/associated_immediate_executor.hpp +++ b/inst/include/boost/asio/associated_immediate_executor.hpp @@ -2,7 +2,7 @@ // associated_immediate_executor.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) @@ -50,9 +50,10 @@ struct has_immediate_executor_type struct default_immediate_executor { - typedef require_result_t type; + typedef decay_t> type; - static type get(const E& e) noexcept + static auto get(const E& e) noexcept + -> decltype(boost::asio::require(e, execution::blocking.never)) { return boost::asio::require(e, execution::blocking.never); } diff --git a/inst/include/boost/asio/associator.hpp b/inst/include/boost/asio/associator.hpp index b0b5b44c0..d9f5e6e94 100644 --- a/inst/include/boost/asio/associator.hpp +++ b/inst/include/boost/asio/associator.hpp @@ -2,7 +2,7 @@ // associator.hpp // ~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) @@ -24,7 +24,7 @@ namespace asio { /// Used to generically specialise associators for a type. template