couchbase 4.2.0 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/.github/workflows/tests.yml +10 -6
- package/deps/couchbase-cxx-client/.github/workflows/windows.yml +3 -0
- package/deps/couchbase-cxx-client/.gitmodules +3 -0
- package/deps/couchbase-cxx-client/.idea/misc.xml +2 -0
- package/deps/couchbase-cxx-client/.idea/vcs.xml +1 -0
- package/deps/couchbase-cxx-client/CMakeLists.txt +351 -292
- package/deps/couchbase-cxx-client/README.md +3 -3
- package/deps/couchbase-cxx-client/bin/build-tests +7 -6
- package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
- package/deps/couchbase-cxx-client/bin/{run-transactions-tests → run-transaction-tests} +2 -1
- package/deps/couchbase-cxx-client/bin/run-unit-tests +47 -1
- package/deps/couchbase-cxx-client/cmake/CompilerWarnings.cmake +4 -1
- package/deps/couchbase-cxx-client/cmake/ThirdPartyDependencies.cmake +1 -0
- package/deps/couchbase-cxx-client/cmake/VersionInfo.cmake +13 -1
- package/deps/couchbase-cxx-client/cmake/build_version.hxx.in +3 -0
- package/deps/couchbase-cxx-client/core/CMakeLists.txt +0 -0
- package/deps/couchbase-cxx-client/core/agent.cxx +556 -0
- package/deps/couchbase-cxx-client/core/agent.hxx +165 -0
- package/deps/couchbase-cxx-client/core/agent_config.cxx +36 -0
- package/deps/couchbase-cxx-client/core/agent_config.hxx +44 -0
- package/deps/couchbase-cxx-client/core/agent_group.cxx +219 -0
- package/deps/couchbase-cxx-client/core/agent_group.hxx +79 -0
- package/deps/couchbase-cxx-client/core/agent_group_config.cxx +35 -0
- package/deps/couchbase-cxx-client/core/agent_group_config.hxx +45 -0
- package/deps/couchbase-cxx-client/core/agent_unit_test_api.hxx +37 -0
- package/deps/couchbase-cxx-client/core/analytics_query_options.cxx +72 -0
- package/deps/couchbase-cxx-client/core/analytics_query_options.hxx +74 -0
- package/deps/couchbase-cxx-client/core/bucket.cxx +891 -0
- package/deps/couchbase-cxx-client/core/bucket.hxx +85 -484
- package/deps/couchbase-cxx-client/core/cluster.cxx +69 -12
- package/deps/couchbase-cxx-client/core/cluster.hxx +67 -45
- package/deps/couchbase-cxx-client/core/cluster_agent.cxx +36 -0
- package/deps/couchbase-cxx-client/core/cluster_agent.hxx +34 -0
- package/deps/couchbase-cxx-client/core/cluster_agent_config.cxx +35 -0
- package/deps/couchbase-cxx-client/core/cluster_agent_config.hxx +43 -0
- package/deps/couchbase-cxx-client/core/cluster_options.hxx +9 -2
- package/deps/couchbase-cxx-client/core/cluster_state.hxx +25 -0
- package/deps/couchbase-cxx-client/core/collection_id_cache_entry.hxx +37 -0
- package/deps/couchbase-cxx-client/core/collections_component.cxx +439 -0
- package/deps/couchbase-cxx-client/core/collections_component.hxx +81 -0
- package/deps/couchbase-cxx-client/core/collections_component_unit_test_api.hxx +36 -0
- package/deps/couchbase-cxx-client/core/collections_options.hxx +87 -0
- package/deps/couchbase-cxx-client/core/core_sdk_shim.cxx +28 -0
- package/deps/couchbase-cxx-client/core/core_sdk_shim.hxx +30 -0
- package/deps/couchbase-cxx-client/core/crud_component.cxx +367 -0
- package/deps/couchbase-cxx-client/core/crud_component.hxx +60 -0
- package/deps/couchbase-cxx-client/core/crud_options.hxx +574 -0
- package/deps/couchbase-cxx-client/core/diagntostics_options.hxx +55 -0
- package/deps/couchbase-cxx-client/core/dispatcher.cxx +37 -0
- package/deps/couchbase-cxx-client/core/dispatcher.hxx +43 -0
- package/deps/couchbase-cxx-client/core/durability_options.hxx +110 -0
- package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +1 -1
- package/deps/couchbase-cxx-client/core/error_context/http.hxx +1 -1
- package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +2 -2
- package/deps/couchbase-cxx-client/core/error_context/query.hxx +1 -1
- package/deps/couchbase-cxx-client/core/error_context/search.hxx +1 -1
- package/deps/couchbase-cxx-client/core/error_context/view.hxx +1 -1
- package/deps/couchbase-cxx-client/core/free_form_http_request.cxx +81 -0
- package/deps/couchbase-cxx-client/core/free_form_http_request.hxx +90 -0
- package/deps/couchbase-cxx-client/core/impl/append.cxx +4 -1
- package/deps/couchbase-cxx-client/core/impl/best_effort_retry_strategy.cxx +109 -0
- package/deps/couchbase-cxx-client/core/impl/bootstrap_state_listener.hxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +17 -6
- package/deps/couchbase-cxx-client/core/impl/cluster.cxx +21 -3
- package/deps/couchbase-cxx-client/core/impl/collection_query_index_manager.cxx +93 -0
- package/deps/couchbase-cxx-client/core/impl/configuration_profiles_registry.cxx +11 -0
- package/deps/couchbase-cxx-client/core/impl/create_query_index.cxx +119 -0
- package/deps/couchbase-cxx-client/core/impl/decrement.cxx +10 -1
- package/deps/couchbase-cxx-client/core/impl/dns_srv_tracker.cxx +13 -9
- package/deps/couchbase-cxx-client/core/impl/drop_query_index.cxx +108 -0
- package/deps/couchbase-cxx-client/core/impl/exists.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/fail_fast_retry_strategy.cxx +41 -0
- package/deps/couchbase-cxx-client/core/impl/get.cxx +3 -1
- package/deps/couchbase-cxx-client/core/impl/get_all_query_indexes.cxx +76 -0
- package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +6 -0
- package/deps/couchbase-cxx-client/core/impl/get_and_lock.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +1 -1
- package/deps/couchbase-cxx-client/core/impl/increment.cxx +10 -1
- package/deps/couchbase-cxx-client/core/impl/insert.cxx +2 -1
- package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +6 -0
- package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +2 -2
- package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +14 -0
- package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +1 -1
- package/deps/couchbase-cxx-client/core/impl/prepend.cxx +4 -1
- package/deps/couchbase-cxx-client/core/impl/query.cxx +52 -11
- package/deps/couchbase-cxx-client/core/impl/remove.cxx +4 -1
- package/deps/couchbase-cxx-client/core/impl/replace.cxx +12 -3
- package/deps/couchbase-cxx-client/core/impl/retry_action.cxx +39 -0
- package/deps/couchbase-cxx-client/core/{io/retry_reason.hxx → impl/retry_reason.cxx} +28 -29
- package/deps/couchbase-cxx-client/core/impl/touch.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/unlock.cxx +1 -0
- package/deps/couchbase-cxx-client/core/impl/upsert.cxx +11 -2
- package/deps/couchbase-cxx-client/core/impl/watch_query_indexes.cxx +168 -0
- package/deps/couchbase-cxx-client/core/io/dns_config.cxx +82 -3
- package/deps/couchbase-cxx-client/core/io/http_command.hxx +19 -15
- package/deps/couchbase-cxx-client/core/io/http_session.hxx +19 -18
- package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +8 -6
- package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +62 -51
- package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +1 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +5 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +18 -18
- package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +1 -1
- package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +1690 -0
- package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +82 -1325
- package/deps/couchbase-cxx-client/core/io/retry_context.hxx +59 -8
- package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +27 -42
- package/deps/couchbase-cxx-client/core/key_value_config.cxx +35 -0
- package/deps/couchbase-cxx-client/core/key_value_config.hxx +40 -0
- package/deps/couchbase-cxx-client/core/logger/configuration.hxx +3 -0
- package/deps/couchbase-cxx-client/core/logger/level.hxx +21 -0
- package/deps/couchbase-cxx-client/core/logger/logger.hxx +16 -18
- package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +1 -1
- package/deps/couchbase-cxx-client/core/mcbp/barrier_frame.hxx +27 -0
- package/deps/couchbase-cxx-client/core/mcbp/big_endian.cxx +73 -0
- package/deps/couchbase-cxx-client/core/mcbp/big_endian.hxx +46 -0
- package/deps/couchbase-cxx-client/core/mcbp/buffer_writer.cxx +78 -0
- package/deps/couchbase-cxx-client/core/mcbp/buffer_writer.hxx +38 -0
- package/deps/couchbase-cxx-client/core/mcbp/codec.cxx +501 -0
- package/deps/couchbase-cxx-client/core/mcbp/codec.hxx +52 -0
- package/deps/couchbase-cxx-client/core/mcbp/command_code.cxx +77 -0
- package/deps/couchbase-cxx-client/core/mcbp/command_code.hxx +33 -0
- package/deps/couchbase-cxx-client/core/mcbp/completion_token.hxx +69 -0
- package/deps/couchbase-cxx-client/core/mcbp/datatype.hxx +40 -0
- package/deps/couchbase-cxx-client/core/mcbp/durability_level.hxx +35 -0
- package/deps/couchbase-cxx-client/core/mcbp/durability_level_frame.hxx +28 -0
- package/deps/couchbase-cxx-client/core/mcbp/durability_timeout_frame.hxx +29 -0
- package/deps/couchbase-cxx-client/core/mcbp/frame_type.hxx +41 -0
- package/deps/couchbase-cxx-client/core/mcbp/open_tracing_frame.hxx +29 -0
- package/deps/couchbase-cxx-client/core/mcbp/operation_consumer.cxx +47 -0
- package/deps/couchbase-cxx-client/core/mcbp/operation_consumer.hxx +42 -0
- package/deps/couchbase-cxx-client/core/mcbp/operation_queue.cxx +158 -0
- package/deps/couchbase-cxx-client/core/mcbp/operation_queue.hxx +57 -0
- package/deps/couchbase-cxx-client/core/mcbp/packet.cxx +92 -0
- package/deps/couchbase-cxx-client/core/mcbp/packet.hxx +71 -0
- package/deps/couchbase-cxx-client/core/mcbp/preserve_expiry_frame.hxx +26 -0
- package/deps/couchbase-cxx-client/core/mcbp/queue_callback.hxx +34 -0
- package/deps/couchbase-cxx-client/core/mcbp/queue_request.cxx +174 -0
- package/deps/couchbase-cxx-client/core/mcbp/queue_request.hxx +120 -0
- package/deps/couchbase-cxx-client/core/mcbp/queue_request_connection_info.hxx +29 -0
- package/deps/couchbase-cxx-client/core/mcbp/queue_response.hxx +37 -0
- package/deps/couchbase-cxx-client/core/mcbp/read_units_frame.hxx +28 -0
- package/deps/couchbase-cxx-client/core/mcbp/server_duration.cxx +40 -0
- package/deps/couchbase-cxx-client/core/mcbp/server_duration.hxx +32 -0
- package/deps/couchbase-cxx-client/core/mcbp/server_duration_frame.hxx +28 -0
- package/deps/couchbase-cxx-client/core/mcbp/stream_id_frame.hxx +28 -0
- package/deps/couchbase-cxx-client/core/mcbp/unsupported_frame.hxx +32 -0
- package/deps/couchbase-cxx-client/core/mcbp/user_impersonation_frame.hxx +30 -0
- package/deps/couchbase-cxx-client/core/mcbp/write_units_frame.hxx +29 -0
- package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +4 -2
- package/deps/couchbase-cxx-client/core/meta/features.hxx +31 -0
- package/deps/couchbase-cxx-client/core/meta/version.cxx +76 -5
- package/deps/couchbase-cxx-client/core/meta/version.hxx +12 -1
- package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +4 -1
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +47 -6
- package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +10 -26
- package/deps/couchbase-cxx-client/core/n1ql_query_options.cxx +94 -0
- package/deps/couchbase-cxx-client/core/n1ql_query_options.hxx +78 -0
- package/deps/couchbase-cxx-client/core/operation_map.hxx +36 -0
- package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +5 -5
- package/deps/couchbase-cxx-client/core/operations/document_append.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_get.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +3 -2
- package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_query.cxx +21 -20
- package/deps/couchbase-cxx-client/core/operations/document_query.hxx +1 -3
- package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_search.cxx +2 -2
- package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +32 -0
- package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +3 -0
- package/deps/couchbase-cxx-client/core/operations/management/change_password.cxx +55 -0
- package/deps/couchbase-cxx-client/core/operations/management/change_password.hxx +50 -0
- package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +1 -1
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +7 -8
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +3 -1
- package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +17 -8
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +7 -9
- package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +11 -12
- package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +2 -0
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +7 -3
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +5 -3
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +22 -5
- package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +4 -2
- package/deps/couchbase-cxx-client/core/operations/management/user.hxx +1 -0
- package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +1 -1
- package/deps/couchbase-cxx-client/core/origin.hxx +1 -1
- package/deps/couchbase-cxx-client/core/pending_operation.hxx +26 -0
- package/deps/couchbase-cxx-client/core/ping_collector.hxx +32 -0
- package/deps/couchbase-cxx-client/core/ping_options.hxx +86 -0
- package/deps/couchbase-cxx-client/core/{io/retry_action.hxx → ping_reporter.hxx} +8 -8
- package/deps/couchbase-cxx-client/core/platform/base64.cc +52 -34
- package/deps/couchbase-cxx-client/core/platform/base64.h +10 -2
- package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +5 -5
- package/deps/couchbase-cxx-client/core/platform/uuid.cc +24 -20
- package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +10 -1
- package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +10 -1
- package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +3 -4
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +1 -1
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +1 -1
- package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +1 -1
- package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +5 -1
- package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +8 -1
- package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +6 -0
- package/deps/couchbase-cxx-client/core/protocol/status.cxx +11 -1
- package/deps/couchbase-cxx-client/core/protocol/status.hxx +7 -1
- package/deps/couchbase-cxx-client/core/query_context.hxx +79 -0
- package/deps/couchbase-cxx-client/core/range_scan_options.cxx +57 -0
- package/deps/couchbase-cxx-client/core/range_scan_options.hxx +139 -0
- package/deps/couchbase-cxx-client/core/range_scan_orchestrator.cxx +495 -0
- package/deps/couchbase-cxx-client/core/range_scan_orchestrator.hxx +54 -0
- package/deps/couchbase-cxx-client/core/range_scan_orchestrator_options.hxx +54 -0
- package/deps/couchbase-cxx-client/core/resource_units.hxx +26 -0
- package/deps/couchbase-cxx-client/core/response_handler.hxx +49 -0
- package/deps/couchbase-cxx-client/core/retry_orchestrator.cxx +52 -0
- package/deps/couchbase-cxx-client/core/retry_orchestrator.hxx +35 -0
- package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +12 -12
- package/deps/couchbase-cxx-client/core/scan_options.hxx +63 -0
- package/deps/couchbase-cxx-client/core/scan_result.cxx +71 -0
- package/deps/couchbase-cxx-client/core/scan_result.hxx +59 -0
- package/deps/couchbase-cxx-client/core/search_query_options.cxx +72 -0
- package/deps/couchbase-cxx-client/core/search_query_options.hxx +74 -0
- package/deps/couchbase-cxx-client/core/seed_config.cxx +39 -0
- package/deps/couchbase-cxx-client/core/seed_config.hxx +39 -0
- package/deps/couchbase-cxx-client/core/stats_options.hxx +61 -0
- package/deps/couchbase-cxx-client/core/subdoc_options.hxx +124 -0
- package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +3 -1
- package/deps/couchbase-cxx-client/core/topology/configuration.cxx +10 -9
- package/deps/couchbase-cxx-client/core/topology/configuration.hxx +12 -1
- package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +1 -1
- package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +3 -1
- package/deps/couchbase-cxx-client/core/tracing/constants.hxx +13 -1
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +21 -6
- package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +2 -2
- package/deps/couchbase-cxx-client/core/transactions/active_transaction_record.hxx +2 -2
- package/deps/couchbase-cxx-client/core/transactions/async_attempt_context.hxx +14 -7
- package/deps/couchbase-cxx-client/core/transactions/atr_cleanup_entry.cxx +60 -71
- package/deps/couchbase-cxx-client/core/transactions/attempt_context.hxx +14 -3
- package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.cxx +598 -431
- package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.hxx +97 -52
- package/deps/couchbase-cxx-client/core/transactions/attempt_context_testing_hooks.hxx +6 -1
- package/deps/couchbase-cxx-client/core/transactions/cleanup_testing_hooks.hxx +9 -2
- package/deps/couchbase-cxx-client/core/transactions/durability_level.hxx +1 -1
- package/deps/couchbase-cxx-client/core/transactions/error_class.hxx +35 -0
- package/deps/couchbase-cxx-client/core/transactions/exceptions.cxx +13 -0
- package/deps/couchbase-cxx-client/core/transactions/exceptions.hxx +36 -25
- package/deps/couchbase-cxx-client/core/transactions/forward_compat.hxx +6 -5
- package/deps/couchbase-cxx-client/core/transactions/internal/atr_cleanup_entry.hxx +51 -13
- package/deps/couchbase-cxx-client/core/transactions/internal/client_record.hxx +26 -1
- package/deps/couchbase-cxx-client/core/transactions/internal/doc_record.hxx +21 -0
- package/deps/couchbase-cxx-client/core/transactions/internal/exceptions_internal.hxx +1 -15
- package/deps/couchbase-cxx-client/core/transactions/internal/logging.hxx +40 -18
- package/deps/couchbase-cxx-client/core/transactions/internal/transaction_context.hxx +13 -11
- package/deps/couchbase-cxx-client/core/transactions/internal/transactions_cleanup.hxx +21 -9
- package/deps/couchbase-cxx-client/core/transactions/internal/utils.hxx +16 -8
- package/deps/couchbase-cxx-client/core/transactions/result.hxx +26 -0
- package/deps/couchbase-cxx-client/core/transactions/staged_mutation.cxx +51 -47
- package/deps/couchbase-cxx-client/core/transactions/staged_mutation.hxx +6 -6
- package/deps/couchbase-cxx-client/core/transactions/transaction_context.cxx +51 -27
- package/deps/couchbase-cxx-client/core/transactions/transaction_get_result.hxx +18 -2
- package/deps/couchbase-cxx-client/core/transactions/transaction_links.hxx +25 -2
- package/deps/couchbase-cxx-client/core/transactions/transaction_options.cxx +38 -0
- package/deps/couchbase-cxx-client/core/transactions/transactions.cxx +20 -16
- package/deps/couchbase-cxx-client/core/transactions/transactions_cleanup.cxx +158 -164
- package/deps/couchbase-cxx-client/core/transactions/transactions_config.cxx +81 -0
- package/deps/couchbase-cxx-client/core/transactions/utils.cxx +11 -0
- package/deps/couchbase-cxx-client/core/transactions/waitable_op_list.hxx +7 -3
- package/deps/couchbase-cxx-client/core/transactions.hxx +15 -26
- package/deps/couchbase-cxx-client/core/utils/binary.hxx +1 -1
- package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +17 -8
- package/deps/couchbase-cxx-client/core/utils/crc32.hxx +6 -0
- package/deps/couchbase-cxx-client/core/utils/json.cxx +2 -2
- package/deps/couchbase-cxx-client/core/utils/keyspace.hxx +55 -0
- package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +19 -17
- package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +1 -1
- package/deps/couchbase-cxx-client/core/view_query_options.cxx +72 -0
- package/deps/couchbase-cxx-client/core/view_query_options.hxx +78 -0
- package/deps/couchbase-cxx-client/core/wait_until_ready_options.hxx +52 -0
- package/deps/couchbase-cxx-client/couchbase/append_options.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/best_effort_retry_strategy.hxx +64 -0
- package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +12 -45
- package/deps/couchbase-cxx-client/couchbase/cluster.hxx +24 -5
- package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +45 -8
- package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +1 -1
- package/deps/couchbase-cxx-client/couchbase/collection.hxx +8 -0
- package/deps/couchbase-cxx-client/couchbase/collection_query_index_manager.hxx +218 -0
- package/deps/couchbase-cxx-client/couchbase/common_options.hxx +21 -1
- package/deps/couchbase-cxx-client/couchbase/configuration_profile.hxx +13 -1
- package/deps/couchbase-cxx-client/couchbase/configuration_profiles_registry.hxx +26 -0
- package/deps/couchbase-cxx-client/couchbase/create_primary_query_index_options.hxx +166 -0
- package/deps/couchbase-cxx-client/couchbase/create_query_index_options.hxx +172 -0
- package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/drop_primary_query_index_options.hxx +129 -0
- package/deps/couchbase-cxx-client/couchbase/drop_query_index_options.hxx +116 -0
- package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/error_context.hxx +3 -3
- package/deps/couchbase-cxx-client/couchbase/fail_fast_retry_strategy.hxx +37 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +1 -1
- package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +16 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/query_scan_consistency.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/query_status.hxx +70 -0
- package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +7 -7
- package/deps/couchbase-cxx-client/couchbase/fmt/tls_verify_mode.hxx +46 -0
- package/deps/couchbase-cxx-client/couchbase/get_all_query_indexes_options.hxx +100 -0
- package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +15 -1
- package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +2 -1
- package/deps/couchbase-cxx-client/{core → couchbase}/management/query_index.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +2 -2
- package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +16 -0
- package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +2 -3
- package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/query_error_context.hxx +1 -1
- package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +178 -6
- package/deps/couchbase-cxx-client/couchbase/query_options.hxx +21 -18
- package/deps/couchbase-cxx-client/couchbase/query_result.hxx +0 -1
- package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/retry_action.hxx +41 -0
- package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +14 -8
- package/deps/couchbase-cxx-client/couchbase/retry_request.hxx +39 -0
- package/deps/couchbase-cxx-client/couchbase/retry_strategy.hxx +35 -0
- package/deps/couchbase-cxx-client/couchbase/scope.hxx +5 -2
- package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +1 -1
- package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +16 -0
- package/deps/couchbase-cxx-client/couchbase/transaction_op_error_context.hxx +33 -7
- package/deps/couchbase-cxx-client/couchbase/transactions/async_attempt_context.hxx +24 -6
- package/deps/couchbase-cxx-client/couchbase/transactions/attempt_context.hxx +18 -6
- package/deps/couchbase-cxx-client/couchbase/transactions/transaction_keyspace.hxx +50 -1
- package/deps/couchbase-cxx-client/couchbase/transactions/{per_transaction_config.hxx → transaction_options.hxx} +30 -33
- package/deps/couchbase-cxx-client/{core → couchbase}/transactions/transaction_query_options.hxx +51 -35
- package/deps/couchbase-cxx-client/couchbase/transactions/transaction_query_result.hxx +55 -0
- package/deps/couchbase-cxx-client/couchbase/transactions/transactions_cleanup_config.hxx +140 -0
- package/deps/couchbase-cxx-client/couchbase/transactions/transactions_config.hxx +255 -0
- package/deps/couchbase-cxx-client/couchbase/transactions/transactions_query_config.hxx +61 -0
- package/deps/couchbase-cxx-client/couchbase/transactions.hxx +3 -3
- package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +2 -1
- package/deps/couchbase-cxx-client/couchbase/watch_query_indexes_options.hxx +115 -0
- package/deps/couchbase-cxx-client/examples/CMakeLists.txt +10 -0
- package/deps/couchbase-cxx-client/examples/async_game_server.cxx +314 -0
- package/deps/couchbase-cxx-client/examples/channels.cxx +50 -0
- package/deps/couchbase-cxx-client/examples/distributed_mutex.cxx +186 -0
- package/deps/couchbase-cxx-client/examples/game_server.cxx +81 -102
- package/deps/couchbase-cxx-client/examples/minimal.cxx +3 -1
- package/deps/couchbase-cxx-client/test/CMakeLists.txt +1 -0
- package/deps/couchbase-cxx-client/test/test_helper.hxx +5 -0
- package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +3 -3
- package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +2 -2
- package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +12 -6
- package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +79 -5
- package/deps/couchbase-cxx-client/test/test_integration_management.cxx +795 -320
- package/deps/couchbase-cxx-client/test/test_integration_query.cxx +89 -8
- package/deps/couchbase-cxx-client/test/test_integration_range_scan.cxx +1067 -0
- package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +14 -0
- package/deps/couchbase-cxx-client/test/test_transaction_transaction_context.cxx +236 -110
- package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_async_api.cxx +217 -76
- package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_blocking_api.cxx +538 -147
- package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple.cxx +467 -514
- package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple_async.cxx +415 -330
- package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +4 -0
- package/deps/couchbase-cxx-client/test/test_unit_transaction_logging.cxx +66 -29
- package/deps/couchbase-cxx-client/test/test_unit_transaction_utils.cxx +0 -2
- package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +124 -8
- package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +140 -65
- package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +3 -3
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +47 -10
- package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +13 -3
- package/deps/couchbase-cxx-client/test/utils/test_context.cxx +8 -0
- package/deps/couchbase-cxx-client/test/utils/test_context.hxx +2 -0
- package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +37 -1
- package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +8 -1
- package/deps/couchbase-cxx-client/third_party/asio/.cirrus.yml +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/COPYING +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/Makefile.am +2 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/README +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/asio.manifest +373 -102
- package/deps/couchbase-cxx-client/third_party/asio/asio/asio.pc.in +11 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/boost_asio.manifest +440 -104
- package/deps/couchbase-cxx-client/third_party/asio/asio/boostify.pl +37 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/configure.ac +6 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/Makefile.am +13 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/any_io_executor.hpp +4 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/append.hpp +78 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/as_tuple.hpp +139 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_allocator.hpp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_cancellation_slot.hpp +4 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_executor.hpp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/async_result.hpp +357 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/awaitable.hpp +10 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_datagram_socket.hpp +208 -115
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_deadline_timer.hpp +28 -16
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_file.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_io_object.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_random_access_file.hpp +51 -27
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_raw_socket.hpp +210 -117
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_readable_pipe.hpp +127 -15
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_seq_packet_socket.hpp +84 -47
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_serial_port.hpp +120 -27
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_signal_set.hpp +36 -14
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket.hpp +50 -26
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_acceptor.hpp +295 -150
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_iostream.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_streambuf.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_stream_file.hpp +51 -27
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_stream_socket.hpp +153 -84
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_streambuf.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_streambuf_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_waitable_timer.hpp +28 -16
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_writable_pipe.hpp +127 -15
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_allocator.hpp +722 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_cancellation_slot.hpp +11 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_executor.hpp +36 -20
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffer.hpp +222 -42
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffer_registration.hpp +2 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_read_stream.hpp +38 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_read_stream_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_stream.hpp +34 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_stream_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_write_stream.hpp +38 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_write_stream_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffers_iterator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_signal.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_state.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_type.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/co_spawn.hpp +33 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/completion_condition.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/compose.hpp +682 -12
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/connect.hpp +132 -61
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/connect_pipe.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/coroutine.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/deadline_timer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/defer.hpp +128 -42
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/deferred.hpp +675 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detached.hpp +6 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/array.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/array_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/assert.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/atomic_count.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/base_from_completion_cond.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/bind_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/blocking_executor_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffer_resize_guard.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffered_stream_storage.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/bulk_executor_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/call_stack.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/chrono.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/chrono_time_traits.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/completion_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/concurrency_hint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/config.hpp +201 -11
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/consuming_buffers.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/cstddef.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/cstdint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/date_time_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/deadline_timer_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/dependent_type.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_ops.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_read_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_write_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/dev_poll_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/epoll_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/exception.hpp +40 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/executor_function.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/executor_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/fd_set_adapter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/functional.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/future.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_x86_fenced_block.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/global.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_cont_helpers.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_invoke_helpers.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_tracking.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_type_requirements.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_work.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/hash_map.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +9 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/handler_tracking.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +4 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +10 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_service.ipp +8 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/null_event.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_event.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_mutex.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +21 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_thread.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +6 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/select_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/select_reactor.ipp +36 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/service_registry.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/service_registry.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/signal_set_service.ipp +28 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/socket_ops.ipp +126 -121
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_service.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/thread_context.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/throw_error.ipp +13 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_event.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +21 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +94 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +9 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +11 -11
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_mutex.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_thread.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winsock_init.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_control.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_object_impl.hpp +11 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +26 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_file_service.hpp +12 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_service.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +4 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_service.hpp +31 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_wait_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/is_buffer_sequence.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/is_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/kqueue_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/macos_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/memory.hpp +17 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/non_const_lvalue.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/noncopyable.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_global.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_signal_blocker.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_socket_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_static_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_tss_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/object_pool.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/op_queue.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/pop_options.hpp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_global.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_serial_port_service.hpp +2 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_signal_blocker.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_static_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_tss_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/push_options.hpp +11 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +26 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_service.hpp +38 -12
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_wait_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor_op_queue.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/recycling_allocator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/regex_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_query_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolver_service.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolver_service_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_task.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_thread_info.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scoped_lock.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scoped_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/select_interrupter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/select_reactor.hpp +23 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/service_registry.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_blocker.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_init.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_op.hpp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_set_service.hpp +43 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_holder.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_ops.hpp +37 -45
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_option.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_select_interrupter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/solaris_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/source_location.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/static_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_global.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_static_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/strand_executor_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/strand_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/string_view.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_group.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_info_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/throw_error.hpp +18 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/throw_exception.hpp +7 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_ptime.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_set.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_scheduler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/tss_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/type_traits.hpp +9 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/utility.hpp +84 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/variadic_templates.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wait_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wait_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_event.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_fenced_block.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_global.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_file_service.hpp +8 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +29 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +6 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_io_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +6 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +2 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +5 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +32 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +6 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +3 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_object_handle_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_static_mutex.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_tss_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winapp_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wince_thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_async_manager.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_async_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_resolve_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_resolver_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_utils.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winsock_init.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/work_dispatcher.hpp +4 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wrapped_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/dispatch.hpp +126 -42
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/error.hpp +36 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/error_code.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/allocator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/any_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bad_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/blocking.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/blocking_adaptation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bulk_execute.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bulk_guarantee.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/connect.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/context_as.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_invocable.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_receiver.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/bulk_sender.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/submit_receiver.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/void_receiver.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/execute.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/impl/bad_executor.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/impl/receiver_invocation_error.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/invocable_archetype.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/mapping.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/occupancy.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/operation_state.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/outstanding_work.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/prefer_only.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/receiver.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/receiver_invocation_error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/relationship.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/schedule.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/scheduler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/sender.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_done.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_value.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/start.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/submit.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/executor_work_guard.hpp +100 -32
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/append.hpp +6 -41
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/as_single.hpp +6 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/as_tuple.hpp +6 -101
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/awaitable_operators.hpp +14 -14
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/basic_channel.hpp +78 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +69 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/cancellation_condition.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel_error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel_traits.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/co_spawn.hpp +12 -16
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/concurrent_channel.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/coro.hpp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/coro_traits.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/deferred.hpp +6 -575
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_message.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_operation.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_payload.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +2 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/completion_handler_erasure.hpp +82 -46
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/coro_promise_allocator.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/has_signature.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +6 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/partial_promise.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/as_single.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/channel_error.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/coro.hpp +47 -56
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/parallel_group.hpp +14 -28
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/promise.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/use_coro.hpp +3 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/parallel_group.hpp +27 -37
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/prepend.hpp +6 -41
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/promise.hpp +23 -405
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/use_coro.hpp +5 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/file_base.hpp +9 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/basic_endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/datagram_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/detail/endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/raw_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/seq_packet_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/stream_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_alloc_hook.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_continuation_hook.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_invoke_hook.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/high_resolution_timer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/any_io_executor.ipp +6 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/append.hpp +18 -19
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/as_tuple.hpp +13 -15
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/awaitable.hpp +400 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/buffered_read_stream.hpp +13 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/buffered_write_stream.hpp +13 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/cancellation_signal.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/co_spawn.hpp +71 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect.hpp +63 -31
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect_pipe.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect_pipe.ipp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/defer.hpp +23 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/deferred.hpp +31 -40
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/detached.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/dispatch.hpp +23 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/error.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/error_code.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/execution_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/execution_context.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/executor.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/handler_alloc_hook.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/io_context.hpp +9 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/io_context.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/multiple_exceptions.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/post.hpp +23 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/prepend.hpp +16 -17
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read.hpp +97 -51
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read_at.hpp +51 -31
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read_until.hpp +119 -59
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/redirect_error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/serial_port_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/serial_port_base.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/spawn.hpp +1321 -277
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/src.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_context.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/thread_pool.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/thread_pool.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/use_awaitable.hpp +18 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/use_future.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/write.hpp +95 -50
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/write_at.hpp +53 -31
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_context.hpp +25 -38
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_context_strand.hpp +15 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_service.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_service_strand.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4.hpp +75 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4_iterator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4_range.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6.hpp +35 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6_iterator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6_range.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/bad_address_cast.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver.hpp +130 -64
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_entry.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_query.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_results.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/socket_option.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/host_name.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/icmp.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v4.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v4.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v6.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v6.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/host_name.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v4.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v4.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v6.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v6.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/multicast.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/network_v4.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/network_v6.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/resolver_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/resolver_query_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/tcp.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/udp.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/unicast.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/v6_only.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_applicable_property.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_contiguous_iterator.hpp +45 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_read_buffered.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_write_buffered.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/basic_endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/connect_pair.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/datagram_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/detail/endpoint.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/detail/impl/endpoint.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/stream_protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/multiple_exceptions.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/packaged_task.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/placeholders.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/basic_descriptor.hpp +74 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +95 -27
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/descriptor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/descriptor_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/stream_descriptor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/post.hpp +128 -42
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/prefer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/prepend.hpp +78 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/query.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/random_access_file.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read.hpp +245 -153
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read_at.hpp +110 -53
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read_until.hpp +301 -166
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/readable_pipe.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/recycling_allocator.hpp +138 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/redirect_error.hpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/registered_buffer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/require.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/require_concept.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/serial_port.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/serial_port_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/signal_set.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/socket_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/spawn.hpp +647 -87
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/context.hpp +4 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/context_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/engine.hpp +4 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/handshake_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/impl/engine.ipp +19 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +7 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/io.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/openssl_init.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/openssl_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/password_callback.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/read_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/stream_core.hpp +16 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/verify_callback.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/write_op.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/host_name_verification.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/context.ipp +140 -64
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/error.ipp +25 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/src.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/rfc2818_verification.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/stream.hpp +154 -53
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/stream_base.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/verify_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/verify_mode.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/static_thread_pool.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/steady_timer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/strand.hpp +12 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/stream_file.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/streambuf.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_error.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_timer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/this_coro.hpp +4 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/thread.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/thread_pool.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/time_traits.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/bulk_execute_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/bulk_execute_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/connect_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/connect_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/equality_comparable.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/execute_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/execute_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/prefer_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/prefer_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_concept_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_concept_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/schedule_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/schedule_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_done_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_done_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_error_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_error_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_value_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_value_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/start_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/start_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_query.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_require.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_require_concept.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/submit_free.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/submit_member.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/buffer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/internet.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/io_context.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/net.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/netfwd.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/socket.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/timer.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/unyield.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/use_awaitable.hpp +4 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/use_future.hpp +10 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/uses_executor.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/version.hpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/wait_traits.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_object_handle.hpp +70 -12
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +100 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_random_access_handle.hpp +98 -29
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_stream_handle.hpp +95 -28
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/object_handle.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/overlapped_handle.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/overlapped_ptr.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/random_access_handle.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/stream_handle.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/writable_pipe.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/write.hpp +242 -150
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/write_at.hpp +112 -53
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/yield.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio.hpp +8 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/Makefile.am +18 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/Makefile.msc +6 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/asio.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/asio_ssl.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/Jamfile.v2 +20 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/asio.qbk +4 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/asioref.xsl +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/doxy2qbk.pl +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/examples.qbk +69 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/history.qbk +398 -17
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/index.xml +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/makepdf.pl +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/net_ts.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/allocation.qbk +13 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/async.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/basics.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/bsd_sockets.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/buffers.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cancellation.qbk +5 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/channels.qbk +56 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/compose.qbk +101 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/concurrency_hint.qbk +9 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/coro.qbk +72 -10
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/coroutine.qbk +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cpp2011.qbk +1 -36
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cpp20_coroutines.qbk +70 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/deferred.qbk +54 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/files.qbk +49 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/futures.qbk +41 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/handler_tracking.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/implementation.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/iostreams.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/line_based.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/allocators.qbk +65 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/associators.qbk +78 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agent_chain.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agent_model.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agents.qbk +35 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_child_agent_chain.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_init_complete.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_model.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_phases.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_trivial_chain.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_ops.qbk +81 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/cancellation.qbk +33 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/child_agents.qbk +56 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_token_model.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_token_transform.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_tokens.qbk +239 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/executors.qbk +55 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/higher_level_model.png +0 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/higher_levels.qbk +40 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/library_elements.qbk +102 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model.qbk +40 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/other_protocols.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/parallel_group.qbk +65 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/pipes.qbk +38 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/posix.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/promises.qbk +96 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/protocols.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/rationale.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/reactor.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/serial_ports.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/signals.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/spawn.qbk +7 -10
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/ssl.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/strands.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/streams.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/threads.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/timers.qbk +14 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/token_adapters.qbk +210 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/windows.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview.qbk +54 -13
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/platform_macros.pl +6 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/platform_macros.qbk +100 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/quickref.xml +29 -10
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.dox +4 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.qbk +10930 -3915
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.xsl +52 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptHandler.qbk +1 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptToken.qbk +99 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptableProtocol.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessReadDevice.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessWriteDevice.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncReadStream.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncWriteStream.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/BufferedHandshakeHandler.qbk +1 -41
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/BufferedHandshakeToken.qbk +111 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CancellationHandler.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CancellationSlot.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CompletionCondition.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectCondition.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectHandler.qbk +1 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectToken.qbk +99 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConstBufferSequence.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v1.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v2.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Endpoint.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/EndpointSequence.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ExecutionContext.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Executor.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/GettableSerialPortOption.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/GettableSocketOption.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Handler.qbk +8 -53
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/HandshakeHandler.qbk +1 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/HandshakeToken.qbk +99 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/InternetProtocol.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IoControlCommand.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IoObjectService.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IteratorConnectHandler.qbk +2 -67
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IteratorConnectToken.qbk +113 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/LegacyCompletionHandler.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MoveAcceptHandler.qbk +1 -46
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MoveAcceptToken.qbk +94 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MutableBufferSequence.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/NullaryToken.qbk +79 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/OperationState.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ProtoAllocator.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Protocol.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/RangeConnectHandler.qbk +2 -68
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/RangeConnectToken.qbk +114 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ReadHandler.qbk +1 -65
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ReadToken.qbk +110 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Receiver.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ResolveHandler.qbk +1 -65
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ResolveToken.qbk +112 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Scheduler.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Sender.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Service.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SettableSerialPortOption.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SettableSocketOption.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ShutdownHandler.qbk +1 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ShutdownToken.qbk +99 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SignalHandler.qbk +1 -65
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SignalToken.qbk +109 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncRandomAccessReadDevice.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncRandomAccessWriteDevice.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncReadStream.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncWriteStream.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/TimeTraits.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitHandler.qbk +1 -58
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitToken.qbk +99 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitTraits.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WriteHandler.qbk +1 -65
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WriteToken.qbk +110 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/asynchronous_operations.qbk +128 -61
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/asynchronous_socket_operations.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/synchronous_socket_operations.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/std_executors.qbk +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/tutorial.qbk +53 -49
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/tutorial.xsl +12 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/using.qbk +1 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/Makefile.am +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/allocation/server.cpp +7 -50
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/buffers/reference_counted.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_message.hpp +6 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/posix_chat_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/async_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/async_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_tcp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_udp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/fork/daemon.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/fork/process_per_connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/client/async_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/client/sync_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_1K.html +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_2K.html +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_4K.html +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_8K.html +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection_manager.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection_manager.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/main.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/mime_types.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/mime_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/reply.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/reply.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_handler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_parser.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_parser.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/server.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/connection.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/io_context_pool.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/io_context_pool.hpp +5 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/main.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/mime_types.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/mime_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/reply.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/reply.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_handler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_parser.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_parser.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/server.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/connection.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/main.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/mime_types.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/mime_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/reply.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/reply.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_handler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_parser.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_parser.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/server.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/file_handler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/file_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/main.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/mime_types.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/mime_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/reply.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/reply.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request_parser.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request_parser.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/server.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/icmp_header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/ipv4_header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/ping.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/invocation/prioritised_handlers.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/daytime_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/daytime_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/http_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/connect_pair.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/iostream_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/stream_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/stream_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/multicast/receiver.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/multicast/sender.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/nonblocking/third_party_lib.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/protocol.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/connection.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/stock.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/basic_logger.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/daytime_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger_service.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger_service.hpp +8 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/socks4/socks4.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/socks4/sync_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/spawn/echo_server.cpp +9 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/spawn/parallel_grep.cpp +7 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/README +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/ca.pem +48 -47
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/dh4096.pem +25 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/server.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/server.pem +91 -63
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/async_tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_token_tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_udp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timers/time_t_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime1/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime2/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime3/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime4/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime5/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime6/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime7/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime_dox.txt +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/index_dox.txt +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer1/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer2/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer3/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer4/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer5/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer_dox.txt +37 -33
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/windows/transmit_file.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/Makefile.am +23 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/allocation/server.cpp +5 -43
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/buffers/reference_counted.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_message.hpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/deferred/deferred_1.cpp +35 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/deferred/deferred_2.cpp +44 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/async_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/async_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_tcp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_udp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/files/async_file_copy.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/files/blocking_file_copy.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/fork/daemon.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/fork/process_per_connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/futures/daytime_client.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/handler_tracking/async_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/handler_tracking/custom_tracking.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection_manager.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection_manager.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/header.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/main.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/mime_types.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/mime_types.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/reply.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/reply.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_handler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_handler.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_parser.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_parser.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/server.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/invocation/prioritised_handlers.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/iostreams/http_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/connect_pair.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/fd_passing_stream_client.cpp +102 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/fd_passing_stream_server.cpp +160 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/iostream_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/stream_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/stream_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/multicast/receiver.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/multicast/sender.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/nonblocking/third_party_lib.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_1.cpp +55 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_2.cpp +130 -32
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_3.cpp +55 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_4.cpp +54 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_5.cpp +55 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_6.cpp +61 -14
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_7.cpp +55 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_8.cpp +55 -9
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_all.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one_error.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one_success.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/socks4/socks4.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/socks4/sync_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/spawn/echo_server.cpp +5 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/spawn/parallel_grep.cpp +4 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/README +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/ca.pem +48 -47
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/dh4096.pem +25 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/server.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/server.pem +91 -63
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/async_tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_token_tcp_client.cpp +26 -53
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_udp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timers/time_t_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/Makefile.am +5 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_1.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_2.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_3.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_4.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_5.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_6.cpp +3 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_7.cpp +3 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/async_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/async_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_tcp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_tcp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_udp_echo_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_udp_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/iostreams/http_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/c_callback_wrapper.cpp +230 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/callback_wrapper.cpp +152 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_1.cpp +49 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_2.cpp +117 -29
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_3.cpp +48 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_4.cpp +47 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_5.cpp +48 -6
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_6.cpp +53 -11
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_7.cpp +49 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_8.cpp +49 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/parallel_sort.cpp +2 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_all.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one_error.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one_success.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/chat_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_as_single_default.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_as_tuple_default.cpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_default.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/range_based_for.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/refactored_echo_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/Makefile.am +66 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/channels/throttling_proxy.cpp +134 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/chat_server.cpp +222 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server.cpp +76 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_as_single_default.cpp +71 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_as_tuple_default.cpp +71 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_default.cpp +73 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_deferred.cpp +72 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_deferred_default.cpp +74 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/refactored_echo_server.cpp +80 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/timeout.cpp +66 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/c_callback_wrapper.cpp +232 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/callback_wrapper.cpp +154 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_1.cpp +157 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_2.cpp +225 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_3.cpp +232 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_4.cpp +247 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_5.cpp +284 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_6.cpp +345 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_7.cpp +262 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_8.cpp +255 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/Makefile.am +18 -14
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/allocator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/high_res_clock.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/tcp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/tcp_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/udp_client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/udp_server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/client.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/handler_allocator.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/server.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_free_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_free_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_member_prefer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_member_require.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_unsupported.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_free.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_member.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_static.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/append.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/async_ops.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/async_result.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/gettable_socket_option.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/io_control_command.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/as_tuple.cpp +60 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_allocator.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_cancellation_slot.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associator.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/async_result.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/awaitable.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_datagram_socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_deadline_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_file.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_random_access_file.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_raw_socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_readable_pipe.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_seq_packet_socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_serial_port.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_signal_set.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_socket_acceptor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_stream_file.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_stream_socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_streambuf.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_waitable_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_writable_pipe.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_allocator.cpp +253 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_cancellation_slot.cpp +66 -10
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_executor.cpp +60 -10
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffer.cpp +49 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffer_registration.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_read_stream.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_stream.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_write_stream.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffers_iterator.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_signal.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_state.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_type.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/co_spawn.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/completion_condition.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/compose.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/connect.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/connect_pipe.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/coroutine.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/deadline_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/defer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/{experimental/deferred.cpp → deferred.cpp} +5 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/detached.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/dispatch.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/error.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/any_executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/blocking.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/blocking_adaptation.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/bulk_execute.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/bulk_guarantee.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/connect.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/context_as.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/execute.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/invocable_archetype.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/mapping.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/operation_state.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/outstanding_work.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/prefer_only.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/receiver.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/relationship.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/schedule.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/scheduler.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/sender.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_done.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_error.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_value.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/start.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/submit.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution_context.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/executor_work_guard.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/awaitable_operators.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/basic_channel.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/basic_concurrent_channel.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/channel.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/channel_traits.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/concurrent_channel.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/cancel.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/co_spawn.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/exception.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/executor.cpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/partial.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/simple_test.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/stack_test.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/use_coro.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/promise.cpp +22 -248
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/file_base.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/basic_endpoint.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/datagram_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/raw_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/seq_packet_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/stream_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/high_resolution_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/io_context.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/io_context_strand.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/address.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_endpoint.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_entry.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_iterator.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_query.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/host_name.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/icmp.cpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/multicast.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/network_v4.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/network_v6.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/resolver_query_base.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/tcp.cpp +7 -7
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/udp.cpp +3 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/unicast.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/v6_only.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/is_read_buffered.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/is_write_buffered.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/basic_endpoint.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/connect_pair.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/datagram_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/stream_protocol.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/packaged_task.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/placeholders.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/basic_descriptor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/basic_stream_descriptor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/descriptor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/descriptor_base.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/stream_descriptor.cpp +8 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/post.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/prepend.cpp +62 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/random_access_file.cpp +10 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read_at.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read_until.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/readable_pipe.cpp +12 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/recycling_allocator.cpp +82 -0
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/redirect_error.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/registered_buffer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/serial_port.cpp +8 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/serial_port_base.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/signal_set.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/socket_base.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/context.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/context_base.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/error.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/host_name_verification.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/rfc2818_verification.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/stream.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/stream_base.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/static_thread_pool.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/steady_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/strand.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/stream_file.cpp +10 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/streambuf.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_context.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/this_coro.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/thread.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/thread_pool.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/time_traits.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/buffer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/internet.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/io_context.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/net.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/netfwd.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/socket.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/timer.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/unit_test.hpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/use_awaitable.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/use_future.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/uses_executor.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/wait_traits.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_object_handle.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_overlapped_handle.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_random_access_handle.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_stream_handle.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/object_handle.cpp +8 -4
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/overlapped_handle.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/overlapped_ptr.cpp +2 -2
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/random_access_handle.cpp +16 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/stream_handle.cpp +16 -5
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/writable_pipe.cpp +12 -3
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/write.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/write_at.cpp +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlerlive.pl +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlertree.pl +1 -1
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlerviz.pl +1 -1
- package/deps/couchbase-cxx-client/third_party/docopt/.travis.yml +103 -0
- package/deps/couchbase-cxx-client/third_party/docopt/CMakeLists.txt +129 -0
- package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-Boost-1.0 +23 -0
- package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-MIT +23 -0
- package/deps/couchbase-cxx-client/third_party/docopt/README.rst +479 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt-config.cmake +1 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt.cpp +687 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt.h +98 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt.pc.in +9 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt_private.h +676 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt_util.h +122 -0
- package/deps/couchbase-cxx-client/third_party/docopt/docopt_value.h +341 -0
- package/deps/couchbase-cxx-client/third_party/docopt/examples/naval_fate.cpp +36 -0
- package/deps/couchbase-cxx-client/third_party/docopt/main.cpp +16 -0
- package/deps/couchbase-cxx-client/third_party/docopt/run_testcase.cpp +40 -0
- package/deps/couchbase-cxx-client/third_party/docopt/run_tests.py +72 -0
- package/deps/couchbase-cxx-client/third_party/docopt/testcases.docopt +957 -0
- package/deps/couchbase-cxx-client/third_party/expected/COPYING +121 -0
- package/deps/couchbase-cxx-client/third_party/expected/include/tl/expected.hpp +2571 -0
- package/deps/couchbase-cxx-client/tools/CMakeLists.txt +14 -0
- package/deps/couchbase-cxx-client/tools/cbc.cxx +65 -0
- package/deps/couchbase-cxx-client/{core/transactions/internal/get_and_open_buckets.hxx → tools/command.hxx} +11 -10
- package/deps/couchbase-cxx-client/tools/command_registry.cxx +43 -0
- package/deps/couchbase-cxx-client/tools/command_registry.hxx +39 -0
- package/deps/couchbase-cxx-client/tools/get.cxx +267 -0
- package/deps/couchbase-cxx-client/tools/get.hxx +26 -0
- package/deps/couchbase-cxx-client/tools/query.cxx +441 -0
- package/deps/couchbase-cxx-client/tools/query.hxx +26 -0
- package/deps/couchbase-cxx-client/tools/utils.cxx +418 -0
- package/deps/couchbase-cxx-client/tools/utils.hxx +150 -0
- package/deps/couchbase-cxx-client/tools/version.cxx +82 -0
- package/deps/couchbase-cxx-client/tools/version.hxx +26 -0
- package/dist/authenticators.d.ts +2 -2
- package/dist/authenticators.js +1 -2
- package/dist/binding.d.ts +132 -24
- package/dist/binding.js +4 -1
- package/dist/bindingutilities.js +2 -2
- package/dist/cluster.d.ts +7 -12
- package/dist/cluster.js +17 -37
- package/dist/collection.d.ts +6 -0
- package/dist/collection.js +18 -5
- package/dist/configProfile.js +7 -7
- package/dist/crudoptypes.d.ts +4 -0
- package/dist/crudoptypes.js +1 -0
- package/dist/queryexecutor.js +2 -2
- package/dist/queryindexmanager.d.ts +100 -4
- package/dist/queryindexmanager.js +344 -118
- package/dist/searchexecutor.js +5 -1
- package/dist/transactions.js +6 -8
- package/dist/usermanager.d.ts +17 -0
- package/dist/usermanager.js +35 -0
- package/package.json +1 -1
- package/src/connection.cpp +2 -0
- package/src/connection.hpp +1 -0
- package/src/connection_autogen.cpp +16 -0
- package/src/constants.cpp +49 -13
- package/src/jstocbpp_autogen.hpp +510 -23
- package/src/jstocbpp_basic.hpp +25 -2
- package/src/jstocbpp_transactions.hpp +28 -41
- package/src/transaction.cpp +17 -18
- package/src/transactions.cpp +1 -1
- package/tools/gen-bindings-js.js +66 -6
- package/tools/gen-bindings-json.py +43 -7
- package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +0 -12
- package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +0 -152
- package/deps/couchbase-cxx-client/core/transactions/get_and_open_buckets.cxx +0 -59
- package/deps/couchbase-cxx-client/core/transactions/logging.cxx +0 -107
- package/deps/couchbase-cxx-client/core/transactions/transaction_config.cxx +0 -76
- package/deps/couchbase-cxx-client/core/transactions/transaction_query_options.cxx +0 -39
- package/deps/couchbase-cxx-client/couchbase/transactions/transaction_config.hxx +0 -265
- package/deps/couchbase-cxx-client/test/utils/transactions_env.h +0 -327
- package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/compose.hpp +0 -707
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CompletionHandler.qbk +0 -63
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/dh2048.pem +0 -8
- package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/dh2048.pem +0 -8
@@ -2,7 +2,7 @@
|
|
2
2
|
// impl/spawn.hpp
|
3
3
|
// ~~~~~~~~~~~~~~
|
4
4
|
//
|
5
|
-
// Copyright (c) 2003-
|
5
|
+
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
6
6
|
//
|
7
7
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
8
8
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
@@ -17,6 +17,7 @@
|
|
17
17
|
|
18
18
|
#include "asio/detail/config.hpp"
|
19
19
|
#include "asio/associated_allocator.hpp"
|
20
|
+
#include "asio/associated_cancellation_slot.hpp"
|
20
21
|
#include "asio/associated_executor.hpp"
|
21
22
|
#include "asio/async_result.hpp"
|
22
23
|
#include "asio/bind_executor.hpp"
|
@@ -27,384 +28,1428 @@
|
|
27
28
|
#include "asio/detail/memory.hpp"
|
28
29
|
#include "asio/detail/noncopyable.hpp"
|
29
30
|
#include "asio/detail/type_traits.hpp"
|
31
|
+
#include "asio/detail/utility.hpp"
|
32
|
+
#include "asio/detail/variadic_templates.hpp"
|
30
33
|
#include "asio/system_error.hpp"
|
31
34
|
|
35
|
+
#if defined(ASIO_HAS_STD_TUPLE)
|
36
|
+
# include <tuple>
|
37
|
+
#endif // defined(ASIO_HAS_STD_TUPLE)
|
38
|
+
|
39
|
+
#if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
40
|
+
# include <boost/context/fiber.hpp>
|
41
|
+
#endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
42
|
+
|
32
43
|
#include "asio/detail/push_options.hpp"
|
33
44
|
|
34
45
|
namespace asio {
|
35
46
|
namespace detail {
|
36
47
|
|
37
|
-
|
38
|
-
|
48
|
+
#if defined(ASIO_HAS_BOOST_COROUTINE)
|
49
|
+
|
50
|
+
// Spawned thread implementation using Boost.Coroutine.
|
51
|
+
class spawned_coroutine_thread : public spawned_thread_base
|
52
|
+
{
|
53
|
+
public:
|
54
|
+
#if defined(BOOST_COROUTINES_UNIDIRECT) || defined(BOOST_COROUTINES_V2)
|
55
|
+
typedef boost::coroutines::pull_coroutine<void> callee_type;
|
56
|
+
typedef boost::coroutines::push_coroutine<void> caller_type;
|
57
|
+
#else
|
58
|
+
typedef boost::coroutines::coroutine<void()> callee_type;
|
59
|
+
typedef boost::coroutines::coroutine<void()> caller_type;
|
60
|
+
#endif
|
61
|
+
|
62
|
+
spawned_coroutine_thread(caller_type& caller)
|
63
|
+
: caller_(caller),
|
64
|
+
on_suspend_fn_(0),
|
65
|
+
on_suspend_arg_(0)
|
39
66
|
{
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
67
|
+
}
|
68
|
+
|
69
|
+
template <typename F>
|
70
|
+
static spawned_thread_base* spawn(ASIO_MOVE_ARG(F) f,
|
71
|
+
const boost::coroutines::attributes& attributes,
|
72
|
+
cancellation_slot parent_cancel_slot = cancellation_slot(),
|
73
|
+
cancellation_state cancel_state = cancellation_state())
|
74
|
+
{
|
75
|
+
spawned_coroutine_thread* spawned_thread = 0;
|
76
|
+
callee_type callee(entry_point<typename decay<F>::type>(
|
77
|
+
ASIO_MOVE_CAST(F)(f), &spawned_thread), attributes);
|
78
|
+
spawned_thread->callee_.swap(callee);
|
79
|
+
spawned_thread->parent_cancellation_slot_ = parent_cancel_slot;
|
80
|
+
spawned_thread->cancellation_state_ = cancel_state;
|
81
|
+
return spawned_thread;
|
82
|
+
}
|
83
|
+
|
84
|
+
template <typename F>
|
85
|
+
static spawned_thread_base* spawn(ASIO_MOVE_ARG(F) f,
|
86
|
+
cancellation_slot parent_cancel_slot = cancellation_slot(),
|
87
|
+
cancellation_state cancel_state = cancellation_state())
|
88
|
+
{
|
89
|
+
return spawn(ASIO_MOVE_CAST(F)(f), boost::coroutines::attributes(),
|
90
|
+
parent_cancel_slot, cancel_state);
|
91
|
+
}
|
92
|
+
|
93
|
+
void resume()
|
94
|
+
{
|
95
|
+
callee_();
|
96
|
+
if (on_suspend_fn_)
|
48
97
|
{
|
98
|
+
void (*fn)(void*) = on_suspend_fn_;
|
99
|
+
void* arg = on_suspend_arg_;
|
100
|
+
on_suspend_fn_ = 0;
|
101
|
+
fn(arg);
|
49
102
|
}
|
103
|
+
}
|
50
104
|
|
51
|
-
|
105
|
+
void suspend_with(void (*fn)(void*), void* arg)
|
106
|
+
{
|
107
|
+
if (throw_if_cancelled_)
|
108
|
+
if (!!cancellation_state_.cancelled())
|
109
|
+
throw_error(asio::error::operation_aborted, "yield");
|
110
|
+
has_context_switched_ = true;
|
111
|
+
on_suspend_fn_ = fn;
|
112
|
+
on_suspend_arg_ = arg;
|
113
|
+
caller_();
|
114
|
+
}
|
115
|
+
|
116
|
+
void destroy()
|
117
|
+
{
|
118
|
+
callee_type callee;
|
119
|
+
callee.swap(callee_);
|
120
|
+
}
|
121
|
+
|
122
|
+
private:
|
123
|
+
template <typename Function>
|
124
|
+
class entry_point
|
125
|
+
{
|
126
|
+
public:
|
127
|
+
template <typename F>
|
128
|
+
entry_point(ASIO_MOVE_ARG(F) f,
|
129
|
+
spawned_coroutine_thread** spawned_thread_out)
|
130
|
+
: function_(ASIO_MOVE_CAST(F)(f)),
|
131
|
+
spawned_thread_out_(spawned_thread_out)
|
52
132
|
{
|
53
|
-
*ec_ = asio::error_code();
|
54
|
-
*value_ = ASIO_MOVE_CAST(T)(value);
|
55
|
-
if (--*ready_ == 0)
|
56
|
-
(*coro_)();
|
57
133
|
}
|
58
134
|
|
59
|
-
void operator()(
|
135
|
+
void operator()(caller_type& caller)
|
60
136
|
{
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
137
|
+
Function function(ASIO_MOVE_CAST(Function)(function_));
|
138
|
+
spawned_coroutine_thread spawned_thread(caller);
|
139
|
+
*spawned_thread_out_ = &spawned_thread;
|
140
|
+
spawned_thread_out_ = 0;
|
141
|
+
spawned_thread.suspend();
|
142
|
+
function(&spawned_thread);
|
143
|
+
spawned_thread.suspend();
|
65
144
|
}
|
66
145
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
Handler handler_;
|
71
|
-
atomic_count* ready_;
|
72
|
-
asio::error_code* ec_;
|
73
|
-
T* value_;
|
146
|
+
private:
|
147
|
+
Function function_;
|
148
|
+
spawned_coroutine_thread** spawned_thread_out_;
|
74
149
|
};
|
75
150
|
|
76
|
-
|
77
|
-
|
151
|
+
caller_type& caller_;
|
152
|
+
callee_type callee_;
|
153
|
+
void (*on_suspend_fn_)(void*);
|
154
|
+
void* on_suspend_arg_;
|
155
|
+
};
|
156
|
+
|
157
|
+
#endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
158
|
+
|
159
|
+
#if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
160
|
+
|
161
|
+
// Spawned thread implementation using Boost.Context's fiber.
|
162
|
+
class spawned_fiber_thread : public spawned_thread_base
|
163
|
+
{
|
164
|
+
public:
|
165
|
+
typedef boost::context::fiber fiber_type;
|
166
|
+
|
167
|
+
spawned_fiber_thread(ASIO_MOVE_ARG(fiber_type) caller)
|
168
|
+
: caller_(ASIO_MOVE_CAST(fiber_type)(caller)),
|
169
|
+
on_suspend_fn_(0),
|
170
|
+
on_suspend_arg_(0)
|
78
171
|
{
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
172
|
+
}
|
173
|
+
|
174
|
+
template <typename StackAllocator, typename F>
|
175
|
+
static spawned_thread_base* spawn(allocator_arg_t,
|
176
|
+
ASIO_MOVE_ARG(StackAllocator) stack_allocator,
|
177
|
+
ASIO_MOVE_ARG(F) f,
|
178
|
+
cancellation_slot parent_cancel_slot = cancellation_slot(),
|
179
|
+
cancellation_state cancel_state = cancellation_state())
|
180
|
+
{
|
181
|
+
spawned_fiber_thread* spawned_thread = 0;
|
182
|
+
fiber_type callee(allocator_arg_t(),
|
183
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
184
|
+
entry_point<typename decay<F>::type>(
|
185
|
+
ASIO_MOVE_CAST(F)(f), &spawned_thread));
|
186
|
+
callee = fiber_type(ASIO_MOVE_CAST(fiber_type)(callee)).resume();
|
187
|
+
spawned_thread->callee_ = ASIO_MOVE_CAST(fiber_type)(callee);
|
188
|
+
spawned_thread->parent_cancellation_slot_ = parent_cancel_slot;
|
189
|
+
spawned_thread->cancellation_state_ = cancel_state;
|
190
|
+
return spawned_thread;
|
191
|
+
}
|
192
|
+
|
193
|
+
template <typename F>
|
194
|
+
static spawned_thread_base* spawn(ASIO_MOVE_ARG(F) f,
|
195
|
+
cancellation_slot parent_cancel_slot = cancellation_slot(),
|
196
|
+
cancellation_state cancel_state = cancellation_state())
|
197
|
+
{
|
198
|
+
return spawn(allocator_arg_t(), boost::context::fixedsize_stack(),
|
199
|
+
ASIO_MOVE_CAST(F)(f), parent_cancel_slot, cancel_state);
|
200
|
+
}
|
201
|
+
|
202
|
+
void resume()
|
203
|
+
{
|
204
|
+
callee_ = fiber_type(ASIO_MOVE_CAST(fiber_type)(callee_)).resume();
|
205
|
+
if (on_suspend_fn_)
|
86
206
|
{
|
207
|
+
void (*fn)(void*) = on_suspend_fn_;
|
208
|
+
void* arg = on_suspend_arg_;
|
209
|
+
on_suspend_fn_ = 0;
|
210
|
+
fn(arg);
|
87
211
|
}
|
212
|
+
}
|
88
213
|
|
89
|
-
|
214
|
+
void suspend_with(void (*fn)(void*), void* arg)
|
215
|
+
{
|
216
|
+
if (throw_if_cancelled_)
|
217
|
+
if (!!cancellation_state_.cancelled())
|
218
|
+
throw_error(asio::error::operation_aborted, "yield");
|
219
|
+
has_context_switched_ = true;
|
220
|
+
on_suspend_fn_ = fn;
|
221
|
+
on_suspend_arg_ = arg;
|
222
|
+
caller_ = fiber_type(ASIO_MOVE_CAST(fiber_type)(caller_)).resume();
|
223
|
+
}
|
224
|
+
|
225
|
+
void destroy()
|
226
|
+
{
|
227
|
+
fiber_type callee = ASIO_MOVE_CAST(fiber_type)(callee_);
|
228
|
+
(void)callee;
|
229
|
+
}
|
230
|
+
|
231
|
+
private:
|
232
|
+
template <typename Function>
|
233
|
+
class entry_point
|
234
|
+
{
|
235
|
+
public:
|
236
|
+
template <typename F>
|
237
|
+
entry_point(ASIO_MOVE_ARG(F) f,
|
238
|
+
spawned_fiber_thread** spawned_thread_out)
|
239
|
+
: function_(ASIO_MOVE_CAST(F)(f)),
|
240
|
+
spawned_thread_out_(spawned_thread_out)
|
90
241
|
{
|
91
|
-
*ec_ = asio::error_code();
|
92
|
-
if (--*ready_ == 0)
|
93
|
-
(*coro_)();
|
94
242
|
}
|
95
243
|
|
96
|
-
|
244
|
+
fiber_type operator()(ASIO_MOVE_ARG(fiber_type) caller)
|
97
245
|
{
|
98
|
-
|
99
|
-
|
100
|
-
|
246
|
+
Function function(ASIO_MOVE_CAST(Function)(function_));
|
247
|
+
spawned_fiber_thread spawned_thread(
|
248
|
+
ASIO_MOVE_CAST(fiber_type)(caller));
|
249
|
+
*spawned_thread_out_ = &spawned_thread;
|
250
|
+
spawned_thread_out_ = 0;
|
251
|
+
spawned_thread.suspend();
|
252
|
+
function(&spawned_thread);
|
253
|
+
spawned_thread.suspend();
|
254
|
+
return {};
|
101
255
|
}
|
102
256
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
Handler handler_;
|
107
|
-
atomic_count* ready_;
|
108
|
-
asio::error_code* ec_;
|
257
|
+
private:
|
258
|
+
Function function_;
|
259
|
+
spawned_fiber_thread** spawned_thread_out_;
|
109
260
|
};
|
110
261
|
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
262
|
+
fiber_type caller_;
|
263
|
+
fiber_type callee_;
|
264
|
+
void (*on_suspend_fn_)(void*);
|
265
|
+
void* on_suspend_arg_;
|
266
|
+
};
|
267
|
+
|
268
|
+
#endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
269
|
+
|
270
|
+
#if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
271
|
+
typedef spawned_fiber_thread default_spawned_thread_type;
|
272
|
+
#elif defined(ASIO_HAS_BOOST_COROUTINE)
|
273
|
+
typedef spawned_coroutine_thread default_spawned_thread_type;
|
274
|
+
#else
|
275
|
+
# error No spawn() implementation available
|
276
|
+
#endif
|
277
|
+
|
278
|
+
// Helper class to perform the initial resume on the correct executor.
|
279
|
+
class spawned_thread_resumer
|
280
|
+
{
|
281
|
+
public:
|
282
|
+
explicit spawned_thread_resumer(spawned_thread_base* spawned_thread)
|
283
|
+
: spawned_thread_(spawned_thread)
|
115
284
|
{
|
116
|
-
#if defined(
|
117
|
-
|
118
|
-
|
119
|
-
#
|
120
|
-
return asio_handler_alloc_helpers::allocate(
|
121
|
-
size, this_handler->handler_);
|
122
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
285
|
+
#if !defined(ASIO_HAS_MOVE)
|
286
|
+
spawned_thread->detach();
|
287
|
+
spawned_thread->attach(&spawned_thread_);
|
288
|
+
#endif // !defined(ASIO_HAS_MOVE)
|
123
289
|
}
|
124
290
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
291
|
+
#if defined(ASIO_HAS_MOVE)
|
292
|
+
|
293
|
+
spawned_thread_resumer(spawned_thread_resumer&& other) ASIO_NOEXCEPT
|
294
|
+
: spawned_thread_(other.spawned_thread_)
|
129
295
|
{
|
130
|
-
|
131
|
-
pointer, size, this_handler->handler_);
|
132
|
-
#if defined(ASIO_NO_DEPRECATED)
|
133
|
-
return asio_handler_deallocate_is_no_longer_used();
|
134
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
296
|
+
other.spawned_thread_ = 0;
|
135
297
|
}
|
136
298
|
|
137
|
-
|
138
|
-
|
299
|
+
#else // defined(ASIO_HAS_MOVE)
|
300
|
+
|
301
|
+
spawned_thread_resumer(
|
302
|
+
const spawned_thread_resumer& other) ASIO_NOEXCEPT
|
303
|
+
: spawned_thread_(other.spawned_thread_)
|
139
304
|
{
|
140
|
-
|
305
|
+
spawned_thread_->detach();
|
306
|
+
spawned_thread_->attach(&spawned_thread_);
|
141
307
|
}
|
142
308
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
coro_handler<Handler, T>* this_handler)
|
309
|
+
#endif // defined(ASIO_HAS_MOVE)
|
310
|
+
|
311
|
+
~spawned_thread_resumer()
|
147
312
|
{
|
148
|
-
|
149
|
-
|
150
|
-
#if defined(ASIO_NO_DEPRECATED)
|
151
|
-
return asio_handler_invoke_is_no_longer_used();
|
152
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
313
|
+
if (spawned_thread_)
|
314
|
+
spawned_thread_->destroy();
|
153
315
|
}
|
154
316
|
|
155
|
-
|
156
|
-
inline asio_handler_invoke_is_deprecated
|
157
|
-
asio_handler_invoke(const Function& function,
|
158
|
-
coro_handler<Handler, T>* this_handler)
|
317
|
+
void operator()()
|
159
318
|
{
|
160
|
-
|
161
|
-
|
162
|
-
#
|
163
|
-
|
164
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
319
|
+
#if defined(ASIO_HAS_MOVE)
|
320
|
+
spawned_thread_->attach(&spawned_thread_);
|
321
|
+
#endif // defined(ASIO_HAS_MOVE)
|
322
|
+
spawned_thread_->resume();
|
165
323
|
}
|
166
324
|
|
167
|
-
|
168
|
-
|
325
|
+
private:
|
326
|
+
spawned_thread_base* spawned_thread_;
|
327
|
+
};
|
328
|
+
|
329
|
+
// Helper class to ensure spawned threads are destroyed on the correct executor.
|
330
|
+
class spawned_thread_destroyer
|
331
|
+
{
|
332
|
+
public:
|
333
|
+
explicit spawned_thread_destroyer(spawned_thread_base* spawned_thread)
|
334
|
+
: spawned_thread_(spawned_thread)
|
169
335
|
{
|
170
|
-
|
171
|
-
|
172
|
-
|
336
|
+
spawned_thread->detach();
|
337
|
+
#if !defined(ASIO_HAS_MOVE)
|
338
|
+
spawned_thread->attach(&spawned_thread_);
|
339
|
+
#endif // !defined(ASIO_HAS_MOVE)
|
340
|
+
}
|
173
341
|
|
174
|
-
|
175
|
-
: handler_(h),
|
176
|
-
ca_(h.ca_),
|
177
|
-
ready_(2)
|
178
|
-
{
|
179
|
-
h.ready_ = &ready_;
|
180
|
-
out_ec_ = h.ec_;
|
181
|
-
if (!out_ec_) h.ec_ = &ec_;
|
182
|
-
h.value_ = &value_;
|
183
|
-
}
|
342
|
+
#if defined(ASIO_HAS_MOVE)
|
184
343
|
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
344
|
+
spawned_thread_destroyer(spawned_thread_destroyer&& other) ASIO_NOEXCEPT
|
345
|
+
: spawned_thread_(other.spawned_thread_)
|
346
|
+
{
|
347
|
+
other.spawned_thread_ = 0;
|
348
|
+
}
|
189
349
|
|
190
|
-
|
191
|
-
ca_();
|
192
|
-
if (!out_ec_ && ec_) throw asio::system_error(ec_);
|
193
|
-
return ASIO_MOVE_CAST(return_type)(value_);
|
194
|
-
}
|
350
|
+
#else // defined(ASIO_HAS_MOVE)
|
195
351
|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
352
|
+
spawned_thread_destroyer(
|
353
|
+
const spawned_thread_destroyer& other) ASIO_NOEXCEPT
|
354
|
+
: spawned_thread_(other.spawned_thread_)
|
355
|
+
{
|
356
|
+
spawned_thread_->detach();
|
357
|
+
spawned_thread_->attach(&spawned_thread_);
|
358
|
+
}
|
359
|
+
|
360
|
+
#endif // defined(ASIO_HAS_MOVE)
|
204
361
|
|
205
|
-
|
206
|
-
class coro_async_result<Handler, void>
|
362
|
+
~spawned_thread_destroyer()
|
207
363
|
{
|
208
|
-
|
209
|
-
|
210
|
-
|
364
|
+
if (spawned_thread_)
|
365
|
+
spawned_thread_->destroy();
|
366
|
+
}
|
211
367
|
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
ready_(2)
|
368
|
+
void operator()()
|
369
|
+
{
|
370
|
+
if (spawned_thread_)
|
216
371
|
{
|
217
|
-
|
218
|
-
|
219
|
-
if (!out_ec_) h.ec_ = &ec_;
|
372
|
+
spawned_thread_->destroy();
|
373
|
+
spawned_thread_ = 0;
|
220
374
|
}
|
375
|
+
}
|
221
376
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
handler_.coro_.reset();
|
377
|
+
private:
|
378
|
+
spawned_thread_base* spawned_thread_;
|
379
|
+
};
|
226
380
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
381
|
+
// Base class for all completion handlers associated with a spawned thread.
|
382
|
+
template <typename Executor>
|
383
|
+
class spawn_handler_base
|
384
|
+
{
|
385
|
+
public:
|
386
|
+
typedef Executor executor_type;
|
387
|
+
typedef cancellation_slot cancellation_slot_type;
|
231
388
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
389
|
+
spawn_handler_base(const basic_yield_context<Executor>& yield)
|
390
|
+
: yield_(yield),
|
391
|
+
spawned_thread_(yield.spawned_thread_)
|
392
|
+
{
|
393
|
+
spawned_thread_->detach();
|
394
|
+
#if !defined(ASIO_HAS_MOVE)
|
395
|
+
spawned_thread_->attach(&spawned_thread_);
|
396
|
+
#endif // !defined(ASIO_HAS_MOVE)
|
397
|
+
}
|
239
398
|
|
240
|
-
|
399
|
+
#if defined(ASIO_HAS_MOVE)
|
400
|
+
|
401
|
+
spawn_handler_base(spawn_handler_base&& other) ASIO_NOEXCEPT
|
402
|
+
: yield_(other.yield_),
|
403
|
+
spawned_thread_(other.spawned_thread_)
|
404
|
+
|
405
|
+
{
|
406
|
+
other.spawned_thread_ = 0;
|
407
|
+
}
|
241
408
|
|
242
|
-
#
|
409
|
+
#else // defined(ASIO_HAS_MOVE)
|
243
410
|
|
244
|
-
|
245
|
-
|
246
|
-
|
411
|
+
spawn_handler_base(const spawn_handler_base& other) ASIO_NOEXCEPT
|
412
|
+
: yield_(other.yield_),
|
413
|
+
spawned_thread_(other.spawned_thread_)
|
414
|
+
{
|
415
|
+
spawned_thread_->detach();
|
416
|
+
spawned_thread_->attach(&spawned_thread_);
|
417
|
+
}
|
418
|
+
|
419
|
+
#endif // defined(ASIO_HAS_MOVE)
|
420
|
+
|
421
|
+
~spawn_handler_base()
|
422
|
+
{
|
423
|
+
if (spawned_thread_)
|
424
|
+
(post)(yield_.executor_, spawned_thread_destroyer(spawned_thread_));
|
425
|
+
}
|
426
|
+
|
427
|
+
executor_type get_executor() const ASIO_NOEXCEPT
|
428
|
+
{
|
429
|
+
return yield_.executor_;
|
430
|
+
}
|
431
|
+
|
432
|
+
cancellation_slot_type get_cancellation_slot() const ASIO_NOEXCEPT
|
433
|
+
{
|
434
|
+
return spawned_thread_->get_cancellation_slot();
|
435
|
+
}
|
436
|
+
|
437
|
+
void resume()
|
438
|
+
{
|
439
|
+
spawned_thread_resumer resumer(spawned_thread_);
|
440
|
+
spawned_thread_ = 0;
|
441
|
+
resumer();
|
442
|
+
}
|
443
|
+
|
444
|
+
protected:
|
445
|
+
const basic_yield_context<Executor>& yield_;
|
446
|
+
spawned_thread_base* spawned_thread_;
|
447
|
+
};
|
448
|
+
|
449
|
+
// Completion handlers for when basic_yield_context is used as a token.
|
450
|
+
template <typename Executor, typename Signature>
|
451
|
+
class spawn_handler;
|
452
|
+
|
453
|
+
template <typename Executor, typename R>
|
454
|
+
class spawn_handler<Executor, R()>
|
455
|
+
: public spawn_handler_base<Executor>
|
456
|
+
{
|
457
|
+
public:
|
458
|
+
typedef void return_type;
|
459
|
+
|
460
|
+
struct result_type {};
|
461
|
+
|
462
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type&)
|
463
|
+
: spawn_handler_base<Executor>(yield)
|
464
|
+
{
|
465
|
+
}
|
466
|
+
|
467
|
+
void operator()()
|
468
|
+
{
|
469
|
+
this->resume();
|
470
|
+
}
|
471
|
+
|
472
|
+
static return_type on_resume(result_type&)
|
473
|
+
{
|
474
|
+
}
|
475
|
+
};
|
476
|
+
|
477
|
+
template <typename Executor, typename R>
|
478
|
+
class spawn_handler<Executor, R(asio::error_code)>
|
479
|
+
: public spawn_handler_base<Executor>
|
247
480
|
{
|
248
481
|
public:
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
482
|
+
typedef void return_type;
|
483
|
+
typedef asio::error_code* result_type;
|
484
|
+
|
485
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
486
|
+
: spawn_handler_base<Executor>(yield),
|
487
|
+
result_(result)
|
253
488
|
{
|
254
489
|
}
|
490
|
+
|
491
|
+
void operator()(asio::error_code ec)
|
492
|
+
{
|
493
|
+
if (this->yield_.ec_)
|
494
|
+
{
|
495
|
+
*this->yield_.ec_ = ec;
|
496
|
+
result_ = 0;
|
497
|
+
}
|
498
|
+
else
|
499
|
+
result_ = &ec;
|
500
|
+
this->resume();
|
501
|
+
}
|
502
|
+
|
503
|
+
static return_type on_resume(result_type& result)
|
504
|
+
{
|
505
|
+
if (result)
|
506
|
+
throw_error(*result);
|
507
|
+
}
|
508
|
+
|
509
|
+
private:
|
510
|
+
result_type& result_;
|
255
511
|
};
|
256
512
|
|
257
|
-
template <typename
|
258
|
-
class
|
259
|
-
: public
|
513
|
+
template <typename Executor, typename R>
|
514
|
+
class spawn_handler<Executor, R(exception_ptr)>
|
515
|
+
: public spawn_handler_base<Executor>
|
260
516
|
{
|
261
517
|
public:
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
518
|
+
typedef void return_type;
|
519
|
+
typedef exception_ptr* result_type;
|
520
|
+
|
521
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
522
|
+
: spawn_handler_base<Executor>(yield),
|
523
|
+
result_(result)
|
524
|
+
{
|
525
|
+
}
|
526
|
+
|
527
|
+
void operator()(exception_ptr ex)
|
528
|
+
{
|
529
|
+
result_ = &ex;
|
530
|
+
this->resume();
|
531
|
+
}
|
532
|
+
|
533
|
+
static return_type on_resume(result_type& result)
|
266
534
|
{
|
535
|
+
if (result)
|
536
|
+
rethrow_exception(*result);
|
267
537
|
}
|
538
|
+
|
539
|
+
private:
|
540
|
+
result_type& result_;
|
268
541
|
};
|
269
542
|
|
270
|
-
template <typename
|
271
|
-
class
|
272
|
-
|
273
|
-
: public detail::coro_async_result<Handler, void>
|
543
|
+
template <typename Executor, typename R, typename T>
|
544
|
+
class spawn_handler<Executor, R(T)>
|
545
|
+
: public spawn_handler_base<Executor>
|
274
546
|
{
|
275
547
|
public:
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
548
|
+
typedef T return_type;
|
549
|
+
typedef return_type* result_type;
|
550
|
+
|
551
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
552
|
+
: spawn_handler_base<Executor>(yield),
|
553
|
+
result_(result)
|
280
554
|
{
|
281
555
|
}
|
556
|
+
|
557
|
+
void operator()(T value)
|
558
|
+
{
|
559
|
+
result_ = &value;
|
560
|
+
this->resume();
|
561
|
+
}
|
562
|
+
|
563
|
+
static return_type on_resume(result_type& result)
|
564
|
+
{
|
565
|
+
return ASIO_MOVE_CAST(return_type)(*result);
|
566
|
+
}
|
567
|
+
|
568
|
+
private:
|
569
|
+
result_type& result_;
|
282
570
|
};
|
283
571
|
|
284
|
-
template <typename
|
285
|
-
class
|
286
|
-
|
287
|
-
: public detail::coro_async_result<Handler, typename decay<Arg2>::type>
|
572
|
+
template <typename Executor, typename R, typename T>
|
573
|
+
class spawn_handler<Executor, R(asio::error_code, T)>
|
574
|
+
: public spawn_handler_base<Executor>
|
288
575
|
{
|
289
576
|
public:
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
: detail::coro_async_result<Handler, typename decay<Arg2>::type>(h)
|
577
|
+
typedef T return_type;
|
578
|
+
|
579
|
+
struct result_type
|
294
580
|
{
|
581
|
+
asio::error_code* ec_;
|
582
|
+
return_type* value_;
|
583
|
+
};
|
584
|
+
|
585
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
586
|
+
: spawn_handler_base<Executor>(yield),
|
587
|
+
result_(result)
|
588
|
+
{
|
589
|
+
}
|
590
|
+
|
591
|
+
void operator()(asio::error_code ec, T value)
|
592
|
+
{
|
593
|
+
if (this->yield_.ec_)
|
594
|
+
{
|
595
|
+
*this->yield_.ec_ = ec;
|
596
|
+
result_.ec_ = 0;
|
597
|
+
}
|
598
|
+
else
|
599
|
+
result_.ec_ = &ec;
|
600
|
+
result_.value_ = &value;
|
601
|
+
this->resume();
|
295
602
|
}
|
603
|
+
|
604
|
+
static return_type on_resume(result_type& result)
|
605
|
+
{
|
606
|
+
if (result.ec_)
|
607
|
+
throw_error(*result.ec_);
|
608
|
+
return ASIO_MOVE_CAST(return_type)(*result.value_);
|
609
|
+
}
|
610
|
+
|
611
|
+
private:
|
612
|
+
result_type& result_;
|
296
613
|
};
|
297
614
|
|
298
|
-
template <
|
299
|
-
|
300
|
-
|
301
|
-
detail::coro_handler<Handler, T>,
|
302
|
-
DefaultCandidate>
|
303
|
-
: Associator<Handler, DefaultCandidate>
|
615
|
+
template <typename Executor, typename R, typename T>
|
616
|
+
class spawn_handler<Executor, R(exception_ptr, T)>
|
617
|
+
: public spawn_handler_base<Executor>
|
304
618
|
{
|
305
|
-
|
306
|
-
|
307
|
-
|
619
|
+
public:
|
620
|
+
typedef T return_type;
|
621
|
+
|
622
|
+
struct result_type
|
623
|
+
{
|
624
|
+
exception_ptr ex_;
|
625
|
+
return_type* value_;
|
626
|
+
};
|
627
|
+
|
628
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
629
|
+
: spawn_handler_base<Executor>(yield),
|
630
|
+
result_(result)
|
308
631
|
{
|
309
|
-
return Associator<Handler, DefaultCandidate>::get(h.handler_, c);
|
310
632
|
}
|
633
|
+
|
634
|
+
void operator()(exception_ptr ex, T value)
|
635
|
+
{
|
636
|
+
result_.ex_ = &ex;
|
637
|
+
result_.value_ = &value;
|
638
|
+
this->resume();
|
639
|
+
}
|
640
|
+
|
641
|
+
static return_type on_resume(result_type& result)
|
642
|
+
{
|
643
|
+
if (result.ex_)
|
644
|
+
rethrow_exception(*result.ex_);
|
645
|
+
return ASIO_MOVE_CAST(return_type)(*result.value_);
|
646
|
+
}
|
647
|
+
|
648
|
+
private:
|
649
|
+
result_type& result_;
|
311
650
|
};
|
312
651
|
|
313
|
-
|
652
|
+
#if defined(ASIO_HAS_VARIADIC_TEMPLATES) \
|
653
|
+
&& defined(ASIO_HAS_STD_TUPLE)
|
654
|
+
|
655
|
+
template <typename Executor, typename R, typename... Ts>
|
656
|
+
class spawn_handler<Executor, R(Ts...)>
|
657
|
+
: public spawn_handler_base<Executor>
|
658
|
+
{
|
659
|
+
public:
|
660
|
+
typedef std::tuple<Ts...> return_type;
|
661
|
+
|
662
|
+
typedef return_type* result_type;
|
663
|
+
|
664
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
665
|
+
: spawn_handler_base<Executor>(yield),
|
666
|
+
result_(result)
|
667
|
+
{
|
668
|
+
}
|
669
|
+
|
670
|
+
template <typename... Args>
|
671
|
+
void operator()(ASIO_MOVE_ARG(Args)... args)
|
672
|
+
{
|
673
|
+
return_type value(ASIO_MOVE_CAST(Args)(args)...);
|
674
|
+
result_ = &value;
|
675
|
+
this->resume();
|
676
|
+
}
|
677
|
+
|
678
|
+
static return_type on_resume(result_type& result)
|
679
|
+
{
|
680
|
+
return ASIO_MOVE_CAST(return_type)(*result);
|
681
|
+
}
|
682
|
+
|
683
|
+
private:
|
684
|
+
result_type& result_;
|
685
|
+
};
|
686
|
+
|
687
|
+
template <typename Executor, typename R, typename... Ts>
|
688
|
+
class spawn_handler<Executor, R(asio::error_code, Ts...)>
|
689
|
+
: public spawn_handler_base<Executor>
|
690
|
+
{
|
691
|
+
public:
|
692
|
+
typedef std::tuple<Ts...> return_type;
|
314
693
|
|
315
|
-
|
316
|
-
struct spawn_data : private noncopyable
|
694
|
+
struct result_type
|
317
695
|
{
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
696
|
+
asio::error_code* ec_;
|
697
|
+
return_type* value_;
|
698
|
+
};
|
699
|
+
|
700
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
701
|
+
: spawn_handler_base<Executor>(yield),
|
702
|
+
result_(result)
|
703
|
+
{
|
704
|
+
}
|
705
|
+
|
706
|
+
template <typename... Args>
|
707
|
+
void operator()(asio::error_code ec,
|
708
|
+
ASIO_MOVE_ARG(Args)... args)
|
709
|
+
{
|
710
|
+
return_type value(ASIO_MOVE_CAST(Args)(args)...);
|
711
|
+
if (this->yield_.ec_)
|
324
712
|
{
|
713
|
+
*this->yield_.ec_ = ec;
|
714
|
+
result_.ec_ = 0;
|
325
715
|
}
|
716
|
+
else
|
717
|
+
result_.ec_ = &ec;
|
718
|
+
result_.value_ = &value;
|
719
|
+
this->resume();
|
720
|
+
}
|
326
721
|
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
722
|
+
static return_type on_resume(result_type& result)
|
723
|
+
{
|
724
|
+
if (result.ec_)
|
725
|
+
throw_error(*result.ec_);
|
726
|
+
return ASIO_MOVE_CAST(return_type)(*result.value_);
|
727
|
+
}
|
728
|
+
|
729
|
+
private:
|
730
|
+
result_type& result_;
|
731
|
+
};
|
732
|
+
|
733
|
+
template <typename Executor, typename R, typename... Ts>
|
734
|
+
class spawn_handler<Executor, R(exception_ptr, Ts...)>
|
735
|
+
: public spawn_handler_base<Executor>
|
736
|
+
{
|
737
|
+
public:
|
738
|
+
typedef std::tuple<Ts...> return_type;
|
739
|
+
|
740
|
+
struct result_type
|
741
|
+
{
|
742
|
+
exception_ptr ex_;
|
743
|
+
return_type* value_;
|
331
744
|
};
|
332
745
|
|
333
|
-
|
334
|
-
|
746
|
+
spawn_handler(const basic_yield_context<Executor>& yield, result_type& result)
|
747
|
+
: spawn_handler_base<Executor>(yield),
|
748
|
+
result_(result)
|
749
|
+
{
|
750
|
+
}
|
751
|
+
|
752
|
+
template <typename... Args>
|
753
|
+
void operator()(exception_ptr ex, ASIO_MOVE_ARG(Args)... args)
|
335
754
|
{
|
336
|
-
|
755
|
+
return_type value(ASIO_MOVE_CAST(Args)(args)...);
|
756
|
+
result_.ex_ = &ex;
|
757
|
+
result_.value_ = &value;
|
758
|
+
this->resume();
|
759
|
+
}
|
760
|
+
|
761
|
+
static return_type on_resume(result_type& result)
|
762
|
+
{
|
763
|
+
if (result.ex_)
|
764
|
+
rethrow_exception(*result.ex_);
|
765
|
+
return ASIO_MOVE_CAST(return_type)(*result.value_);
|
766
|
+
}
|
767
|
+
|
768
|
+
private:
|
769
|
+
result_type& result_;
|
770
|
+
};
|
771
|
+
|
772
|
+
#endif // defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
773
|
+
// && defined(ASIO_HAS_STD_TUPLE)
|
774
|
+
|
775
|
+
template <typename Executor, typename Signature>
|
776
|
+
inline bool asio_handler_is_continuation(spawn_handler<Executor, Signature>*)
|
777
|
+
{
|
778
|
+
return true;
|
779
|
+
}
|
780
|
+
|
781
|
+
} // namespace detail
|
782
|
+
|
783
|
+
template <typename Executor, typename Signature>
|
784
|
+
class async_result<basic_yield_context<Executor>, Signature>
|
785
|
+
{
|
786
|
+
public:
|
787
|
+
typedef typename detail::spawn_handler<Executor, Signature> handler_type;
|
788
|
+
typedef typename handler_type::return_type return_type;
|
789
|
+
|
790
|
+
#if defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
791
|
+
# if defined(ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
|
792
|
+
|
793
|
+
template <typename Initiation, typename... InitArgs>
|
794
|
+
static return_type initiate(ASIO_MOVE_ARG(Initiation) init,
|
795
|
+
const basic_yield_context<Executor>& yield,
|
796
|
+
ASIO_MOVE_ARG(InitArgs)... init_args)
|
797
|
+
{
|
798
|
+
typename handler_type::result_type result
|
799
|
+
= typename handler_type::result_type();
|
800
|
+
|
801
|
+
yield.spawned_thread_->suspend_with(
|
802
|
+
[&]()
|
803
|
+
{
|
804
|
+
ASIO_MOVE_CAST(Initiation)(init)(
|
805
|
+
handler_type(yield, result),
|
806
|
+
ASIO_MOVE_CAST(InitArgs)(init_args)...);
|
807
|
+
});
|
808
|
+
|
809
|
+
return handler_type::on_resume(result);
|
810
|
+
}
|
811
|
+
|
812
|
+
# else // defined(ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
|
813
|
+
|
814
|
+
template <typename Initiation, typename... InitArgs>
|
815
|
+
struct suspend_with_helper
|
816
|
+
{
|
817
|
+
typename handler_type::result_type& result_;
|
818
|
+
ASIO_MOVE_ARG(Initiation) init_;
|
819
|
+
const basic_yield_context<Executor>& yield_;
|
820
|
+
std::tuple<ASIO_MOVE_ARG(InitArgs)...> init_args_;
|
821
|
+
|
822
|
+
template <std::size_t... I>
|
823
|
+
void do_invoke(detail::index_sequence<I...>)
|
337
824
|
{
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
#endif // !defined(BOOST_COROUTINES_UNIDIRECT) && !defined(BOOST_COROUTINES_V2)
|
342
|
-
const basic_yield_context<Handler> yield(
|
343
|
-
data->coro_, ca, data->handler_);
|
344
|
-
|
345
|
-
(data->function_)(yield);
|
346
|
-
if (data->call_handler_)
|
347
|
-
ASIO_MOVE_OR_LVALUE(Handler)(data->handler_)();
|
825
|
+
ASIO_MOVE_CAST(Initiation)(init_)(
|
826
|
+
handler_type(yield_, result_),
|
827
|
+
ASIO_MOVE_CAST(InitArgs)(std::get<I>(init_args_))...);
|
348
828
|
}
|
349
829
|
|
350
|
-
|
830
|
+
void operator()()
|
831
|
+
{
|
832
|
+
this->do_invoke(detail::make_index_sequence<sizeof...(InitArgs)>());
|
833
|
+
}
|
351
834
|
};
|
352
835
|
|
353
|
-
template <typename
|
354
|
-
|
836
|
+
template <typename Initiation, typename... InitArgs>
|
837
|
+
static return_type initiate(ASIO_MOVE_ARG(Initiation) init,
|
838
|
+
const basic_yield_context<Executor>& yield,
|
839
|
+
ASIO_MOVE_ARG(InitArgs)... init_args)
|
355
840
|
{
|
356
|
-
|
841
|
+
typename handler_type::result_type result
|
842
|
+
= typename handler_type::result_type();
|
357
843
|
|
358
|
-
|
844
|
+
yield.spawned_thread_->suspend_with(
|
845
|
+
suspend_with_helper<Initiation, InitArgs...>{
|
846
|
+
result, ASIO_MOVE_CAST(Initiation)(init), yield,
|
847
|
+
std::tuple<ASIO_MOVE_ARG(InitArgs)...>(
|
848
|
+
ASIO_MOVE_CAST(InitArgs)(init_args)...)});
|
849
|
+
|
850
|
+
return handler_type::on_resume(result);
|
851
|
+
}
|
852
|
+
|
853
|
+
# endif // defined(ASIO_HAS_VARIADIC_LAMBDA_CAPTURES)
|
854
|
+
#else // defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
855
|
+
|
856
|
+
template <typename Initiation>
|
857
|
+
static return_type initiate(Initiation init,
|
858
|
+
const basic_yield_context<Executor>& yield)
|
859
|
+
{
|
860
|
+
typename handler_type::result_type result
|
861
|
+
= typename handler_type::result_type();
|
862
|
+
|
863
|
+
struct on_suspend
|
359
864
|
{
|
360
|
-
|
361
|
-
|
865
|
+
Initiation& init_;
|
866
|
+
const basic_yield_context<Executor>& yield_;
|
867
|
+
typename handler_type::result_type& result_;
|
362
868
|
|
363
|
-
|
869
|
+
void do_call()
|
870
|
+
{
|
871
|
+
ASIO_MOVE_CAST(Initiation)(init_)(
|
872
|
+
handler_type(yield_, result_));
|
873
|
+
}
|
874
|
+
|
875
|
+
static void call(void* arg)
|
876
|
+
{
|
877
|
+
static_cast<on_suspend*>(arg)->do_call();
|
878
|
+
}
|
879
|
+
} o = { init, yield, result };
|
880
|
+
|
881
|
+
yield.spawned_thread_->suspend_with(&on_suspend::call, &o);
|
882
|
+
|
883
|
+
return handler_type::on_resume(result);
|
884
|
+
}
|
885
|
+
|
886
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS(n) \
|
887
|
+
ASIO_PRIVATE_ON_SUSPEND_MEMBERS_##n
|
888
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_1 \
|
889
|
+
T1& x1;
|
890
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_2 \
|
891
|
+
T1& x1; T2& x2;
|
892
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_3 \
|
893
|
+
T1& x1; T2& x2; T3& x3;
|
894
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_4 \
|
895
|
+
T1& x1; T2& x2; T3& x3; T4& x4;
|
896
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_5 \
|
897
|
+
T1& x1; T2& x2; T3& x3; T4& x4; T5& x5;
|
898
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_6 \
|
899
|
+
T1& x1; T2& x2; T3& x3; T4& x4; T5& x5; T6& x6;
|
900
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_7 \
|
901
|
+
T1& x1; T2& x2; T3& x3; T4& x4; T5& x5; T6& x6; T7& x7;
|
902
|
+
#define ASIO_PRIVATE_ON_SUSPEND_MEMBERS_8 \
|
903
|
+
T1& x1; T2& x2; T3& x3; T4& x4; T5& x5; T6& x6; T7& x7; T8& x8;
|
904
|
+
|
905
|
+
#define ASIO_PRIVATE_INITIATE_DEF(n) \
|
906
|
+
template <typename Initiation, ASIO_VARIADIC_TPARAMS(n)> \
|
907
|
+
static return_type initiate(Initiation init, \
|
908
|
+
const basic_yield_context<Executor>& yield, \
|
909
|
+
ASIO_VARIADIC_BYVAL_PARAMS(n)) \
|
910
|
+
{ \
|
911
|
+
typename handler_type::result_type result \
|
912
|
+
= typename handler_type::result_type(); \
|
913
|
+
\
|
914
|
+
struct on_suspend \
|
915
|
+
{ \
|
916
|
+
Initiation& init; \
|
917
|
+
const basic_yield_context<Executor>& yield; \
|
918
|
+
typename handler_type::result_type& result; \
|
919
|
+
ASIO_PRIVATE_ON_SUSPEND_MEMBERS(n) \
|
920
|
+
\
|
921
|
+
void do_call() \
|
922
|
+
{ \
|
923
|
+
ASIO_MOVE_CAST(Initiation)(init)( \
|
924
|
+
handler_type(yield, result), \
|
925
|
+
ASIO_VARIADIC_MOVE_ARGS(n)); \
|
926
|
+
} \
|
927
|
+
\
|
928
|
+
static void call(void* arg) \
|
929
|
+
{ \
|
930
|
+
static_cast<on_suspend*>(arg)->do_call(); \
|
931
|
+
} \
|
932
|
+
} o = { init, yield, result, ASIO_VARIADIC_BYVAL_ARGS(n) }; \
|
933
|
+
\
|
934
|
+
yield.spawned_thread_->suspend_with(&on_suspend::call, &o); \
|
935
|
+
\
|
936
|
+
return handler_type::on_resume(result); \
|
937
|
+
} \
|
938
|
+
/**/
|
939
|
+
ASIO_VARIADIC_GENERATE(ASIO_PRIVATE_INITIATE_DEF)
|
940
|
+
#undef ASIO_PRIVATE_INITIATE_DEF
|
941
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS
|
942
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_1
|
943
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_2
|
944
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_3
|
945
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_4
|
946
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_5
|
947
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_6
|
948
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_7
|
949
|
+
#undef ASIO_PRIVATE_ON_SUSPEND_MEMBERS_8
|
950
|
+
|
951
|
+
#endif // defined(ASIO_HAS_VARIADIC_TEMPLATES)
|
952
|
+
};
|
364
953
|
|
365
|
-
|
954
|
+
namespace detail {
|
955
|
+
|
956
|
+
template <typename Executor, typename Function, typename Handler>
|
957
|
+
class spawn_entry_point
|
958
|
+
{
|
959
|
+
public:
|
960
|
+
template <typename F, typename H>
|
961
|
+
spawn_entry_point(const Executor& ex,
|
962
|
+
ASIO_MOVE_ARG(F) f, ASIO_MOVE_ARG(H) h)
|
963
|
+
: executor_(ex),
|
964
|
+
function_(ASIO_MOVE_CAST(F)(f)),
|
965
|
+
handler_(ASIO_MOVE_CAST(H)(h))
|
966
|
+
{
|
967
|
+
}
|
968
|
+
|
969
|
+
void operator()(spawned_thread_base* spawned_thread)
|
970
|
+
{
|
971
|
+
const basic_yield_context<Executor> yield(spawned_thread, executor_);
|
972
|
+
this->call(yield,
|
973
|
+
void_type<typename result_of<Function(
|
974
|
+
basic_yield_context<Executor>)>::type>());
|
975
|
+
}
|
976
|
+
|
977
|
+
private:
|
978
|
+
void call(const basic_yield_context<Executor>& yield, void_type<void>)
|
979
|
+
{
|
980
|
+
#if !defined(ASIO_NO_EXCEPTIONS)
|
981
|
+
try
|
982
|
+
#endif // !defined(ASIO_NO_EXCEPTIONS)
|
983
|
+
{
|
984
|
+
function_(yield);
|
985
|
+
if (!yield.spawned_thread_->has_context_switched())
|
986
|
+
(post)(yield);
|
987
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)(exception_ptr());
|
988
|
+
}
|
989
|
+
#if !defined(ASIO_NO_EXCEPTIONS)
|
990
|
+
# if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
991
|
+
catch (const boost::context::detail::forced_unwind&)
|
992
|
+
{
|
993
|
+
throw;
|
994
|
+
}
|
995
|
+
# endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
996
|
+
# if defined(ASIO_HAS_BOOST_COROUTINE)
|
997
|
+
catch (const boost::coroutines::detail::forced_unwind&)
|
366
998
|
{
|
367
|
-
|
999
|
+
throw;
|
368
1000
|
}
|
1001
|
+
# endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
1002
|
+
catch (...)
|
1003
|
+
{
|
1004
|
+
exception_ptr ex = current_exception();
|
1005
|
+
if (!yield.spawned_thread_->has_context_switched())
|
1006
|
+
(post)(yield);
|
1007
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)(ex);
|
1008
|
+
}
|
1009
|
+
#endif // !defined(ASIO_NO_EXCEPTIONS)
|
1010
|
+
}
|
369
1011
|
|
370
|
-
|
1012
|
+
template <typename T>
|
1013
|
+
void call(const basic_yield_context<Executor>& yield, void_type<T>)
|
1014
|
+
{
|
1015
|
+
#if !defined(ASIO_NO_EXCEPTIONS)
|
1016
|
+
try
|
1017
|
+
#endif // !defined(ASIO_NO_EXCEPTIONS)
|
1018
|
+
{
|
1019
|
+
T result(function_(yield));
|
1020
|
+
if (!yield.spawned_thread_->has_context_switched())
|
1021
|
+
(post)(yield);
|
1022
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)(
|
1023
|
+
exception_ptr(), ASIO_MOVE_CAST(T)(result));
|
1024
|
+
}
|
1025
|
+
#if !defined(ASIO_NO_EXCEPTIONS)
|
1026
|
+
# if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1027
|
+
catch (const boost::context::detail::forced_unwind&)
|
371
1028
|
{
|
372
|
-
|
373
|
-
coro_entry_point<Handler, Function> entry_point = { data_ };
|
374
|
-
shared_ptr<callee_type> coro(new callee_type(entry_point, attributes_));
|
375
|
-
data_->coro_ = coro;
|
376
|
-
(*coro)();
|
1029
|
+
throw;
|
377
1030
|
}
|
1031
|
+
# endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1032
|
+
# if defined(ASIO_HAS_BOOST_COROUTINE)
|
1033
|
+
catch (const boost::coroutines::detail::forced_unwind&)
|
1034
|
+
{
|
1035
|
+
throw;
|
1036
|
+
}
|
1037
|
+
# endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
1038
|
+
catch (...)
|
1039
|
+
{
|
1040
|
+
exception_ptr ex = current_exception();
|
1041
|
+
if (!yield.spawned_thread_->has_context_switched())
|
1042
|
+
(post)(yield);
|
1043
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)(ex, T());
|
1044
|
+
}
|
1045
|
+
#endif // !defined(ASIO_NO_EXCEPTIONS)
|
1046
|
+
}
|
378
1047
|
|
379
|
-
|
380
|
-
|
381
|
-
|
1048
|
+
Executor executor_;
|
1049
|
+
Function function_;
|
1050
|
+
Handler handler_;
|
1051
|
+
};
|
1052
|
+
|
1053
|
+
struct spawn_cancellation_signal_emitter
|
1054
|
+
{
|
1055
|
+
cancellation_signal* signal_;
|
1056
|
+
cancellation_type_t type_;
|
382
1057
|
|
383
|
-
|
384
|
-
inline asio_handler_invoke_is_deprecated
|
385
|
-
asio_handler_invoke(Function& function,
|
386
|
-
spawn_helper<Handler, Function1>* this_handler)
|
1058
|
+
void operator()()
|
387
1059
|
{
|
388
|
-
|
389
|
-
function, this_handler->data_->handler_);
|
390
|
-
#if defined(ASIO_NO_DEPRECATED)
|
391
|
-
return asio_handler_invoke_is_no_longer_used();
|
392
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
1060
|
+
signal_->emit(type_);
|
393
1061
|
}
|
1062
|
+
};
|
394
1063
|
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
1064
|
+
template <typename Handler, typename Executor, typename = void>
|
1065
|
+
class spawn_cancellation_handler
|
1066
|
+
{
|
1067
|
+
public:
|
1068
|
+
spawn_cancellation_handler(const Handler& handler, const Executor& ex)
|
1069
|
+
: ex_(asio::get_associated_executor(handler, ex))
|
399
1070
|
{
|
400
|
-
asio_handler_invoke_helpers::invoke(
|
401
|
-
function, this_handler->data_->handler_);
|
402
|
-
#if defined(ASIO_NO_DEPRECATED)
|
403
|
-
return asio_handler_invoke_is_no_longer_used();
|
404
|
-
#endif // defined(ASIO_NO_DEPRECATED)
|
405
1071
|
}
|
406
1072
|
|
407
|
-
|
1073
|
+
cancellation_slot slot()
|
1074
|
+
{
|
1075
|
+
return signal_.slot();
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
void operator()(cancellation_type_t type)
|
1079
|
+
{
|
1080
|
+
spawn_cancellation_signal_emitter emitter = { &signal_, type };
|
1081
|
+
(dispatch)(ex_, emitter);
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
private:
|
1085
|
+
cancellation_signal signal_;
|
1086
|
+
typename associated_executor<Handler, Executor>::type ex_;
|
1087
|
+
};
|
1088
|
+
|
1089
|
+
|
1090
|
+
template <typename Handler, typename Executor>
|
1091
|
+
class spawn_cancellation_handler<Handler, Executor,
|
1092
|
+
typename enable_if<
|
1093
|
+
is_same<
|
1094
|
+
typename associated_executor<Handler,
|
1095
|
+
Executor>::asio_associated_executor_is_unspecialised,
|
1096
|
+
void
|
1097
|
+
>::value
|
1098
|
+
>::type>
|
1099
|
+
{
|
1100
|
+
public:
|
1101
|
+
spawn_cancellation_handler(const Handler&, const Executor&)
|
1102
|
+
{
|
1103
|
+
}
|
1104
|
+
|
1105
|
+
cancellation_slot slot()
|
1106
|
+
{
|
1107
|
+
return signal_.slot();
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
void operator()(cancellation_type_t type)
|
1111
|
+
{
|
1112
|
+
signal_.emit(type);
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
private:
|
1116
|
+
cancellation_signal signal_;
|
1117
|
+
};
|
1118
|
+
|
1119
|
+
template <typename Executor>
|
1120
|
+
class initiate_spawn
|
1121
|
+
{
|
1122
|
+
public:
|
1123
|
+
typedef Executor executor_type;
|
1124
|
+
|
1125
|
+
explicit initiate_spawn(const executor_type& ex)
|
1126
|
+
: executor_(ex)
|
1127
|
+
{
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
executor_type get_executor() const ASIO_NOEXCEPT
|
1131
|
+
{
|
1132
|
+
return executor_;
|
1133
|
+
}
|
1134
|
+
|
1135
|
+
template <typename Handler, typename F>
|
1136
|
+
void operator()(ASIO_MOVE_ARG(Handler) handler,
|
1137
|
+
ASIO_MOVE_ARG(F) f) const
|
1138
|
+
{
|
1139
|
+
typedef typename decay<Handler>::type handler_type;
|
1140
|
+
typedef typename decay<F>::type function_type;
|
1141
|
+
typedef spawn_cancellation_handler<
|
1142
|
+
handler_type, Executor> cancel_handler_type;
|
1143
|
+
|
1144
|
+
typename associated_cancellation_slot<handler_type>::type slot
|
1145
|
+
= asio::get_associated_cancellation_slot(handler);
|
1146
|
+
|
1147
|
+
cancel_handler_type* cancel_handler = slot.is_connected()
|
1148
|
+
? &slot.template emplace<cancel_handler_type>(handler, executor_)
|
1149
|
+
: 0;
|
1150
|
+
|
1151
|
+
cancellation_slot proxy_slot(
|
1152
|
+
cancel_handler
|
1153
|
+
? cancel_handler->slot()
|
1154
|
+
: cancellation_slot());
|
1155
|
+
|
1156
|
+
cancellation_state cancel_state(proxy_slot);
|
1157
|
+
|
1158
|
+
(dispatch)(executor_,
|
1159
|
+
spawned_thread_resumer(
|
1160
|
+
default_spawned_thread_type::spawn(
|
1161
|
+
spawn_entry_point<Executor, function_type, handler_type>(
|
1162
|
+
executor_, ASIO_MOVE_CAST(F)(f),
|
1163
|
+
ASIO_MOVE_CAST(Handler)(handler)),
|
1164
|
+
proxy_slot, cancel_state)));
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
#if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1168
|
+
|
1169
|
+
template <typename Handler, typename StackAllocator, typename F>
|
1170
|
+
void operator()(ASIO_MOVE_ARG(Handler) handler, allocator_arg_t,
|
1171
|
+
ASIO_MOVE_ARG(StackAllocator) stack_allocator,
|
1172
|
+
ASIO_MOVE_ARG(F) f) const
|
1173
|
+
{
|
1174
|
+
typedef typename decay<Handler>::type handler_type;
|
1175
|
+
typedef typename decay<F>::type function_type;
|
1176
|
+
typedef spawn_cancellation_handler<
|
1177
|
+
handler_type, Executor> cancel_handler_type;
|
1178
|
+
|
1179
|
+
typename associated_cancellation_slot<handler_type>::type slot
|
1180
|
+
= asio::get_associated_cancellation_slot(handler);
|
1181
|
+
|
1182
|
+
cancel_handler_type* cancel_handler = slot.is_connected()
|
1183
|
+
? &slot.template emplace<cancel_handler_type>(handler, executor_)
|
1184
|
+
: 0;
|
1185
|
+
|
1186
|
+
cancellation_slot proxy_slot(
|
1187
|
+
cancel_handler
|
1188
|
+
? cancel_handler->slot()
|
1189
|
+
: cancellation_slot());
|
1190
|
+
|
1191
|
+
cancellation_state cancel_state(proxy_slot);
|
1192
|
+
|
1193
|
+
(dispatch)(executor_,
|
1194
|
+
spawned_thread_resumer(
|
1195
|
+
spawned_fiber_thread::spawn(allocator_arg_t(),
|
1196
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1197
|
+
spawn_entry_point<Executor, function_type, handler_type>(
|
1198
|
+
executor_, ASIO_MOVE_CAST(F)(f),
|
1199
|
+
ASIO_MOVE_CAST(Handler)(handler)),
|
1200
|
+
proxy_slot, cancel_state)));
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
#endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1204
|
+
|
1205
|
+
private:
|
1206
|
+
executor_type executor_;
|
1207
|
+
};
|
1208
|
+
|
1209
|
+
} // namespace detail
|
1210
|
+
|
1211
|
+
template <typename Executor, typename F,
|
1212
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1213
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1214
|
+
CompletionToken>
|
1215
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1216
|
+
typename detail::spawn_signature<
|
1217
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1218
|
+
spawn(const Executor& ex, ASIO_MOVE_ARG(F) function,
|
1219
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1220
|
+
#if defined(ASIO_HAS_BOOST_COROUTINE)
|
1221
|
+
typename constraint<
|
1222
|
+
!is_same<
|
1223
|
+
typename decay<CompletionToken>::type,
|
1224
|
+
boost::coroutines::attributes
|
1225
|
+
>::value
|
1226
|
+
>::type,
|
1227
|
+
#endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
1228
|
+
typename constraint<
|
1229
|
+
is_executor<Executor>::value || execution::is_executor<Executor>::value
|
1230
|
+
>::type)
|
1231
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1232
|
+
async_initiate<CompletionToken,
|
1233
|
+
typename detail::spawn_signature<
|
1234
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1235
|
+
declval<detail::initiate_spawn<Executor> >(),
|
1236
|
+
token, ASIO_MOVE_CAST(F)(function))))
|
1237
|
+
{
|
1238
|
+
return async_initiate<CompletionToken,
|
1239
|
+
typename detail::spawn_signature<
|
1240
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1241
|
+
detail::initiate_spawn<Executor>(ex),
|
1242
|
+
token, ASIO_MOVE_CAST(F)(function));
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
template <typename ExecutionContext, typename F,
|
1246
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1247
|
+
typename result_of<F(basic_yield_context<
|
1248
|
+
typename ExecutionContext::executor_type>)>::type>::type)
|
1249
|
+
CompletionToken>
|
1250
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1251
|
+
typename detail::spawn_signature<
|
1252
|
+
typename result_of<F(basic_yield_context<
|
1253
|
+
typename ExecutionContext::executor_type>)>::type>::type)
|
1254
|
+
spawn(ExecutionContext& ctx, ASIO_MOVE_ARG(F) function,
|
1255
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1256
|
+
#if defined(ASIO_HAS_BOOST_COROUTINE)
|
1257
|
+
typename constraint<
|
1258
|
+
!is_same<
|
1259
|
+
typename decay<CompletionToken>::type,
|
1260
|
+
boost::coroutines::attributes
|
1261
|
+
>::value
|
1262
|
+
>::type,
|
1263
|
+
#endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
1264
|
+
typename constraint<
|
1265
|
+
is_convertible<ExecutionContext&, execution_context&>::value
|
1266
|
+
>::type)
|
1267
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1268
|
+
async_initiate<CompletionToken,
|
1269
|
+
typename detail::spawn_signature<
|
1270
|
+
typename result_of<F(basic_yield_context<
|
1271
|
+
typename ExecutionContext::executor_type>)>::type>::type>(
|
1272
|
+
declval<detail::initiate_spawn<
|
1273
|
+
typename ExecutionContext::executor_type> >(),
|
1274
|
+
token, ASIO_MOVE_CAST(F)(function))))
|
1275
|
+
{
|
1276
|
+
return (spawn)(ctx.get_executor(), ASIO_MOVE_CAST(F)(function),
|
1277
|
+
ASIO_MOVE_CAST(CompletionToken)(token));
|
1278
|
+
}
|
1279
|
+
|
1280
|
+
template <typename Executor, typename F,
|
1281
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1282
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1283
|
+
CompletionToken>
|
1284
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1285
|
+
typename detail::spawn_signature<
|
1286
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1287
|
+
spawn(const basic_yield_context<Executor>& ctx,
|
1288
|
+
ASIO_MOVE_ARG(F) function,
|
1289
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1290
|
+
#if defined(ASIO_HAS_BOOST_COROUTINE)
|
1291
|
+
typename constraint<
|
1292
|
+
!is_same<
|
1293
|
+
typename decay<CompletionToken>::type,
|
1294
|
+
boost::coroutines::attributes
|
1295
|
+
>::value
|
1296
|
+
>::type,
|
1297
|
+
#endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
1298
|
+
typename constraint<
|
1299
|
+
is_executor<Executor>::value || execution::is_executor<Executor>::value
|
1300
|
+
>::type)
|
1301
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1302
|
+
async_initiate<CompletionToken,
|
1303
|
+
typename detail::spawn_signature<
|
1304
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1305
|
+
declval<detail::initiate_spawn<Executor> >(),
|
1306
|
+
token, ASIO_MOVE_CAST(F)(function))))
|
1307
|
+
{
|
1308
|
+
return (spawn)(ctx.get_executor(), ASIO_MOVE_CAST(F)(function),
|
1309
|
+
ASIO_MOVE_CAST(CompletionToken)(token));
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
#if defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1313
|
+
|
1314
|
+
template <typename Executor, typename StackAllocator, typename F,
|
1315
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1316
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1317
|
+
CompletionToken>
|
1318
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1319
|
+
typename detail::spawn_signature<
|
1320
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1321
|
+
spawn(const Executor& ex, allocator_arg_t,
|
1322
|
+
ASIO_MOVE_ARG(StackAllocator) stack_allocator,
|
1323
|
+
ASIO_MOVE_ARG(F) function,
|
1324
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1325
|
+
typename constraint<
|
1326
|
+
is_executor<Executor>::value || execution::is_executor<Executor>::value
|
1327
|
+
>::type)
|
1328
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1329
|
+
async_initiate<CompletionToken,
|
1330
|
+
typename detail::spawn_signature<
|
1331
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1332
|
+
declval<detail::initiate_spawn<Executor> >(),
|
1333
|
+
token, allocator_arg_t(),
|
1334
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1335
|
+
ASIO_MOVE_CAST(F)(function))))
|
1336
|
+
{
|
1337
|
+
return async_initiate<CompletionToken,
|
1338
|
+
typename detail::spawn_signature<
|
1339
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1340
|
+
detail::initiate_spawn<Executor>(ex), token, allocator_arg_t(),
|
1341
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1342
|
+
ASIO_MOVE_CAST(F)(function));
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
template <typename ExecutionContext, typename StackAllocator, typename F,
|
1346
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1347
|
+
typename result_of<F(basic_yield_context<
|
1348
|
+
typename ExecutionContext::executor_type>)>::type>::type)
|
1349
|
+
CompletionToken>
|
1350
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1351
|
+
typename detail::spawn_signature<
|
1352
|
+
typename result_of<F(basic_yield_context<
|
1353
|
+
typename ExecutionContext::executor_type>)>::type>::type)
|
1354
|
+
spawn(ExecutionContext& ctx, allocator_arg_t,
|
1355
|
+
ASIO_MOVE_ARG(StackAllocator) stack_allocator,
|
1356
|
+
ASIO_MOVE_ARG(F) function,
|
1357
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1358
|
+
typename constraint<
|
1359
|
+
is_convertible<ExecutionContext&, execution_context&>::value
|
1360
|
+
>::type)
|
1361
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1362
|
+
async_initiate<CompletionToken,
|
1363
|
+
typename detail::spawn_signature<
|
1364
|
+
typename result_of<F(basic_yield_context<
|
1365
|
+
typename ExecutionContext::executor_type>)>::type>::type>(
|
1366
|
+
declval<detail::initiate_spawn<
|
1367
|
+
typename ExecutionContext::executor_type> >(),
|
1368
|
+
token, allocator_arg_t(),
|
1369
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1370
|
+
ASIO_MOVE_CAST(F)(function))))
|
1371
|
+
{
|
1372
|
+
return (spawn)(ctx.get_executor(), allocator_arg_t(),
|
1373
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1374
|
+
ASIO_MOVE_CAST(F)(function),
|
1375
|
+
ASIO_MOVE_CAST(CompletionToken)(token));
|
1376
|
+
}
|
1377
|
+
|
1378
|
+
template <typename Executor, typename StackAllocator, typename F,
|
1379
|
+
ASIO_COMPLETION_TOKEN_FOR(typename detail::spawn_signature<
|
1380
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1381
|
+
CompletionToken>
|
1382
|
+
inline ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(CompletionToken,
|
1383
|
+
typename detail::spawn_signature<
|
1384
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type)
|
1385
|
+
spawn(const basic_yield_context<Executor>& ctx, allocator_arg_t,
|
1386
|
+
ASIO_MOVE_ARG(StackAllocator) stack_allocator,
|
1387
|
+
ASIO_MOVE_ARG(F) function,
|
1388
|
+
ASIO_MOVE_ARG(CompletionToken) token,
|
1389
|
+
typename constraint<
|
1390
|
+
is_executor<Executor>::value || execution::is_executor<Executor>::value
|
1391
|
+
>::type)
|
1392
|
+
ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1393
|
+
async_initiate<CompletionToken,
|
1394
|
+
typename detail::spawn_signature<
|
1395
|
+
typename result_of<F(basic_yield_context<Executor>)>::type>::type>(
|
1396
|
+
declval<detail::initiate_spawn<Executor> >(),
|
1397
|
+
token, allocator_arg_t(),
|
1398
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1399
|
+
ASIO_MOVE_CAST(F)(function))))
|
1400
|
+
{
|
1401
|
+
return (spawn)(ctx.get_executor(), allocator_arg_t(),
|
1402
|
+
ASIO_MOVE_CAST(StackAllocator)(stack_allocator),
|
1403
|
+
ASIO_MOVE_CAST(F)(function),
|
1404
|
+
ASIO_MOVE_CAST(CompletionToken)(token));
|
1405
|
+
}
|
1406
|
+
|
1407
|
+
#endif // defined(ASIO_HAS_BOOST_CONTEXT_FIBER)
|
1408
|
+
|
1409
|
+
#if defined(ASIO_HAS_BOOST_COROUTINE)
|
1410
|
+
|
1411
|
+
namespace detail {
|
1412
|
+
|
1413
|
+
template <typename Executor, typename Function, typename Handler>
|
1414
|
+
class old_spawn_entry_point
|
1415
|
+
{
|
1416
|
+
public:
|
1417
|
+
template <typename F, typename H>
|
1418
|
+
old_spawn_entry_point(const Executor& ex,
|
1419
|
+
ASIO_MOVE_ARG(F) f, ASIO_MOVE_ARG(H) h)
|
1420
|
+
: executor_(ex),
|
1421
|
+
function_(ASIO_MOVE_CAST(F)(f)),
|
1422
|
+
handler_(ASIO_MOVE_CAST(H)(h))
|
1423
|
+
{
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
void operator()(spawned_thread_base* spawned_thread)
|
1427
|
+
{
|
1428
|
+
const basic_yield_context<Executor> yield(spawned_thread, executor_);
|
1429
|
+
this->call(yield,
|
1430
|
+
void_type<typename result_of<Function(
|
1431
|
+
basic_yield_context<Executor>)>::type>());
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
private:
|
1435
|
+
void call(const basic_yield_context<Executor>& yield, void_type<void>)
|
1436
|
+
{
|
1437
|
+
function_(yield);
|
1438
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)();
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
template <typename T>
|
1442
|
+
void call(const basic_yield_context<Executor>& yield, void_type<T>)
|
1443
|
+
{
|
1444
|
+
ASIO_MOVE_OR_LVALUE(Handler)(handler_)(function_(yield));
|
1445
|
+
}
|
1446
|
+
|
1447
|
+
Executor executor_;
|
1448
|
+
Function function_;
|
1449
|
+
Handler handler_;
|
1450
|
+
};
|
1451
|
+
|
1452
|
+
inline void default_spawn_handler() {}
|
408
1453
|
|
409
1454
|
} // namespace detail
|
410
1455
|
|
@@ -431,34 +1476,33 @@ void spawn(ASIO_MOVE_ARG(Handler) handler,
|
|
431
1476
|
{
|
432
1477
|
typedef typename decay<Handler>::type handler_type;
|
433
1478
|
typedef typename decay<Function>::type function_type;
|
1479
|
+
typedef typename associated_executor<handler_type>::type executor_type;
|
434
1480
|
|
435
|
-
|
436
|
-
helper.data_.reset(
|
437
|
-
new detail::spawn_data<handler_type, function_type>(
|
438
|
-
ASIO_MOVE_CAST(Handler)(handler), true,
|
439
|
-
ASIO_MOVE_CAST(Function)(function)));
|
440
|
-
helper.attributes_ = attributes;
|
1481
|
+
executor_type ex((get_associated_executor)(handler));
|
441
1482
|
|
442
|
-
|
1483
|
+
(dispatch)(ex,
|
1484
|
+
detail::spawned_thread_resumer(
|
1485
|
+
detail::spawned_coroutine_thread::spawn(
|
1486
|
+
detail::old_spawn_entry_point<executor_type,
|
1487
|
+
function_type, void (*)()>(
|
1488
|
+
ex, ASIO_MOVE_CAST(Function)(function),
|
1489
|
+
&detail::default_spawn_handler), attributes)));
|
443
1490
|
}
|
444
1491
|
|
445
|
-
template <typename
|
446
|
-
void spawn(basic_yield_context<
|
1492
|
+
template <typename Executor, typename Function>
|
1493
|
+
void spawn(basic_yield_context<Executor> ctx,
|
447
1494
|
ASIO_MOVE_ARG(Function) function,
|
448
1495
|
const boost::coroutines::attributes& attributes)
|
449
1496
|
{
|
450
1497
|
typedef typename decay<Function>::type function_type;
|
451
1498
|
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
helper.attributes_ = attributes;
|
460
|
-
|
461
|
-
asio::dispatch(helper);
|
1499
|
+
(dispatch)(ctx.get_executor(),
|
1500
|
+
detail::spawned_thread_resumer(
|
1501
|
+
detail::spawned_coroutine_thread::spawn(
|
1502
|
+
detail::old_spawn_entry_point<Executor,
|
1503
|
+
function_type, void (*)()>(ctx.get_executor(),
|
1504
|
+
ASIO_MOVE_CAST(Function)(function),
|
1505
|
+
&detail::default_spawn_handler), attributes)));
|
462
1506
|
}
|
463
1507
|
|
464
1508
|
template <typename Function, typename Executor>
|
@@ -508,7 +1552,7 @@ inline void spawn(ExecutionContext& ctx,
|
|
508
1552
|
ASIO_MOVE_CAST(Function)(function), attributes);
|
509
1553
|
}
|
510
1554
|
|
511
|
-
#endif //
|
1555
|
+
#endif // defined(ASIO_HAS_BOOST_COROUTINE)
|
512
1556
|
|
513
1557
|
} // namespace asio
|
514
1558
|
|