Skip to content

Commit 8e48ce6

Browse files
committed
Update the headers
Signed-off-by: GitHub Actions Bot <actions@github.com>
1 parent 20aadf1 commit 8e48ce6

File tree

837 files changed

+44029
-582760
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

837 files changed

+44029
-582760
lines changed

results/licenses.txt

Lines changed: 0 additions & 52052 deletions
This file was deleted.

results/sbom_spdx.json

Lines changed: 0 additions & 507693 deletions
This file was deleted.

src/pgm_build_dependencies/boost/include/boost/asio.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
#include <boost/asio/handler_continuation_hook.hpp>
108108
#include <boost/asio/high_resolution_timer.hpp>
109109
#include <boost/asio/immediate.hpp>
110+
#include <boost/asio/inline_executor.hpp>
111+
#include <boost/asio/inline_or_executor.hpp>
110112
#include <boost/asio/io_context.hpp>
111113
#include <boost/asio/io_context_strand.hpp>
112114
#include <boost/asio/ip/address.hpp>
@@ -161,6 +163,7 @@
161163
#include <boost/asio/read_until.hpp>
162164
#include <boost/asio/readable_pipe.hpp>
163165
#include <boost/asio/recycling_allocator.hpp>
166+
#include <boost/asio/redirect_disposition.hpp>
164167
#include <boost/asio/redirect_error.hpp>
165168
#include <boost/asio/registered_buffer.hpp>
166169
#include <boost/asio/require.hpp>

src/pgm_build_dependencies/boost/include/boost/asio/associated_executor.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
#include <boost/asio/detail/functional.hpp>
2121
#include <boost/asio/detail/type_traits.hpp>
2222
#include <boost/asio/execution/executor.hpp>
23+
#include <boost/asio/execution_context.hpp>
24+
#include <boost/asio/inline_executor.hpp>
2325
#include <boost/asio/is_executor.hpp>
24-
#include <boost/asio/system_executor.hpp>
2526

2627
#include <boost/asio/detail/push_options.hpp>
2728

@@ -114,7 +115,7 @@ struct associated_executor_impl<T, E,
114115
* get(t,e) and with return type @c type or a (possibly const) reference to @c
115116
* type.
116117
*/
117-
template <typename T, typename Executor = system_executor>
118+
template <typename T, typename Executor = inline_executor>
118119
struct associated_executor
119120
#if !defined(GENERATING_DOCUMENTATION)
120121
: detail::associated_executor_impl<T, Executor>
@@ -177,7 +178,7 @@ get_associated_executor(const T& t, ExecutionContext& ctx,
177178
typename ExecutionContext::executor_type>::get(t, ctx.get_executor());
178179
}
179180

180-
template <typename T, typename Executor = system_executor>
181+
template <typename T, typename Executor = inline_executor>
181182
using associated_executor_t = typename associated_executor<T, Executor>::type;
182183

183184
namespace detail {

src/pgm_build_dependencies/boost/include/boost/asio/async_result.hpp

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ class completion_handler_async_result
379379
*
380380
* In general, implementers of asynchronous operations should use the
381381
* async_initiate function rather than using the async_result trait directly.
382+
*
383+
* For a more detailed discussion of the role of async_result and
384+
* async_initiate, see the overview documentation for @ref completion_token.
382385
*/
383386
template <typename CompletionToken,
384387
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
@@ -452,8 +455,8 @@ class async_result<void, Signatures...>
452455

453456
#endif // defined(GENERATING_DOCUMENTATION)
454457

455-
/// Helper template to deduce the handler type from a CompletionToken, capture
456-
/// a local copy of the handler, and then create an async_result for the
458+
/// (Legacy.) Helper template to deduce the handler type from a CompletionToken,
459+
/// capture a local copy of the handler, and then create an async_result for the
457460
/// handler.
458461
template <typename CompletionToken,
459462
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
@@ -621,6 +624,36 @@ struct async_result_has_initiate_memfn
621624

622625
#if defined(GENERATING_DOCUMENTATION)
623626

627+
/// Helper function for implementing an asynchronous operation's initiating
628+
/// function.
629+
/**
630+
* The async_initiate function wraps the async_result trait. It automatically
631+
* performs the necessary decay and forward of the completion token, and also
632+
* enables backwards compatibility with legacy completion token implementations.
633+
*
634+
* @param initiation A function object that will be called to launch the
635+
* asynchronous operation. It receives the concrete completion handler as its
636+
* first argument, followed by any additional arguments passed to
637+
* async_initiate.
638+
*
639+
* @param token The @ref completion_token provided by the user. This will be
640+
* transformed into a concrete completion handler by the async_result trait.
641+
*
642+
* @param args Additional arguments to be forwarded to the initiation function
643+
* object.
644+
*
645+
* @returns The return value is determined by the async_result specialisation
646+
* for the completion token type. For callback-based tokens, returns @c void.
647+
* For other tokens such as use_future or use_awaitable, returns the
648+
* corresponding future or awaitable type.
649+
*
650+
* @note Asynchronous operation implementations should use this function rather
651+
* than directly using the async_result trait, or the legacy async_completion
652+
* helper template.
653+
*
654+
* For a more detailed discussion of the role of async_result and
655+
* async_initiate, see the overview documentation for @ref completion_token.
656+
*/
624657
template <typename CompletionToken,
625658
completion_signature... Signatures,
626659
typename Initiation, typename... Args>

src/pgm_build_dependencies/boost/include/boost/asio/awaitable.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ class BOOST_ASIO_NODISCARD awaitable
8181
awaitable& operator=(awaitable&& other) noexcept
8282
{
8383
if (this != &other)
84+
{
85+
if (frame_)
86+
frame_->destroy();
8487
frame_ = std::exchange(other.frame_, nullptr);
88+
}
8589
return *this;
8690
}
8791

src/pgm_build_dependencies/boost/include/boost/asio/basic_deadline_timer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ namespace asio {
130130
template <typename Time,
131131
typename TimeTraits = boost::asio::time_traits<Time>,
132132
typename Executor = any_io_executor>
133-
class basic_deadline_timer
133+
class BOOST_ASIO_DEPRECATED_MSG("Use basic_waitable_timer") basic_deadline_timer
134134
{
135135
private:
136136
class initiate_async_wait;

src/pgm_build_dependencies/boost/include/boost/asio/basic_io_object.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ template <typename IoObjectService>
6161
template <typename IoObjectService,
6262
bool Movable = detail::service_has_move<IoObjectService>::value>
6363
#endif
64-
class basic_io_object
64+
class BOOST_ASIO_DEPRECATED_MSG("Deprecated without replacement")
65+
basic_io_object
6566
{
6667
public:
6768
/// The type of the service that will be used to provide I/O operations.
@@ -191,7 +192,8 @@ class basic_io_object
191192

192193
// Specialisation for movable objects.
193194
template <typename IoObjectService>
194-
class basic_io_object<IoObjectService, true>
195+
class BOOST_ASIO_DEPRECATED_MSG("Deprecated without replacement")
196+
basic_io_object<IoObjectService, true>
195197
{
196198
public:
197199
typedef IoObjectService service_type;

src/pgm_build_dependencies/boost/include/boost/asio/buffer.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ class const_buffer
329329
/// (Deprecated: Use the socket/descriptor wait() and async_wait() member
330330
/// functions.) An implementation of both the ConstBufferSequence and
331331
/// MutableBufferSequence concepts to represent a null buffer sequence.
332-
class null_buffers
332+
class BOOST_ASIO_DEPRECATED_MSG(
333+
"Use the socket/descriptor wait() and async_wait() member functions")
334+
null_buffers
333335
{
334336
public:
335337
/// The type for each element in the list of buffers.
@@ -1015,7 +1017,7 @@ BOOST_ASIO_NODISCARD inline mutable_buffer buffer(
10151017
boost::array<PodType, N>& data) noexcept
10161018
{
10171019
return mutable_buffer(
1018-
data.c_array(), data.size() * sizeof(PodType));
1020+
data.data(), data.size() * sizeof(PodType));
10191021
}
10201022

10211023
/// Create a new modifiable buffer that represents the given POD array.
@@ -1030,7 +1032,7 @@ BOOST_ASIO_NODISCARD inline mutable_buffer buffer(
10301032
boost::array<PodType, N>& data,
10311033
std::size_t max_size_in_bytes) noexcept
10321034
{
1033-
return mutable_buffer(data.c_array(),
1035+
return mutable_buffer(data.data(),
10341036
data.size() * sizeof(PodType) < max_size_in_bytes
10351037
? data.size() * sizeof(PodType) : max_size_in_bytes);
10361038
}

src/pgm_build_dependencies/boost/include/boost/asio/coroutine.hpp

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,34 @@ class coroutine_ref
276276
bool modified_;
277277
};
278278

279+
class coroutine_base_value
280+
{
281+
public:
282+
constexpr coroutine_base_value(int value) : value_(value) {}
283+
constexpr operator bool() const { return false; }
284+
constexpr int get() const { return value_; }
285+
private:
286+
int value_;
287+
};
288+
279289
} // namespace detail
280290
} // namespace asio
281291
} // namespace boost
282292

293+
#if !defined(BOOST_ASIO_CORO_VALUE_INIT)
294+
# if defined(_MSC_VER)
295+
# define BOOST_ASIO_CORO_VALUE_INIT __COUNTER__
296+
# else // defined(_MSC_VER)
297+
# define BOOST_ASIO_CORO_VALUE_INIT __LINE__
298+
# endif // defined(_MSC_VER)
299+
#endif // !defined(BOOST_ASIO_CORO_VALUE_INIT)
300+
283301
#define BOOST_ASIO_CORO_REENTER(c) \
284-
switch (::boost::asio::detail::coroutine_ref _coro_value = c) \
302+
if (constexpr ::boost::asio::detail::coroutine_base_value \
303+
_coro_base_value = BOOST_ASIO_CORO_VALUE_INIT) \
304+
{ \
305+
} \
306+
else switch (::boost::asio::detail::coroutine_ref _coro_value = c) \
285307
case -1: if (_coro_value) \
286308
{ \
287309
goto terminate_coroutine; \
@@ -319,12 +341,12 @@ class coroutine_ref
319341
} \
320342
else
321343

322-
#if defined(_MSC_VER)
323-
# define BOOST_ASIO_CORO_YIELD BOOST_ASIO_CORO_YIELD_IMPL(__COUNTER__ + 1)
324-
# define BOOST_ASIO_CORO_FORK BOOST_ASIO_CORO_FORK_IMPL(__COUNTER__ + 1)
325-
#else // defined(_MSC_VER)
326-
# define BOOST_ASIO_CORO_YIELD BOOST_ASIO_CORO_YIELD_IMPL(__LINE__)
327-
# define BOOST_ASIO_CORO_FORK BOOST_ASIO_CORO_FORK_IMPL(__LINE__)
328-
#endif // defined(_MSC_VER)
344+
# define BOOST_ASIO_CORO_YIELD \
345+
BOOST_ASIO_CORO_YIELD_IMPL( \
346+
BOOST_ASIO_CORO_VALUE_INIT + 1 - _coro_base_value.get())
347+
348+
# define BOOST_ASIO_CORO_FORK \
349+
BOOST_ASIO_CORO_FORK_IMPL( \
350+
BOOST_ASIO_CORO_VALUE_INIT + 1 - _coro_base_value.get())
329351

330352
#endif // BOOST_ASIO_COROUTINE_HPP

0 commit comments

Comments
 (0)