Skip to content

Commit

Permalink
Update vendor/cget
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Dec 16, 2023
1 parent 0543003 commit 2f81df1
Show file tree
Hide file tree
Showing 531 changed files with 11,074 additions and 31,894 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,30 +81,15 @@
#include "asio/execution/any_executor.hpp"
#include "asio/execution/blocking.hpp"
#include "asio/execution/blocking_adaptation.hpp"
#include "asio/execution/bulk_execute.hpp"
#include "asio/execution/bulk_guarantee.hpp"
#include "asio/execution/connect.hpp"
#include "asio/execution/context.hpp"
#include "asio/execution/context_as.hpp"
#include "asio/execution/execute.hpp"
#include "asio/execution/executor.hpp"
#include "asio/execution/invocable_archetype.hpp"
#include "asio/execution/mapping.hpp"
#include "asio/execution/occupancy.hpp"
#include "asio/execution/operation_state.hpp"
#include "asio/execution/outstanding_work.hpp"
#include "asio/execution/prefer_only.hpp"
#include "asio/execution/receiver.hpp"
#include "asio/execution/receiver_invocation_error.hpp"
#include "asio/execution/relationship.hpp"
#include "asio/execution/schedule.hpp"
#include "asio/execution/scheduler.hpp"
#include "asio/execution/sender.hpp"
#include "asio/execution/set_done.hpp"
#include "asio/execution/set_error.hpp"
#include "asio/execution/set_value.hpp"
#include "asio/execution/start.hpp"
#include "asio/execution_context.hpp"
#include "asio/executor.hpp"
#include "asio/executor_work_guard.hpp"
#include "asio/file_base.hpp"
Expand All @@ -113,9 +98,7 @@
#include "asio/generic/raw_protocol.hpp"
#include "asio/generic/seq_packet_protocol.hpp"
#include "asio/generic/stream_protocol.hpp"
#include "asio/handler_alloc_hook.hpp"
#include "asio/handler_continuation_hook.hpp"
#include "asio/handler_invoke_hook.hpp"
#include "asio/high_resolution_timer.hpp"
#include "asio/io_context.hpp"
#include "asio/io_context_strand.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,18 @@ class any_completion_executor :
#endif // !defined(GENERATING_DOCUMENTATION)

/// Default constructor.
ASIO_DECL any_completion_executor() ASIO_NOEXCEPT;
ASIO_DECL any_completion_executor() noexcept;

/// Construct in an empty state. Equivalent effects to default constructor.
ASIO_DECL any_completion_executor(nullptr_t) ASIO_NOEXCEPT;
ASIO_DECL any_completion_executor(nullptr_t) noexcept;

/// Copy constructor.
ASIO_DECL any_completion_executor(
const any_completion_executor& e) ASIO_NOEXCEPT;
const any_completion_executor& e) noexcept;

#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
/// Move constructor.
ASIO_DECL any_completion_executor(
any_completion_executor&& e) ASIO_NOEXCEPT;
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
any_completion_executor&& e) noexcept;

/// Construct to point to the same target as another any_executor.
#if defined(GENERATING_DOCUMENTATION)
Expand All @@ -98,7 +96,7 @@ class any_completion_executor :
#else // defined(GENERATING_DOCUMENTATION)
template <typename OtherAnyExecutor>
any_completion_executor(OtherAnyExecutor e,
typename constraint<
constraint_t<
conditional<
!is_same<OtherAnyExecutor, any_completion_executor>::value
&& is_base_of<execution::detail::any_executor_base,
Expand All @@ -108,8 +106,8 @@ class any_completion_executor :
is_valid_target<OtherAnyExecutor>,
false_type
>::type::value
>::type = 0)
: base_type(ASIO_MOVE_CAST(OtherAnyExecutor)(e))
> = 0)
: base_type(static_cast<OtherAnyExecutor&&>(e))
{
}
#endif // defined(GENERATING_DOCUMENTATION)
Expand All @@ -122,7 +120,7 @@ class any_completion_executor :
#else // defined(GENERATING_DOCUMENTATION)
template <typename OtherAnyExecutor>
any_completion_executor(std::nothrow_t, OtherAnyExecutor e,
typename constraint<
constraint_t<
conditional<
!is_same<OtherAnyExecutor, any_completion_executor>::value
&& is_base_of<execution::detail::any_executor_base,
Expand All @@ -132,21 +130,19 @@ class any_completion_executor :
is_valid_target<OtherAnyExecutor>,
false_type
>::type::value
>::type = 0) ASIO_NOEXCEPT
: base_type(std::nothrow, ASIO_MOVE_CAST(OtherAnyExecutor)(e))
> = 0) noexcept
: base_type(std::nothrow, static_cast<OtherAnyExecutor&&>(e))
{
}
#endif // defined(GENERATING_DOCUMENTATION)

/// Construct to point to the same target as another any_executor.
ASIO_DECL any_completion_executor(std::nothrow_t,
const any_completion_executor& e) ASIO_NOEXCEPT;
const any_completion_executor& e) noexcept;

#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
/// Construct to point to the same target as another any_executor.
ASIO_DECL any_completion_executor(std::nothrow_t,
any_completion_executor&& e) ASIO_NOEXCEPT;
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
any_completion_executor&& e) noexcept;

/// Construct a polymorphic wrapper for the specified executor.
#if defined(GENERATING_DOCUMENTATION)
Expand All @@ -155,7 +151,7 @@ class any_completion_executor :
#else // defined(GENERATING_DOCUMENTATION)
template <ASIO_EXECUTION_EXECUTOR Executor>
any_completion_executor(Executor e,
typename constraint<
constraint_t<
conditional<
!is_same<Executor, any_completion_executor>::value
&& !is_base_of<execution::detail::any_executor_base,
Expand All @@ -164,8 +160,8 @@ class any_completion_executor :
Executor, supportable_properties_type>,
false_type
>::type::value
>::type = 0)
: base_type(ASIO_MOVE_CAST(Executor)(e))
> = 0)
: base_type(static_cast<Executor&&>(e))
{
}
#endif // defined(GENERATING_DOCUMENTATION)
Expand All @@ -177,7 +173,7 @@ class any_completion_executor :
#else // defined(GENERATING_DOCUMENTATION)
template <ASIO_EXECUTION_EXECUTOR Executor>
any_completion_executor(std::nothrow_t, Executor e,
typename constraint<
constraint_t<
conditional<
!is_same<Executor, any_completion_executor>::value
&& !is_base_of<execution::detail::any_executor_base,
Expand All @@ -186,21 +182,19 @@ class any_completion_executor :
Executor, supportable_properties_type>,
false_type
>::type::value
>::type = 0) ASIO_NOEXCEPT
: base_type(std::nothrow, ASIO_MOVE_CAST(Executor)(e))
> = 0) noexcept
: base_type(std::nothrow, static_cast<Executor&&>(e))
{
}
#endif // defined(GENERATING_DOCUMENTATION)

/// Assignment operator.
ASIO_DECL any_completion_executor& operator=(
const any_completion_executor& e) ASIO_NOEXCEPT;
const any_completion_executor& e) noexcept;

#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
/// Move assignment operator.
ASIO_DECL any_completion_executor& operator=(
any_completion_executor&& e) ASIO_NOEXCEPT;
#endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
any_completion_executor&& e) noexcept;

/// Assignment operator that sets the polymorphic wrapper to the empty state.
ASIO_DECL any_completion_executor& operator=(nullptr_t);
Expand All @@ -209,7 +203,7 @@ class any_completion_executor :
ASIO_DECL ~any_completion_executor();

/// Swap targets with another polymorphic wrapper.
ASIO_DECL void swap(any_completion_executor& other) ASIO_NOEXCEPT;
ASIO_DECL void swap(any_completion_executor& other) noexcept;

/// Obtain a polymorphic wrapper with the specified property.
/**
Expand All @@ -222,9 +216,9 @@ class any_completion_executor :
*/
template <typename Property>
any_completion_executor require(const Property& p,
typename constraint<
constraint_t<
traits::require_member<const base_type&, const Property&>::is_valid
>::type = 0) const
> = 0) const
{
return static_cast<const base_type&>(*this).require(p);
}
Expand All @@ -240,9 +234,9 @@ class any_completion_executor :
*/
template <typename Property>
any_completion_executor prefer(const Property& p,
typename constraint<
constraint_t<
traits::prefer_member<const base_type&, const Property&>::is_valid
>::type = 0) const
> = 0) const
{
return static_cast<const base_type&>(*this).prefer(p);
}
Expand Down
Loading

0 comments on commit 2f81df1

Please sign in to comment.