passenger 6.0.8 → 6.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +288 -0
- data/CONTRIBUTORS +15 -0
- data/bin/passenger-install-nginx-module +2 -1
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +2 -1
- data/build/integration_tests.rb +8 -7
- data/build/ruby_tests.rb +1 -1
- data/build/test_basics.rb +8 -5
- data/dev/copy_boost_headers +119 -71
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/webpacketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/resources/mime.types +1 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +2 -33
- data/resources/templates/error_renderer/with_details/dist/styles.css +2 -2
- data/resources/templates/error_renderer/with_details/src/index.html.template +0 -2
- data/resources/templates/error_renderer/with_details/webpack.config.js +13 -16
- data/resources/templates/error_renderer/without_details/dist/bundle.js +0 -1
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -1
- data/resources/templates/error_renderer/without_details/webpack.config.js +13 -16
- data/resources/templates/standalone/server.erb +1 -0
- data/src/agent/Core/ApiServer.h +35 -0
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -0
- data/src/agent/Core/ApplicationPool/Options.h +5 -0
- data/src/agent/Core/ApplicationPool/Pool.h +9 -1
- data/src/agent/Core/Config.h +2 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +6 -2
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Core/OptionParser.h +4 -0
- data/src/agent/Core/SecurityUpdateChecker.h +4 -4
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +7 -0
- data/src/agent/Core/SpawningKit/Config.h +13 -0
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +4 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
- data/src/agent/Core/SpawningKit/Spawner.h +1 -0
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +27 -1
- data/src/agent/Watchdog/Config.h +2 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +4 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +32 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +19 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +11 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +19 -2
- data/src/apache2_module/Hooks.cpp +1 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +4 -0
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +2 -0
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +3 -0
- data/src/cxx_supportlib/ServerKit/http_parser.cpp +740 -430
- data/src/cxx_supportlib/ServerKit/http_parser.h +156 -34
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +825 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +299 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +129 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +240 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +103 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +1209 -120
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +306 -125
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +50 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +831 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +703 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +308 -127
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +637 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +130 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +143 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +120 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +102 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +461 -207
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +756 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +229 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +55 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +751 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +754 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +230 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +753 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +479 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +43 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +39 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +43 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +307 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +73 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +415 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +206 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +139 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +804 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +8 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +276 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +192 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +578 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +42 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +155 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +367 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +27 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +47 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +916 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +44 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/{reactive_serial_port_service.ipp → posix_serial_port_service.ipp} +38 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +29 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +25 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +67 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +164 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +147 -132
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +24 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/defer.hpp → detail/initiate_defer.hpp} +52 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/dispatch.hpp → detail/initiate_dispatch.hpp} +43 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/post.hpp → detail/initiate_post.hpp} +52 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +192 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +689 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +208 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +665 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +37 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +97 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +19 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/{reactive_serial_port_service.hpp → posix_serial_port_service.hpp} +30 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +45 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +176 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +87 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +127 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +239 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +17 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +59 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +67 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +37 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +102 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +31 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +125 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +126 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +708 -249
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +332 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +263 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +62 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +324 -90
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +52 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +73 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +40 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +80 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +50 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +325 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +73 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +249 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +248 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +26 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +34 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +130 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +295 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +286 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +146 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +150 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +679 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +614 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +241 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1177 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1224 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +794 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +256 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +216 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +463 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +226 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +168 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +322 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +785 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +193 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +170 -127
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +57 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +275 -201
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +141 -111
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +498 -378
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +302 -58
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +1375 -285
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +43 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +28 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +235 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +117 -96
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +126 -122
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +98 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +81 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +180 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +3 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +111 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +136 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +139 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +243 -165
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +85 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +381 -189
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +154 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +529 -226
- data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +358 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +147 -100
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +105 -63
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +655 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +44 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +53 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +154 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +25 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +227 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +77 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +236 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +48 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +13 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +81 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +110 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +125 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +122 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +378 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +156 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +120 -21
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +8 -15
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +183 -64
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +169 -67
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +83 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +40 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_arm.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +19 -10
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +29 -60
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +105 -100
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +107 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +32 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +73 -72
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_ppc_asm_common.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/remove_cv.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_darwin_ulock.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +55 -26
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +9 -28
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/is_same.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +53 -8
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/requires_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_get.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io_v1/chrono_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +16 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +32 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +14 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +27 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +184 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +66 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +36 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +132 -7
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +237 -175
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +182 -135
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +14 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +961 -151
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +181 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +59 -59
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +218 -143
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_pair.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +88 -69
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +48 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +252 -119
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +19 -91
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +249 -342
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +4 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +67 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2961 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +265 -180
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +36 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +72 -100
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +95 -89
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +14 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +159 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +32 -43
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +83 -115
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +134 -162
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +159 -101
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +81 -50
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +413 -293
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +140 -26
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +512 -725
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +410 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple_like.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/mulx.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +486 -571
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +25 -24
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_tuple_like.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alignof.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +7 -81
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +472 -285
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +936 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +20 -3
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/is_same.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/lwt_unattended.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_pause.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/{smart_ptr → core}/detail/sp_thread_sleep.hpp +39 -21
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_yield.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_win32_sleep.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +1272 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/identity.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +10 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/launder.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +67 -22
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +8 -54
- data/src/cxx_supportlib/vendor-modified/boost/core/make_span.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/max_align.hpp +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/memory_resource.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +111 -60
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +58 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/serialization.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/snprintf.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +27 -8
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1181 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/core/verbose_terminate_handler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/yield_primitives.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +108 -62
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +84 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/epilogue.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/prologue.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +37 -32
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +86 -81
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +63 -63
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +101 -109
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +134 -128
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +35 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +88 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +30 -30
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +38 -40
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +84 -15
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +182 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +115 -69
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +7 -55
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +3 -140
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +29 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1668 -969
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +97 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +97 -94
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +17 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +12 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +30 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +58 -66
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +40 -40
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +152 -159
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +59 -57
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +37 -39
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +90 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +10 -11
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
- data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +40 -51
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +13 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +20 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +13 -25
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +17 -22
- data/src/cxx_supportlib/vendor-modified/boost/limits.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +48 -36
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +91 -74
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +225 -163
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/basic_op.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +21 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/insertion_sort.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +125 -209
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +24 -15
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/search.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +32 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/addressof.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/force_ptr.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +109 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +8 -32
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +268 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/reverse_iterator.hpp +40 -33
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +263 -51
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +82 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/move/utility.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +38 -33
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1327 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_defer.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_list.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_value_list.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list_v.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_min_element.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_plus.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_rename.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_value.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_void.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_with_index.hpp +385 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/function.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +472 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/next_prior.hpp +3 -44
- data/src/cxx_supportlib/vendor-modified/boost/nondet_random.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +37 -26
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +87 -26
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +22 -9
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/pool/simple_segregated_storage.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +8 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/plus.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
- data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +23 -13
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +40 -41
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3130 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +921 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1874 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1311 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +23 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +63 -7
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +51 -12
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +732 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +349 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/mutex.hpp +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/requires_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category_impl.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_message.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -958
- data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +30 -59
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +141 -45
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +22 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_swappable_cxx_11.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_swappable.hpp +4 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_swappable.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/detail/requires_cxx11.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +818 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map_fwd.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +849 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +1324 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2119 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/element_type.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/ignore_wshadow.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/restore_wshadow.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/rw_spinlock.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +556 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +88 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1645 -2992
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +8 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/mulx.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/narrow_cast.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/requires_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +592 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +666 -227
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +884 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +688 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +387 -112
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +33 -11
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +27 -4
- data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +1 -1
- data/src/helper-scripts/wsgi-loader.py +34 -17
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +16 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +12 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +24 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +10 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +39 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +26 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +6 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +8 -0
- data/src/nginx_module/ngx_http_passenger_module.c +1 -0
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/common.js +50 -29
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/cli-config.js +20 -20
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/npm-config.js +11 -11
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/syslog-config.js +3 -3
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config.js +8 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/container.js +2 -1
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/logger.js +174 -146
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/console.js +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/file.js +15 -5
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/http.js +14 -4
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports.js +26 -24
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston.js +5 -5
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/package.json +4 -13
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/colors/package.json +19 -33
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/cycle/package.json +11 -29
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/eyes/package.json +12 -40
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/isstream/package.json +3 -12
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/lib/stack-trace.js +49 -24
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/package.json +4 -16
- data/src/nodejs_supportlib/vendor-copy/winston/package.json +11 -55
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +16 -12
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +7 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +11 -2
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +12 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +3 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +6 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +47 -28
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +12 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +18 -18
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +7 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +28 -17
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger.rb +7 -7
- metadata +577 -150
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -637
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -363
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_interoperability.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
- data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +0 -278
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +0 -297
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +0 -265
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/daily-rotate-file.js +0 -601
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/webhook.js +0 -146
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/LICENSE +0 -19
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/lib/pkginfo.js +0 -136
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/package.json +0 -56
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +0 -0
@@ -0,0 +1,1576 @@
|
|
1
|
+
/*
|
2
|
+
*
|
3
|
+
* Copyright (c) 2004
|
4
|
+
* John Maddock
|
5
|
+
*
|
6
|
+
* Use, modification and distribution are subject to the
|
7
|
+
* Boost Software License, Version 1.0. (See accompanying file
|
8
|
+
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*
|
13
|
+
* LOCATION: see http://www.boost.org for most recent version.
|
14
|
+
* FILE basic_regex_creator.cpp
|
15
|
+
* VERSION see <boost/version.hpp>
|
16
|
+
* DESCRIPTION: Declares template class basic_regex_creator which fills in
|
17
|
+
* the data members of a regex_data object.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#ifndef BOOST_REGEX_V5_BASIC_REGEX_CREATOR_HPP
|
21
|
+
#define BOOST_REGEX_V5_BASIC_REGEX_CREATOR_HPP
|
22
|
+
|
23
|
+
#ifdef BOOST_REGEX_MSVC
|
24
|
+
# pragma warning(push)
|
25
|
+
#pragma warning(disable:4459)
|
26
|
+
#if BOOST_REGEX_MSVC < 1910
|
27
|
+
#pragma warning(disable:4800)
|
28
|
+
#endif
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#include <set>
|
32
|
+
|
33
|
+
namespace boost{
|
34
|
+
|
35
|
+
namespace BOOST_REGEX_DETAIL_NS{
|
36
|
+
|
37
|
+
template <class charT>
|
38
|
+
struct digraph : public std::pair<charT, charT>
|
39
|
+
{
|
40
|
+
digraph() : std::pair<charT, charT>(charT(0), charT(0)){}
|
41
|
+
digraph(charT c1) : std::pair<charT, charT>(c1, charT(0)){}
|
42
|
+
digraph(charT c1, charT c2) : std::pair<charT, charT>(c1, c2)
|
43
|
+
{}
|
44
|
+
digraph(const digraph<charT>& d) : std::pair<charT, charT>(d.first, d.second){}
|
45
|
+
digraph<charT>& operator=(const digraph<charT>&) = default;
|
46
|
+
template <class Seq>
|
47
|
+
digraph(const Seq& s) : std::pair<charT, charT>()
|
48
|
+
{
|
49
|
+
BOOST_REGEX_ASSERT(s.size() <= 2);
|
50
|
+
BOOST_REGEX_ASSERT(s.size());
|
51
|
+
this->first = s[0];
|
52
|
+
this->second = (s.size() > 1) ? s[1] : 0;
|
53
|
+
}
|
54
|
+
};
|
55
|
+
|
56
|
+
template <class charT, class traits>
|
57
|
+
class basic_char_set
|
58
|
+
{
|
59
|
+
public:
|
60
|
+
typedef digraph<charT> digraph_type;
|
61
|
+
typedef typename traits::string_type string_type;
|
62
|
+
typedef typename traits::char_class_type m_type;
|
63
|
+
|
64
|
+
basic_char_set()
|
65
|
+
{
|
66
|
+
m_negate = false;
|
67
|
+
m_has_digraphs = false;
|
68
|
+
m_classes = 0;
|
69
|
+
m_negated_classes = 0;
|
70
|
+
m_empty = true;
|
71
|
+
}
|
72
|
+
|
73
|
+
void add_single(const digraph_type& s)
|
74
|
+
{
|
75
|
+
m_singles.insert(s);
|
76
|
+
if(s.second)
|
77
|
+
m_has_digraphs = true;
|
78
|
+
m_empty = false;
|
79
|
+
}
|
80
|
+
void add_range(const digraph_type& first, const digraph_type& end)
|
81
|
+
{
|
82
|
+
m_ranges.push_back(first);
|
83
|
+
m_ranges.push_back(end);
|
84
|
+
if(first.second)
|
85
|
+
{
|
86
|
+
m_has_digraphs = true;
|
87
|
+
add_single(first);
|
88
|
+
}
|
89
|
+
if(end.second)
|
90
|
+
{
|
91
|
+
m_has_digraphs = true;
|
92
|
+
add_single(end);
|
93
|
+
}
|
94
|
+
m_empty = false;
|
95
|
+
}
|
96
|
+
void add_class(m_type m)
|
97
|
+
{
|
98
|
+
m_classes |= m;
|
99
|
+
m_empty = false;
|
100
|
+
}
|
101
|
+
void add_negated_class(m_type m)
|
102
|
+
{
|
103
|
+
m_negated_classes |= m;
|
104
|
+
m_empty = false;
|
105
|
+
}
|
106
|
+
void add_equivalent(const digraph_type& s)
|
107
|
+
{
|
108
|
+
m_equivalents.insert(s);
|
109
|
+
if(s.second)
|
110
|
+
{
|
111
|
+
m_has_digraphs = true;
|
112
|
+
add_single(s);
|
113
|
+
}
|
114
|
+
m_empty = false;
|
115
|
+
}
|
116
|
+
void negate()
|
117
|
+
{
|
118
|
+
m_negate = true;
|
119
|
+
//m_empty = false;
|
120
|
+
}
|
121
|
+
|
122
|
+
//
|
123
|
+
// accessor functions:
|
124
|
+
//
|
125
|
+
bool has_digraphs()const
|
126
|
+
{
|
127
|
+
return m_has_digraphs;
|
128
|
+
}
|
129
|
+
bool is_negated()const
|
130
|
+
{
|
131
|
+
return m_negate;
|
132
|
+
}
|
133
|
+
typedef typename std::vector<digraph_type>::const_iterator list_iterator;
|
134
|
+
typedef typename std::set<digraph_type>::const_iterator set_iterator;
|
135
|
+
set_iterator singles_begin()const
|
136
|
+
{
|
137
|
+
return m_singles.begin();
|
138
|
+
}
|
139
|
+
set_iterator singles_end()const
|
140
|
+
{
|
141
|
+
return m_singles.end();
|
142
|
+
}
|
143
|
+
list_iterator ranges_begin()const
|
144
|
+
{
|
145
|
+
return m_ranges.begin();
|
146
|
+
}
|
147
|
+
list_iterator ranges_end()const
|
148
|
+
{
|
149
|
+
return m_ranges.end();
|
150
|
+
}
|
151
|
+
set_iterator equivalents_begin()const
|
152
|
+
{
|
153
|
+
return m_equivalents.begin();
|
154
|
+
}
|
155
|
+
set_iterator equivalents_end()const
|
156
|
+
{
|
157
|
+
return m_equivalents.end();
|
158
|
+
}
|
159
|
+
m_type classes()const
|
160
|
+
{
|
161
|
+
return m_classes;
|
162
|
+
}
|
163
|
+
m_type negated_classes()const
|
164
|
+
{
|
165
|
+
return m_negated_classes;
|
166
|
+
}
|
167
|
+
bool empty()const
|
168
|
+
{
|
169
|
+
return m_empty;
|
170
|
+
}
|
171
|
+
private:
|
172
|
+
std::set<digraph_type> m_singles; // a list of single characters to match
|
173
|
+
std::vector<digraph_type> m_ranges; // a list of end points of our ranges
|
174
|
+
bool m_negate; // true if the set is to be negated
|
175
|
+
bool m_has_digraphs; // true if we have digraphs present
|
176
|
+
m_type m_classes; // character classes to match
|
177
|
+
m_type m_negated_classes; // negated character classes to match
|
178
|
+
bool m_empty; // whether we've added anything yet
|
179
|
+
std::set<digraph_type> m_equivalents; // a list of equivalence classes
|
180
|
+
};
|
181
|
+
|
182
|
+
template <class charT, class traits>
|
183
|
+
class basic_regex_creator
|
184
|
+
{
|
185
|
+
public:
|
186
|
+
basic_regex_creator(regex_data<charT, traits>* data);
|
187
|
+
std::ptrdiff_t getoffset(void* addr)
|
188
|
+
{
|
189
|
+
return getoffset(addr, m_pdata->m_data.data());
|
190
|
+
}
|
191
|
+
std::ptrdiff_t getoffset(const void* addr, const void* base)
|
192
|
+
{
|
193
|
+
return static_cast<const char*>(addr) - static_cast<const char*>(base);
|
194
|
+
}
|
195
|
+
re_syntax_base* getaddress(std::ptrdiff_t off)
|
196
|
+
{
|
197
|
+
return getaddress(off, m_pdata->m_data.data());
|
198
|
+
}
|
199
|
+
re_syntax_base* getaddress(std::ptrdiff_t off, void* base)
|
200
|
+
{
|
201
|
+
return static_cast<re_syntax_base*>(static_cast<void*>(static_cast<char*>(base) + off));
|
202
|
+
}
|
203
|
+
void init(unsigned l_flags)
|
204
|
+
{
|
205
|
+
m_pdata->m_flags = l_flags;
|
206
|
+
m_icase = l_flags & regex_constants::icase;
|
207
|
+
}
|
208
|
+
regbase::flag_type flags()
|
209
|
+
{
|
210
|
+
return m_pdata->m_flags;
|
211
|
+
}
|
212
|
+
void flags(regbase::flag_type f)
|
213
|
+
{
|
214
|
+
m_pdata->m_flags = f;
|
215
|
+
if(m_icase != static_cast<bool>(f & regbase::icase))
|
216
|
+
{
|
217
|
+
m_icase = static_cast<bool>(f & regbase::icase);
|
218
|
+
}
|
219
|
+
}
|
220
|
+
re_syntax_base* append_state(syntax_element_type t, std::size_t s = sizeof(re_syntax_base));
|
221
|
+
re_syntax_base* insert_state(std::ptrdiff_t pos, syntax_element_type t, std::size_t s = sizeof(re_syntax_base));
|
222
|
+
re_literal* append_literal(charT c);
|
223
|
+
re_syntax_base* append_set(const basic_char_set<charT, traits>& char_set);
|
224
|
+
re_syntax_base* append_set(const basic_char_set<charT, traits>& char_set, std::integral_constant<bool, false>*);
|
225
|
+
re_syntax_base* append_set(const basic_char_set<charT, traits>& char_set, std::integral_constant<bool, true>*);
|
226
|
+
void finalize(const charT* p1, const charT* p2);
|
227
|
+
protected:
|
228
|
+
regex_data<charT, traits>* m_pdata; // pointer to the basic_regex_data struct we are filling in
|
229
|
+
const ::boost::regex_traits_wrapper<traits>&
|
230
|
+
m_traits; // convenience reference to traits class
|
231
|
+
re_syntax_base* m_last_state; // the last state we added
|
232
|
+
bool m_icase; // true for case insensitive matches
|
233
|
+
unsigned m_repeater_id; // the state_id of the next repeater
|
234
|
+
bool m_has_backrefs; // true if there are actually any backrefs
|
235
|
+
std::uintmax_t m_bad_repeats; // bitmask of repeats we can't deduce a startmap for;
|
236
|
+
bool m_has_recursions; // set when we have recursive expressions to fixup
|
237
|
+
std::vector<unsigned char> m_recursion_checks; // notes which recursions we've followed while analysing this expression
|
238
|
+
typename traits::char_class_type m_word_mask; // mask used to determine if a character is a word character
|
239
|
+
typename traits::char_class_type m_mask_space; // mask used to determine if a character is a word character
|
240
|
+
typename traits::char_class_type m_lower_mask; // mask used to determine if a character is a lowercase character
|
241
|
+
typename traits::char_class_type m_upper_mask; // mask used to determine if a character is an uppercase character
|
242
|
+
typename traits::char_class_type m_alpha_mask; // mask used to determine if a character is an alphabetic character
|
243
|
+
private:
|
244
|
+
basic_regex_creator& operator=(const basic_regex_creator&);
|
245
|
+
basic_regex_creator(const basic_regex_creator&);
|
246
|
+
|
247
|
+
void fixup_pointers(re_syntax_base* state);
|
248
|
+
void fixup_recursions(re_syntax_base* state);
|
249
|
+
void create_startmaps(re_syntax_base* state);
|
250
|
+
int calculate_backstep(re_syntax_base* state);
|
251
|
+
void create_startmap(re_syntax_base* state, unsigned char* l_map, unsigned int* pnull, unsigned char mask);
|
252
|
+
unsigned get_restart_type(re_syntax_base* state);
|
253
|
+
void set_all_masks(unsigned char* bits, unsigned char);
|
254
|
+
bool is_bad_repeat(re_syntax_base* pt);
|
255
|
+
void set_bad_repeat(re_syntax_base* pt);
|
256
|
+
syntax_element_type get_repeat_type(re_syntax_base* state);
|
257
|
+
void probe_leading_repeat(re_syntax_base* state);
|
258
|
+
};
|
259
|
+
|
260
|
+
template <class charT, class traits>
|
261
|
+
basic_regex_creator<charT, traits>::basic_regex_creator(regex_data<charT, traits>* data)
|
262
|
+
: m_pdata(data), m_traits(*(data->m_ptraits)), m_last_state(0), m_icase(false), m_repeater_id(0),
|
263
|
+
m_has_backrefs(false), m_bad_repeats(0), m_has_recursions(false), m_word_mask(0), m_mask_space(0), m_lower_mask(0), m_upper_mask(0), m_alpha_mask(0)
|
264
|
+
{
|
265
|
+
m_pdata->m_data.clear();
|
266
|
+
m_pdata->m_status = ::boost::regex_constants::error_ok;
|
267
|
+
static const charT w = 'w';
|
268
|
+
static const charT s = 's';
|
269
|
+
static const charT l[5] = { 'l', 'o', 'w', 'e', 'r', };
|
270
|
+
static const charT u[5] = { 'u', 'p', 'p', 'e', 'r', };
|
271
|
+
static const charT a[5] = { 'a', 'l', 'p', 'h', 'a', };
|
272
|
+
m_word_mask = m_traits.lookup_classname(&w, &w +1);
|
273
|
+
m_mask_space = m_traits.lookup_classname(&s, &s +1);
|
274
|
+
m_lower_mask = m_traits.lookup_classname(l, l + 5);
|
275
|
+
m_upper_mask = m_traits.lookup_classname(u, u + 5);
|
276
|
+
m_alpha_mask = m_traits.lookup_classname(a, a + 5);
|
277
|
+
m_pdata->m_word_mask = m_word_mask;
|
278
|
+
BOOST_REGEX_ASSERT(m_word_mask != 0);
|
279
|
+
BOOST_REGEX_ASSERT(m_mask_space != 0);
|
280
|
+
BOOST_REGEX_ASSERT(m_lower_mask != 0);
|
281
|
+
BOOST_REGEX_ASSERT(m_upper_mask != 0);
|
282
|
+
BOOST_REGEX_ASSERT(m_alpha_mask != 0);
|
283
|
+
}
|
284
|
+
|
285
|
+
template <class charT, class traits>
|
286
|
+
re_syntax_base* basic_regex_creator<charT, traits>::append_state(syntax_element_type t, std::size_t s)
|
287
|
+
{
|
288
|
+
// if the state is a backref then make a note of it:
|
289
|
+
if(t == syntax_element_backref)
|
290
|
+
this->m_has_backrefs = true;
|
291
|
+
// append a new state, start by aligning our last one:
|
292
|
+
m_pdata->m_data.align();
|
293
|
+
// set the offset to the next state in our last one:
|
294
|
+
if(m_last_state)
|
295
|
+
m_last_state->next.i = m_pdata->m_data.size() - getoffset(m_last_state);
|
296
|
+
// now actually extend our data:
|
297
|
+
m_last_state = static_cast<re_syntax_base*>(m_pdata->m_data.extend(s));
|
298
|
+
// fill in boilerplate options in the new state:
|
299
|
+
m_last_state->next.i = 0;
|
300
|
+
m_last_state->type = t;
|
301
|
+
return m_last_state;
|
302
|
+
}
|
303
|
+
|
304
|
+
template <class charT, class traits>
|
305
|
+
re_syntax_base* basic_regex_creator<charT, traits>::insert_state(std::ptrdiff_t pos, syntax_element_type t, std::size_t s)
|
306
|
+
{
|
307
|
+
// append a new state, start by aligning our last one:
|
308
|
+
m_pdata->m_data.align();
|
309
|
+
// set the offset to the next state in our last one:
|
310
|
+
if(m_last_state)
|
311
|
+
m_last_state->next.i = m_pdata->m_data.size() - getoffset(m_last_state);
|
312
|
+
// remember the last state position:
|
313
|
+
std::ptrdiff_t off = getoffset(m_last_state) + s;
|
314
|
+
// now actually insert our data:
|
315
|
+
re_syntax_base* new_state = static_cast<re_syntax_base*>(m_pdata->m_data.insert(pos, s));
|
316
|
+
// fill in boilerplate options in the new state:
|
317
|
+
new_state->next.i = s;
|
318
|
+
new_state->type = t;
|
319
|
+
m_last_state = getaddress(off);
|
320
|
+
return new_state;
|
321
|
+
}
|
322
|
+
|
323
|
+
template <class charT, class traits>
|
324
|
+
re_literal* basic_regex_creator<charT, traits>::append_literal(charT c)
|
325
|
+
{
|
326
|
+
re_literal* result;
|
327
|
+
// start by seeing if we have an existing re_literal we can extend:
|
328
|
+
if((0 == m_last_state) || (m_last_state->type != syntax_element_literal))
|
329
|
+
{
|
330
|
+
// no existing re_literal, create a new one:
|
331
|
+
result = static_cast<re_literal*>(append_state(syntax_element_literal, sizeof(re_literal) + sizeof(charT)));
|
332
|
+
result->length = 1;
|
333
|
+
*static_cast<charT*>(static_cast<void*>(result+1)) = m_traits.translate(c, m_icase);
|
334
|
+
}
|
335
|
+
else
|
336
|
+
{
|
337
|
+
// we have an existing re_literal, extend it:
|
338
|
+
std::ptrdiff_t off = getoffset(m_last_state);
|
339
|
+
m_pdata->m_data.extend(sizeof(charT));
|
340
|
+
m_last_state = result = static_cast<re_literal*>(getaddress(off));
|
341
|
+
charT* characters = static_cast<charT*>(static_cast<void*>(result+1));
|
342
|
+
characters[result->length] = m_traits.translate(c, m_icase);
|
343
|
+
result->length += 1;
|
344
|
+
}
|
345
|
+
return result;
|
346
|
+
}
|
347
|
+
|
348
|
+
template <class charT, class traits>
|
349
|
+
inline re_syntax_base* basic_regex_creator<charT, traits>::append_set(
|
350
|
+
const basic_char_set<charT, traits>& char_set)
|
351
|
+
{
|
352
|
+
typedef std::integral_constant<bool, (sizeof(charT) == 1) > truth_type;
|
353
|
+
return char_set.has_digraphs()
|
354
|
+
? append_set(char_set, static_cast<std::integral_constant<bool, false>*>(0))
|
355
|
+
: append_set(char_set, static_cast<truth_type*>(0));
|
356
|
+
}
|
357
|
+
|
358
|
+
template <class charT, class traits>
|
359
|
+
re_syntax_base* basic_regex_creator<charT, traits>::append_set(
|
360
|
+
const basic_char_set<charT, traits>& char_set, std::integral_constant<bool, false>*)
|
361
|
+
{
|
362
|
+
typedef typename traits::string_type string_type;
|
363
|
+
typedef typename basic_char_set<charT, traits>::list_iterator item_iterator;
|
364
|
+
typedef typename basic_char_set<charT, traits>::set_iterator set_iterator;
|
365
|
+
typedef typename traits::char_class_type m_type;
|
366
|
+
|
367
|
+
re_set_long<m_type>* result = static_cast<re_set_long<m_type>*>(append_state(syntax_element_long_set, sizeof(re_set_long<m_type>)));
|
368
|
+
//
|
369
|
+
// fill in the basics:
|
370
|
+
//
|
371
|
+
result->csingles = static_cast<unsigned int>(std::distance(char_set.singles_begin(), char_set.singles_end()));
|
372
|
+
result->cranges = static_cast<unsigned int>(std::distance(char_set.ranges_begin(), char_set.ranges_end())) / 2;
|
373
|
+
result->cequivalents = static_cast<unsigned int>(std::distance(char_set.equivalents_begin(), char_set.equivalents_end()));
|
374
|
+
result->cclasses = char_set.classes();
|
375
|
+
result->cnclasses = char_set.negated_classes();
|
376
|
+
if(flags() & regbase::icase)
|
377
|
+
{
|
378
|
+
// adjust classes as needed:
|
379
|
+
if(((result->cclasses & m_lower_mask) == m_lower_mask) || ((result->cclasses & m_upper_mask) == m_upper_mask))
|
380
|
+
result->cclasses |= m_alpha_mask;
|
381
|
+
if(((result->cnclasses & m_lower_mask) == m_lower_mask) || ((result->cnclasses & m_upper_mask) == m_upper_mask))
|
382
|
+
result->cnclasses |= m_alpha_mask;
|
383
|
+
}
|
384
|
+
|
385
|
+
result->isnot = char_set.is_negated();
|
386
|
+
result->singleton = !char_set.has_digraphs();
|
387
|
+
//
|
388
|
+
// remember where the state is for later:
|
389
|
+
//
|
390
|
+
std::ptrdiff_t offset = getoffset(result);
|
391
|
+
//
|
392
|
+
// now extend with all the singles:
|
393
|
+
//
|
394
|
+
item_iterator first, last;
|
395
|
+
set_iterator sfirst, slast;
|
396
|
+
sfirst = char_set.singles_begin();
|
397
|
+
slast = char_set.singles_end();
|
398
|
+
while(sfirst != slast)
|
399
|
+
{
|
400
|
+
charT* p = static_cast<charT*>(this->m_pdata->m_data.extend(sizeof(charT) * (sfirst->first == static_cast<charT>(0) ? 1 : sfirst->second ? 3 : 2)));
|
401
|
+
p[0] = m_traits.translate(sfirst->first, m_icase);
|
402
|
+
if(sfirst->first == static_cast<charT>(0))
|
403
|
+
{
|
404
|
+
p[0] = 0;
|
405
|
+
}
|
406
|
+
else if(sfirst->second)
|
407
|
+
{
|
408
|
+
p[1] = m_traits.translate(sfirst->second, m_icase);
|
409
|
+
p[2] = 0;
|
410
|
+
}
|
411
|
+
else
|
412
|
+
p[1] = 0;
|
413
|
+
++sfirst;
|
414
|
+
}
|
415
|
+
//
|
416
|
+
// now extend with all the ranges:
|
417
|
+
//
|
418
|
+
first = char_set.ranges_begin();
|
419
|
+
last = char_set.ranges_end();
|
420
|
+
while(first != last)
|
421
|
+
{
|
422
|
+
// first grab the endpoints of the range:
|
423
|
+
digraph<charT> c1 = *first;
|
424
|
+
c1.first = this->m_traits.translate(c1.first, this->m_icase);
|
425
|
+
c1.second = this->m_traits.translate(c1.second, this->m_icase);
|
426
|
+
++first;
|
427
|
+
digraph<charT> c2 = *first;
|
428
|
+
c2.first = this->m_traits.translate(c2.first, this->m_icase);
|
429
|
+
c2.second = this->m_traits.translate(c2.second, this->m_icase);
|
430
|
+
++first;
|
431
|
+
string_type s1, s2;
|
432
|
+
// different actions now depending upon whether collation is turned on:
|
433
|
+
if(flags() & regex_constants::collate)
|
434
|
+
{
|
435
|
+
// we need to transform our range into sort keys:
|
436
|
+
charT a1[3] = { c1.first, c1.second, charT(0), };
|
437
|
+
charT a2[3] = { c2.first, c2.second, charT(0), };
|
438
|
+
s1 = this->m_traits.transform(a1, (a1[1] ? a1+2 : a1+1));
|
439
|
+
s2 = this->m_traits.transform(a2, (a2[1] ? a2+2 : a2+1));
|
440
|
+
if(s1.empty())
|
441
|
+
s1 = string_type(1, charT(0));
|
442
|
+
if(s2.empty())
|
443
|
+
s2 = string_type(1, charT(0));
|
444
|
+
}
|
445
|
+
else
|
446
|
+
{
|
447
|
+
if(c1.second)
|
448
|
+
{
|
449
|
+
s1.insert(s1.end(), c1.first);
|
450
|
+
s1.insert(s1.end(), c1.second);
|
451
|
+
}
|
452
|
+
else
|
453
|
+
s1 = string_type(1, c1.first);
|
454
|
+
if(c2.second)
|
455
|
+
{
|
456
|
+
s2.insert(s2.end(), c2.first);
|
457
|
+
s2.insert(s2.end(), c2.second);
|
458
|
+
}
|
459
|
+
else
|
460
|
+
s2.insert(s2.end(), c2.first);
|
461
|
+
}
|
462
|
+
if(s1 > s2)
|
463
|
+
{
|
464
|
+
// Oops error:
|
465
|
+
return 0;
|
466
|
+
}
|
467
|
+
charT* p = static_cast<charT*>(this->m_pdata->m_data.extend(sizeof(charT) * (s1.size() + s2.size() + 2) ) );
|
468
|
+
BOOST_REGEX_DETAIL_NS::copy(s1.begin(), s1.end(), p);
|
469
|
+
p[s1.size()] = charT(0);
|
470
|
+
p += s1.size() + 1;
|
471
|
+
BOOST_REGEX_DETAIL_NS::copy(s2.begin(), s2.end(), p);
|
472
|
+
p[s2.size()] = charT(0);
|
473
|
+
}
|
474
|
+
//
|
475
|
+
// now process the equivalence classes:
|
476
|
+
//
|
477
|
+
sfirst = char_set.equivalents_begin();
|
478
|
+
slast = char_set.equivalents_end();
|
479
|
+
while(sfirst != slast)
|
480
|
+
{
|
481
|
+
string_type s;
|
482
|
+
if(sfirst->second)
|
483
|
+
{
|
484
|
+
charT cs[3] = { sfirst->first, sfirst->second, charT(0), };
|
485
|
+
s = m_traits.transform_primary(cs, cs+2);
|
486
|
+
}
|
487
|
+
else
|
488
|
+
s = m_traits.transform_primary(&sfirst->first, &sfirst->first+1);
|
489
|
+
if(s.empty())
|
490
|
+
return 0; // invalid or unsupported equivalence class
|
491
|
+
charT* p = static_cast<charT*>(this->m_pdata->m_data.extend(sizeof(charT) * (s.size()+1) ) );
|
492
|
+
BOOST_REGEX_DETAIL_NS::copy(s.begin(), s.end(), p);
|
493
|
+
p[s.size()] = charT(0);
|
494
|
+
++sfirst;
|
495
|
+
}
|
496
|
+
//
|
497
|
+
// finally reset the address of our last state:
|
498
|
+
//
|
499
|
+
m_last_state = result = static_cast<re_set_long<m_type>*>(getaddress(offset));
|
500
|
+
return result;
|
501
|
+
}
|
502
|
+
|
503
|
+
template<class T>
|
504
|
+
inline bool char_less(T t1, T t2)
|
505
|
+
{
|
506
|
+
return t1 < t2;
|
507
|
+
}
|
508
|
+
inline bool char_less(char t1, char t2)
|
509
|
+
{
|
510
|
+
return static_cast<unsigned char>(t1) < static_cast<unsigned char>(t2);
|
511
|
+
}
|
512
|
+
inline bool char_less(signed char t1, signed char t2)
|
513
|
+
{
|
514
|
+
return static_cast<unsigned char>(t1) < static_cast<unsigned char>(t2);
|
515
|
+
}
|
516
|
+
|
517
|
+
template <class charT, class traits>
|
518
|
+
re_syntax_base* basic_regex_creator<charT, traits>::append_set(
|
519
|
+
const basic_char_set<charT, traits>& char_set, std::integral_constant<bool, true>*)
|
520
|
+
{
|
521
|
+
typedef typename traits::string_type string_type;
|
522
|
+
typedef typename basic_char_set<charT, traits>::list_iterator item_iterator;
|
523
|
+
typedef typename basic_char_set<charT, traits>::set_iterator set_iterator;
|
524
|
+
|
525
|
+
re_set* result = static_cast<re_set*>(append_state(syntax_element_set, sizeof(re_set)));
|
526
|
+
bool negate = char_set.is_negated();
|
527
|
+
std::memset(result->_map, 0, sizeof(result->_map));
|
528
|
+
//
|
529
|
+
// handle singles first:
|
530
|
+
//
|
531
|
+
item_iterator first, last;
|
532
|
+
set_iterator sfirst, slast;
|
533
|
+
sfirst = char_set.singles_begin();
|
534
|
+
slast = char_set.singles_end();
|
535
|
+
while(sfirst != slast)
|
536
|
+
{
|
537
|
+
for(unsigned int i = 0; i < (1 << CHAR_BIT); ++i)
|
538
|
+
{
|
539
|
+
if(this->m_traits.translate(static_cast<charT>(i), this->m_icase)
|
540
|
+
== this->m_traits.translate(sfirst->first, this->m_icase))
|
541
|
+
result->_map[i] = true;
|
542
|
+
}
|
543
|
+
++sfirst;
|
544
|
+
}
|
545
|
+
//
|
546
|
+
// OK now handle ranges:
|
547
|
+
//
|
548
|
+
first = char_set.ranges_begin();
|
549
|
+
last = char_set.ranges_end();
|
550
|
+
while(first != last)
|
551
|
+
{
|
552
|
+
// first grab the endpoints of the range:
|
553
|
+
charT c1 = this->m_traits.translate(first->first, this->m_icase);
|
554
|
+
++first;
|
555
|
+
charT c2 = this->m_traits.translate(first->first, this->m_icase);
|
556
|
+
++first;
|
557
|
+
// different actions now depending upon whether collation is turned on:
|
558
|
+
if(flags() & regex_constants::collate)
|
559
|
+
{
|
560
|
+
// we need to transform our range into sort keys:
|
561
|
+
charT c3[2] = { c1, charT(0), };
|
562
|
+
string_type s1 = this->m_traits.transform(c3, c3+1);
|
563
|
+
c3[0] = c2;
|
564
|
+
string_type s2 = this->m_traits.transform(c3, c3+1);
|
565
|
+
if(s1 > s2)
|
566
|
+
{
|
567
|
+
// Oops error:
|
568
|
+
return 0;
|
569
|
+
}
|
570
|
+
BOOST_REGEX_ASSERT(c3[1] == charT(0));
|
571
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
572
|
+
{
|
573
|
+
c3[0] = static_cast<charT>(i);
|
574
|
+
string_type s3 = this->m_traits.transform(c3, c3 +1);
|
575
|
+
if((s1 <= s3) && (s3 <= s2))
|
576
|
+
result->_map[i] = true;
|
577
|
+
}
|
578
|
+
}
|
579
|
+
else
|
580
|
+
{
|
581
|
+
if(char_less(c2, c1))
|
582
|
+
{
|
583
|
+
// Oops error:
|
584
|
+
return 0;
|
585
|
+
}
|
586
|
+
// everything in range matches:
|
587
|
+
std::memset(result->_map + static_cast<unsigned char>(c1), true, static_cast<unsigned char>(1u) + static_cast<unsigned char>(static_cast<unsigned char>(c2) - static_cast<unsigned char>(c1)));
|
588
|
+
}
|
589
|
+
}
|
590
|
+
//
|
591
|
+
// and now the classes:
|
592
|
+
//
|
593
|
+
typedef typename traits::char_class_type m_type;
|
594
|
+
m_type m = char_set.classes();
|
595
|
+
if(flags() & regbase::icase)
|
596
|
+
{
|
597
|
+
// adjust m as needed:
|
598
|
+
if(((m & m_lower_mask) == m_lower_mask) || ((m & m_upper_mask) == m_upper_mask))
|
599
|
+
m |= m_alpha_mask;
|
600
|
+
}
|
601
|
+
if(m != 0)
|
602
|
+
{
|
603
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
604
|
+
{
|
605
|
+
if(this->m_traits.isctype(static_cast<charT>(i), m))
|
606
|
+
result->_map[i] = true;
|
607
|
+
}
|
608
|
+
}
|
609
|
+
//
|
610
|
+
// and now the negated classes:
|
611
|
+
//
|
612
|
+
m = char_set.negated_classes();
|
613
|
+
if(flags() & regbase::icase)
|
614
|
+
{
|
615
|
+
// adjust m as needed:
|
616
|
+
if(((m & m_lower_mask) == m_lower_mask) || ((m & m_upper_mask) == m_upper_mask))
|
617
|
+
m |= m_alpha_mask;
|
618
|
+
}
|
619
|
+
if(m != 0)
|
620
|
+
{
|
621
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
622
|
+
{
|
623
|
+
if(0 == this->m_traits.isctype(static_cast<charT>(i), m))
|
624
|
+
result->_map[i] = true;
|
625
|
+
}
|
626
|
+
}
|
627
|
+
//
|
628
|
+
// now process the equivalence classes:
|
629
|
+
//
|
630
|
+
sfirst = char_set.equivalents_begin();
|
631
|
+
slast = char_set.equivalents_end();
|
632
|
+
while(sfirst != slast)
|
633
|
+
{
|
634
|
+
string_type s;
|
635
|
+
BOOST_REGEX_ASSERT(static_cast<charT>(0) == sfirst->second);
|
636
|
+
s = m_traits.transform_primary(&sfirst->first, &sfirst->first+1);
|
637
|
+
if(s.empty())
|
638
|
+
return 0; // invalid or unsupported equivalence class
|
639
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
640
|
+
{
|
641
|
+
charT c[2] = { (static_cast<charT>(i)), charT(0), };
|
642
|
+
string_type s2 = this->m_traits.transform_primary(c, c+1);
|
643
|
+
if(s == s2)
|
644
|
+
result->_map[i] = true;
|
645
|
+
}
|
646
|
+
++sfirst;
|
647
|
+
}
|
648
|
+
if(negate)
|
649
|
+
{
|
650
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
651
|
+
{
|
652
|
+
result->_map[i] = !(result->_map[i]);
|
653
|
+
}
|
654
|
+
}
|
655
|
+
return result;
|
656
|
+
}
|
657
|
+
|
658
|
+
template <class charT, class traits>
|
659
|
+
void basic_regex_creator<charT, traits>::finalize(const charT* p1, const charT* p2)
|
660
|
+
{
|
661
|
+
if(this->m_pdata->m_status)
|
662
|
+
return;
|
663
|
+
// we've added all the states we need, now finish things off.
|
664
|
+
// start by adding a terminating state:
|
665
|
+
append_state(syntax_element_match);
|
666
|
+
// extend storage to store original expression:
|
667
|
+
std::ptrdiff_t len = p2 - p1;
|
668
|
+
m_pdata->m_expression_len = len;
|
669
|
+
charT* ps = static_cast<charT*>(m_pdata->m_data.extend(sizeof(charT) * (1 + (p2 - p1))));
|
670
|
+
m_pdata->m_expression = ps;
|
671
|
+
BOOST_REGEX_DETAIL_NS::copy(p1, p2, ps);
|
672
|
+
ps[p2 - p1] = 0;
|
673
|
+
// fill in our other data...
|
674
|
+
// successful parsing implies a zero status:
|
675
|
+
m_pdata->m_status = 0;
|
676
|
+
// get the first state of the machine:
|
677
|
+
m_pdata->m_first_state = static_cast<re_syntax_base*>(m_pdata->m_data.data());
|
678
|
+
// fixup pointers in the machine:
|
679
|
+
fixup_pointers(m_pdata->m_first_state);
|
680
|
+
if(m_has_recursions)
|
681
|
+
{
|
682
|
+
m_pdata->m_has_recursions = true;
|
683
|
+
fixup_recursions(m_pdata->m_first_state);
|
684
|
+
if(this->m_pdata->m_status)
|
685
|
+
return;
|
686
|
+
}
|
687
|
+
else
|
688
|
+
m_pdata->m_has_recursions = false;
|
689
|
+
// create nested startmaps:
|
690
|
+
create_startmaps(m_pdata->m_first_state);
|
691
|
+
// create main startmap:
|
692
|
+
std::memset(m_pdata->m_startmap, 0, sizeof(m_pdata->m_startmap));
|
693
|
+
m_pdata->m_can_be_null = 0;
|
694
|
+
|
695
|
+
m_bad_repeats = 0;
|
696
|
+
if(m_has_recursions)
|
697
|
+
m_recursion_checks.assign(1 + m_pdata->m_mark_count, 0u);
|
698
|
+
create_startmap(m_pdata->m_first_state, m_pdata->m_startmap, &(m_pdata->m_can_be_null), mask_all);
|
699
|
+
// get the restart type:
|
700
|
+
m_pdata->m_restart_type = get_restart_type(m_pdata->m_first_state);
|
701
|
+
// optimise a leading repeat if there is one:
|
702
|
+
probe_leading_repeat(m_pdata->m_first_state);
|
703
|
+
}
|
704
|
+
|
705
|
+
template <class charT, class traits>
|
706
|
+
void basic_regex_creator<charT, traits>::fixup_pointers(re_syntax_base* state)
|
707
|
+
{
|
708
|
+
while(state)
|
709
|
+
{
|
710
|
+
switch(state->type)
|
711
|
+
{
|
712
|
+
case syntax_element_recurse:
|
713
|
+
m_has_recursions = true;
|
714
|
+
if(state->next.i)
|
715
|
+
state->next.p = getaddress(state->next.i, state);
|
716
|
+
else
|
717
|
+
state->next.p = 0;
|
718
|
+
break;
|
719
|
+
case syntax_element_rep:
|
720
|
+
case syntax_element_dot_rep:
|
721
|
+
case syntax_element_char_rep:
|
722
|
+
case syntax_element_short_set_rep:
|
723
|
+
case syntax_element_long_set_rep:
|
724
|
+
// set the state_id of this repeat:
|
725
|
+
static_cast<re_repeat*>(state)->state_id = m_repeater_id++;
|
726
|
+
BOOST_REGEX_FALLTHROUGH;
|
727
|
+
case syntax_element_alt:
|
728
|
+
std::memset(static_cast<re_alt*>(state)->_map, 0, sizeof(static_cast<re_alt*>(state)->_map));
|
729
|
+
static_cast<re_alt*>(state)->can_be_null = 0;
|
730
|
+
BOOST_REGEX_FALLTHROUGH;
|
731
|
+
case syntax_element_jump:
|
732
|
+
static_cast<re_jump*>(state)->alt.p = getaddress(static_cast<re_jump*>(state)->alt.i, state);
|
733
|
+
BOOST_REGEX_FALLTHROUGH;
|
734
|
+
default:
|
735
|
+
if(state->next.i)
|
736
|
+
state->next.p = getaddress(state->next.i, state);
|
737
|
+
else
|
738
|
+
state->next.p = 0;
|
739
|
+
}
|
740
|
+
state = state->next.p;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
|
744
|
+
template <class charT, class traits>
|
745
|
+
void basic_regex_creator<charT, traits>::fixup_recursions(re_syntax_base* state)
|
746
|
+
{
|
747
|
+
re_syntax_base* base = state;
|
748
|
+
while(state)
|
749
|
+
{
|
750
|
+
switch(state->type)
|
751
|
+
{
|
752
|
+
case syntax_element_assert_backref:
|
753
|
+
{
|
754
|
+
// just check that the index is valid:
|
755
|
+
int idx = static_cast<const re_brace*>(state)->index;
|
756
|
+
if(idx < 0)
|
757
|
+
{
|
758
|
+
idx = -idx-1;
|
759
|
+
if(idx >= hash_value_mask)
|
760
|
+
{
|
761
|
+
idx = m_pdata->get_id(idx);
|
762
|
+
if(idx <= 0)
|
763
|
+
{
|
764
|
+
// check of sub-expression that doesn't exist:
|
765
|
+
if(0 == this->m_pdata->m_status) // update the error code if not already set
|
766
|
+
this->m_pdata->m_status = boost::regex_constants::error_bad_pattern;
|
767
|
+
//
|
768
|
+
// clear the expression, we should be empty:
|
769
|
+
//
|
770
|
+
this->m_pdata->m_expression = 0;
|
771
|
+
this->m_pdata->m_expression_len = 0;
|
772
|
+
//
|
773
|
+
// and throw if required:
|
774
|
+
//
|
775
|
+
if(0 == (this->flags() & regex_constants::no_except))
|
776
|
+
{
|
777
|
+
std::string message = "Encountered a forward reference to a marked sub-expression that does not exist.";
|
778
|
+
boost::regex_error e(message, boost::regex_constants::error_bad_pattern, 0);
|
779
|
+
e.raise();
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}
|
783
|
+
}
|
784
|
+
}
|
785
|
+
break;
|
786
|
+
case syntax_element_recurse:
|
787
|
+
{
|
788
|
+
bool ok = false;
|
789
|
+
re_syntax_base* p = base;
|
790
|
+
std::ptrdiff_t idx = static_cast<re_jump*>(state)->alt.i;
|
791
|
+
if(idx >= hash_value_mask)
|
792
|
+
{
|
793
|
+
//
|
794
|
+
// There may be more than one capture group with this hash, just do what Perl
|
795
|
+
// does and recurse to the leftmost:
|
796
|
+
//
|
797
|
+
idx = m_pdata->get_id(static_cast<int>(idx));
|
798
|
+
}
|
799
|
+
if(idx < 0)
|
800
|
+
{
|
801
|
+
ok = false;
|
802
|
+
}
|
803
|
+
else
|
804
|
+
{
|
805
|
+
while(p)
|
806
|
+
{
|
807
|
+
if((p->type == syntax_element_startmark) && (static_cast<re_brace*>(p)->index == idx))
|
808
|
+
{
|
809
|
+
//
|
810
|
+
// We've found the target of the recursion, set the jump target:
|
811
|
+
//
|
812
|
+
static_cast<re_jump*>(state)->alt.p = p;
|
813
|
+
ok = true;
|
814
|
+
//
|
815
|
+
// Now scan the target for nested repeats:
|
816
|
+
//
|
817
|
+
p = p->next.p;
|
818
|
+
int next_rep_id = 0;
|
819
|
+
while(p)
|
820
|
+
{
|
821
|
+
switch(p->type)
|
822
|
+
{
|
823
|
+
case syntax_element_rep:
|
824
|
+
case syntax_element_dot_rep:
|
825
|
+
case syntax_element_char_rep:
|
826
|
+
case syntax_element_short_set_rep:
|
827
|
+
case syntax_element_long_set_rep:
|
828
|
+
next_rep_id = static_cast<re_repeat*>(p)->state_id;
|
829
|
+
break;
|
830
|
+
case syntax_element_endmark:
|
831
|
+
if(static_cast<const re_brace*>(p)->index == idx)
|
832
|
+
next_rep_id = -1;
|
833
|
+
break;
|
834
|
+
default:
|
835
|
+
break;
|
836
|
+
}
|
837
|
+
if(next_rep_id)
|
838
|
+
break;
|
839
|
+
p = p->next.p;
|
840
|
+
}
|
841
|
+
if(next_rep_id > 0)
|
842
|
+
{
|
843
|
+
static_cast<re_recurse*>(state)->state_id = next_rep_id - 1;
|
844
|
+
}
|
845
|
+
|
846
|
+
break;
|
847
|
+
}
|
848
|
+
p = p->next.p;
|
849
|
+
}
|
850
|
+
}
|
851
|
+
if(!ok)
|
852
|
+
{
|
853
|
+
// recursion to sub-expression that doesn't exist:
|
854
|
+
if(0 == this->m_pdata->m_status) // update the error code if not already set
|
855
|
+
this->m_pdata->m_status = boost::regex_constants::error_bad_pattern;
|
856
|
+
//
|
857
|
+
// clear the expression, we should be empty:
|
858
|
+
//
|
859
|
+
this->m_pdata->m_expression = 0;
|
860
|
+
this->m_pdata->m_expression_len = 0;
|
861
|
+
//
|
862
|
+
// and throw if required:
|
863
|
+
//
|
864
|
+
if(0 == (this->flags() & regex_constants::no_except))
|
865
|
+
{
|
866
|
+
std::string message = "Encountered a forward reference to a recursive sub-expression that does not exist.";
|
867
|
+
boost::regex_error e(message, boost::regex_constants::error_bad_pattern, 0);
|
868
|
+
e.raise();
|
869
|
+
}
|
870
|
+
}
|
871
|
+
}
|
872
|
+
break;
|
873
|
+
default:
|
874
|
+
break;
|
875
|
+
}
|
876
|
+
state = state->next.p;
|
877
|
+
}
|
878
|
+
}
|
879
|
+
|
880
|
+
template <class charT, class traits>
|
881
|
+
void basic_regex_creator<charT, traits>::create_startmaps(re_syntax_base* state)
|
882
|
+
{
|
883
|
+
// non-recursive implementation:
|
884
|
+
// create the last map in the machine first, so that earlier maps
|
885
|
+
// can make use of the result...
|
886
|
+
//
|
887
|
+
// This was originally a recursive implementation, but that caused stack
|
888
|
+
// overflows with complex expressions on small stacks (think COM+).
|
889
|
+
|
890
|
+
// start by saving the case setting:
|
891
|
+
bool l_icase = m_icase;
|
892
|
+
std::vector<std::pair<bool, re_syntax_base*> > v;
|
893
|
+
|
894
|
+
while(state)
|
895
|
+
{
|
896
|
+
switch(state->type)
|
897
|
+
{
|
898
|
+
case syntax_element_toggle_case:
|
899
|
+
// we need to track case changes here:
|
900
|
+
m_icase = static_cast<re_case*>(state)->icase;
|
901
|
+
state = state->next.p;
|
902
|
+
continue;
|
903
|
+
case syntax_element_alt:
|
904
|
+
case syntax_element_rep:
|
905
|
+
case syntax_element_dot_rep:
|
906
|
+
case syntax_element_char_rep:
|
907
|
+
case syntax_element_short_set_rep:
|
908
|
+
case syntax_element_long_set_rep:
|
909
|
+
// just push the state onto our stack for now:
|
910
|
+
v.push_back(std::pair<bool, re_syntax_base*>(m_icase, state));
|
911
|
+
state = state->next.p;
|
912
|
+
break;
|
913
|
+
case syntax_element_backstep:
|
914
|
+
// we need to calculate how big the backstep is:
|
915
|
+
static_cast<re_brace*>(state)->index
|
916
|
+
= this->calculate_backstep(state->next.p);
|
917
|
+
if(static_cast<re_brace*>(state)->index < 0)
|
918
|
+
{
|
919
|
+
// Oops error:
|
920
|
+
if(0 == this->m_pdata->m_status) // update the error code if not already set
|
921
|
+
this->m_pdata->m_status = boost::regex_constants::error_bad_pattern;
|
922
|
+
//
|
923
|
+
// clear the expression, we should be empty:
|
924
|
+
//
|
925
|
+
this->m_pdata->m_expression = 0;
|
926
|
+
this->m_pdata->m_expression_len = 0;
|
927
|
+
//
|
928
|
+
// and throw if required:
|
929
|
+
//
|
930
|
+
if(0 == (this->flags() & regex_constants::no_except))
|
931
|
+
{
|
932
|
+
std::string message = "Invalid lookbehind assertion encountered in the regular expression.";
|
933
|
+
boost::regex_error e(message, boost::regex_constants::error_bad_pattern, 0);
|
934
|
+
e.raise();
|
935
|
+
}
|
936
|
+
}
|
937
|
+
BOOST_REGEX_FALLTHROUGH;
|
938
|
+
default:
|
939
|
+
state = state->next.p;
|
940
|
+
}
|
941
|
+
}
|
942
|
+
|
943
|
+
// now work through our list, building all the maps as we go:
|
944
|
+
while(!v.empty())
|
945
|
+
{
|
946
|
+
// Initialize m_recursion_checks if we need it:
|
947
|
+
if(m_has_recursions)
|
948
|
+
m_recursion_checks.assign(1 + m_pdata->m_mark_count, 0u);
|
949
|
+
|
950
|
+
const std::pair<bool, re_syntax_base*>& p = v.back();
|
951
|
+
m_icase = p.first;
|
952
|
+
state = p.second;
|
953
|
+
v.pop_back();
|
954
|
+
|
955
|
+
// Build maps:
|
956
|
+
m_bad_repeats = 0;
|
957
|
+
create_startmap(state->next.p, static_cast<re_alt*>(state)->_map, &static_cast<re_alt*>(state)->can_be_null, mask_take);
|
958
|
+
m_bad_repeats = 0;
|
959
|
+
|
960
|
+
if(m_has_recursions)
|
961
|
+
m_recursion_checks.assign(1 + m_pdata->m_mark_count, 0u);
|
962
|
+
create_startmap(static_cast<re_alt*>(state)->alt.p, static_cast<re_alt*>(state)->_map, &static_cast<re_alt*>(state)->can_be_null, mask_skip);
|
963
|
+
// adjust the type of the state to allow for faster matching:
|
964
|
+
state->type = this->get_repeat_type(state);
|
965
|
+
}
|
966
|
+
// restore case sensitivity:
|
967
|
+
m_icase = l_icase;
|
968
|
+
}
|
969
|
+
|
970
|
+
template <class charT, class traits>
|
971
|
+
int basic_regex_creator<charT, traits>::calculate_backstep(re_syntax_base* state)
|
972
|
+
{
|
973
|
+
typedef typename traits::char_class_type m_type;
|
974
|
+
int result = 0;
|
975
|
+
while(state)
|
976
|
+
{
|
977
|
+
switch(state->type)
|
978
|
+
{
|
979
|
+
case syntax_element_startmark:
|
980
|
+
if((static_cast<re_brace*>(state)->index == -1)
|
981
|
+
|| (static_cast<re_brace*>(state)->index == -2))
|
982
|
+
{
|
983
|
+
state = static_cast<re_jump*>(state->next.p)->alt.p->next.p;
|
984
|
+
continue;
|
985
|
+
}
|
986
|
+
else if(static_cast<re_brace*>(state)->index == -3)
|
987
|
+
{
|
988
|
+
state = state->next.p->next.p;
|
989
|
+
continue;
|
990
|
+
}
|
991
|
+
break;
|
992
|
+
case syntax_element_endmark:
|
993
|
+
if((static_cast<re_brace*>(state)->index == -1)
|
994
|
+
|| (static_cast<re_brace*>(state)->index == -2))
|
995
|
+
return result;
|
996
|
+
break;
|
997
|
+
case syntax_element_literal:
|
998
|
+
result += static_cast<re_literal*>(state)->length;
|
999
|
+
break;
|
1000
|
+
case syntax_element_wild:
|
1001
|
+
case syntax_element_set:
|
1002
|
+
result += 1;
|
1003
|
+
break;
|
1004
|
+
case syntax_element_dot_rep:
|
1005
|
+
case syntax_element_char_rep:
|
1006
|
+
case syntax_element_short_set_rep:
|
1007
|
+
case syntax_element_backref:
|
1008
|
+
case syntax_element_rep:
|
1009
|
+
case syntax_element_combining:
|
1010
|
+
case syntax_element_long_set_rep:
|
1011
|
+
case syntax_element_backstep:
|
1012
|
+
{
|
1013
|
+
re_repeat* rep = static_cast<re_repeat *>(state);
|
1014
|
+
// adjust the type of the state to allow for faster matching:
|
1015
|
+
state->type = this->get_repeat_type(state);
|
1016
|
+
if((state->type == syntax_element_dot_rep)
|
1017
|
+
|| (state->type == syntax_element_char_rep)
|
1018
|
+
|| (state->type == syntax_element_short_set_rep))
|
1019
|
+
{
|
1020
|
+
if(rep->max != rep->min)
|
1021
|
+
return -1;
|
1022
|
+
if (static_cast<std::size_t>((std::numeric_limits<int>::max)() - result) < rep->min)
|
1023
|
+
return -1; // protection against overflow, we can't calculate a backstep in this case and the expression is probably ill-formed.
|
1024
|
+
result += static_cast<int>(rep->min);
|
1025
|
+
state = rep->alt.p;
|
1026
|
+
continue;
|
1027
|
+
}
|
1028
|
+
else if(state->type == syntax_element_long_set_rep)
|
1029
|
+
{
|
1030
|
+
BOOST_REGEX_ASSERT(rep->next.p->type == syntax_element_long_set);
|
1031
|
+
if(static_cast<re_set_long<m_type>*>(rep->next.p)->singleton == 0)
|
1032
|
+
return -1;
|
1033
|
+
if(rep->max != rep->min)
|
1034
|
+
return -1;
|
1035
|
+
result += static_cast<int>(rep->min);
|
1036
|
+
state = rep->alt.p;
|
1037
|
+
continue;
|
1038
|
+
}
|
1039
|
+
}
|
1040
|
+
return -1;
|
1041
|
+
case syntax_element_long_set:
|
1042
|
+
if(static_cast<re_set_long<m_type>*>(state)->singleton == 0)
|
1043
|
+
return -1;
|
1044
|
+
result += 1;
|
1045
|
+
break;
|
1046
|
+
case syntax_element_jump:
|
1047
|
+
state = static_cast<re_jump*>(state)->alt.p;
|
1048
|
+
continue;
|
1049
|
+
case syntax_element_alt:
|
1050
|
+
{
|
1051
|
+
int r1 = calculate_backstep(state->next.p);
|
1052
|
+
int r2 = calculate_backstep(static_cast<re_alt*>(state)->alt.p);
|
1053
|
+
if((r1 < 0) || (r1 != r2))
|
1054
|
+
return -1;
|
1055
|
+
return result + r1;
|
1056
|
+
}
|
1057
|
+
default:
|
1058
|
+
break;
|
1059
|
+
}
|
1060
|
+
state = state->next.p;
|
1061
|
+
}
|
1062
|
+
return -1;
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
struct recursion_saver
|
1066
|
+
{
|
1067
|
+
std::vector<unsigned char> saved_state;
|
1068
|
+
std::vector<unsigned char>* state;
|
1069
|
+
recursion_saver(std::vector<unsigned char>* p) : saved_state(*p), state(p) {}
|
1070
|
+
~recursion_saver()
|
1071
|
+
{
|
1072
|
+
state->swap(saved_state);
|
1073
|
+
}
|
1074
|
+
};
|
1075
|
+
|
1076
|
+
template <class charT, class traits>
|
1077
|
+
void basic_regex_creator<charT, traits>::create_startmap(re_syntax_base* state, unsigned char* l_map, unsigned int* pnull, unsigned char mask)
|
1078
|
+
{
|
1079
|
+
recursion_saver saved_recursions(&m_recursion_checks);
|
1080
|
+
int not_last_jump = 1;
|
1081
|
+
re_syntax_base* recursion_start = 0;
|
1082
|
+
int recursion_sub = 0;
|
1083
|
+
re_syntax_base* recursion_restart = 0;
|
1084
|
+
|
1085
|
+
// track case sensitivity:
|
1086
|
+
bool l_icase = m_icase;
|
1087
|
+
|
1088
|
+
while(state)
|
1089
|
+
{
|
1090
|
+
switch(state->type)
|
1091
|
+
{
|
1092
|
+
case syntax_element_toggle_case:
|
1093
|
+
l_icase = static_cast<re_case*>(state)->icase;
|
1094
|
+
state = state->next.p;
|
1095
|
+
break;
|
1096
|
+
case syntax_element_literal:
|
1097
|
+
{
|
1098
|
+
// don't set anything in *pnull, set each element in l_map
|
1099
|
+
// that could match the first character in the literal:
|
1100
|
+
if(l_map)
|
1101
|
+
{
|
1102
|
+
l_map[0] |= mask_init;
|
1103
|
+
charT first_char = *static_cast<charT*>(static_cast<void*>(static_cast<re_literal*>(state) + 1));
|
1104
|
+
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
1105
|
+
{
|
1106
|
+
if(m_traits.translate(static_cast<charT>(i), l_icase) == first_char)
|
1107
|
+
l_map[i] |= mask;
|
1108
|
+
}
|
1109
|
+
}
|
1110
|
+
return;
|
1111
|
+
}
|
1112
|
+
case syntax_element_end_line:
|
1113
|
+
{
|
1114
|
+
// next character must be a line separator (if there is one):
|
1115
|
+
if(l_map)
|
1116
|
+
{
|
1117
|
+
l_map[0] |= mask_init;
|
1118
|
+
l_map[static_cast<unsigned>('\n')] |= mask;
|
1119
|
+
l_map[static_cast<unsigned>('\r')] |= mask;
|
1120
|
+
l_map[static_cast<unsigned>('\f')] |= mask;
|
1121
|
+
l_map[0x85] |= mask;
|
1122
|
+
}
|
1123
|
+
// now figure out if we can match a NULL string at this point:
|
1124
|
+
if(pnull)
|
1125
|
+
create_startmap(state->next.p, 0, pnull, mask);
|
1126
|
+
return;
|
1127
|
+
}
|
1128
|
+
case syntax_element_recurse:
|
1129
|
+
{
|
1130
|
+
BOOST_REGEX_ASSERT(static_cast<const re_jump*>(state)->alt.p->type == syntax_element_startmark);
|
1131
|
+
recursion_sub = static_cast<re_brace*>(static_cast<const re_jump*>(state)->alt.p)->index;
|
1132
|
+
if(m_recursion_checks[recursion_sub] & 1u)
|
1133
|
+
{
|
1134
|
+
// Infinite recursion!!
|
1135
|
+
if(0 == this->m_pdata->m_status) // update the error code if not already set
|
1136
|
+
this->m_pdata->m_status = boost::regex_constants::error_bad_pattern;
|
1137
|
+
//
|
1138
|
+
// clear the expression, we should be empty:
|
1139
|
+
//
|
1140
|
+
this->m_pdata->m_expression = 0;
|
1141
|
+
this->m_pdata->m_expression_len = 0;
|
1142
|
+
//
|
1143
|
+
// and throw if required:
|
1144
|
+
//
|
1145
|
+
if(0 == (this->flags() & regex_constants::no_except))
|
1146
|
+
{
|
1147
|
+
std::string message = "Encountered an infinite recursion.";
|
1148
|
+
boost::regex_error e(message, boost::regex_constants::error_bad_pattern, 0);
|
1149
|
+
e.raise();
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
else if(recursion_start == 0)
|
1153
|
+
{
|
1154
|
+
recursion_start = state;
|
1155
|
+
recursion_restart = state->next.p;
|
1156
|
+
state = static_cast<re_jump*>(state)->alt.p;
|
1157
|
+
m_recursion_checks[recursion_sub] |= 1u;
|
1158
|
+
break;
|
1159
|
+
}
|
1160
|
+
m_recursion_checks[recursion_sub] |= 1u;
|
1161
|
+
// can't handle nested recursion here...
|
1162
|
+
BOOST_REGEX_FALLTHROUGH;
|
1163
|
+
}
|
1164
|
+
case syntax_element_backref:
|
1165
|
+
// can be null, and any character can match:
|
1166
|
+
if(pnull)
|
1167
|
+
*pnull |= mask;
|
1168
|
+
BOOST_REGEX_FALLTHROUGH;
|
1169
|
+
case syntax_element_wild:
|
1170
|
+
{
|
1171
|
+
// can't be null, any character can match:
|
1172
|
+
set_all_masks(l_map, mask);
|
1173
|
+
return;
|
1174
|
+
}
|
1175
|
+
case syntax_element_accept:
|
1176
|
+
case syntax_element_match:
|
1177
|
+
{
|
1178
|
+
// must be null, any character can match:
|
1179
|
+
set_all_masks(l_map, mask);
|
1180
|
+
if(pnull)
|
1181
|
+
*pnull |= mask;
|
1182
|
+
return;
|
1183
|
+
}
|
1184
|
+
case syntax_element_word_start:
|
1185
|
+
{
|
1186
|
+
// recurse, then AND with all the word characters:
|
1187
|
+
create_startmap(state->next.p, l_map, pnull, mask);
|
1188
|
+
if(l_map)
|
1189
|
+
{
|
1190
|
+
l_map[0] |= mask_init;
|
1191
|
+
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
1192
|
+
{
|
1193
|
+
if(!m_traits.isctype(static_cast<charT>(i), m_word_mask))
|
1194
|
+
l_map[i] &= static_cast<unsigned char>(~mask);
|
1195
|
+
}
|
1196
|
+
}
|
1197
|
+
return;
|
1198
|
+
}
|
1199
|
+
case syntax_element_word_end:
|
1200
|
+
{
|
1201
|
+
// recurse, then AND with all the word characters:
|
1202
|
+
create_startmap(state->next.p, l_map, pnull, mask);
|
1203
|
+
if(l_map)
|
1204
|
+
{
|
1205
|
+
l_map[0] |= mask_init;
|
1206
|
+
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
1207
|
+
{
|
1208
|
+
if(m_traits.isctype(static_cast<charT>(i), m_word_mask))
|
1209
|
+
l_map[i] &= static_cast<unsigned char>(~mask);
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
return;
|
1213
|
+
}
|
1214
|
+
case syntax_element_buffer_end:
|
1215
|
+
{
|
1216
|
+
// we *must be null* :
|
1217
|
+
if(pnull)
|
1218
|
+
*pnull |= mask;
|
1219
|
+
return;
|
1220
|
+
}
|
1221
|
+
case syntax_element_long_set:
|
1222
|
+
if(l_map)
|
1223
|
+
{
|
1224
|
+
typedef typename traits::char_class_type m_type;
|
1225
|
+
if(static_cast<re_set_long<m_type>*>(state)->singleton)
|
1226
|
+
{
|
1227
|
+
l_map[0] |= mask_init;
|
1228
|
+
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
1229
|
+
{
|
1230
|
+
charT c = static_cast<charT>(i);
|
1231
|
+
if(&c != re_is_set_member(&c, &c + 1, static_cast<re_set_long<m_type>*>(state), *m_pdata, l_icase))
|
1232
|
+
l_map[i] |= mask;
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
else
|
1236
|
+
set_all_masks(l_map, mask);
|
1237
|
+
}
|
1238
|
+
return;
|
1239
|
+
case syntax_element_set:
|
1240
|
+
if(l_map)
|
1241
|
+
{
|
1242
|
+
l_map[0] |= mask_init;
|
1243
|
+
for(unsigned int i = 0; i < (1u << CHAR_BIT); ++i)
|
1244
|
+
{
|
1245
|
+
if(static_cast<re_set*>(state)->_map[
|
1246
|
+
static_cast<unsigned char>(m_traits.translate(static_cast<charT>(i), l_icase))])
|
1247
|
+
l_map[i] |= mask;
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
return;
|
1251
|
+
case syntax_element_jump:
|
1252
|
+
// take the jump:
|
1253
|
+
state = static_cast<re_alt*>(state)->alt.p;
|
1254
|
+
not_last_jump = -1;
|
1255
|
+
break;
|
1256
|
+
case syntax_element_alt:
|
1257
|
+
case syntax_element_rep:
|
1258
|
+
case syntax_element_dot_rep:
|
1259
|
+
case syntax_element_char_rep:
|
1260
|
+
case syntax_element_short_set_rep:
|
1261
|
+
case syntax_element_long_set_rep:
|
1262
|
+
{
|
1263
|
+
re_alt* rep = static_cast<re_alt*>(state);
|
1264
|
+
if(rep->_map[0] & mask_init)
|
1265
|
+
{
|
1266
|
+
if(l_map)
|
1267
|
+
{
|
1268
|
+
// copy previous results:
|
1269
|
+
l_map[0] |= mask_init;
|
1270
|
+
for(unsigned int i = 0; i <= UCHAR_MAX; ++i)
|
1271
|
+
{
|
1272
|
+
if(rep->_map[i] & mask_any)
|
1273
|
+
l_map[i] |= mask;
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
if(pnull)
|
1277
|
+
{
|
1278
|
+
if(rep->can_be_null & mask_any)
|
1279
|
+
*pnull |= mask;
|
1280
|
+
}
|
1281
|
+
}
|
1282
|
+
else
|
1283
|
+
{
|
1284
|
+
// we haven't created a startmap for this alternative yet
|
1285
|
+
// so take the union of the two options:
|
1286
|
+
if(is_bad_repeat(state))
|
1287
|
+
{
|
1288
|
+
set_all_masks(l_map, mask);
|
1289
|
+
if(pnull)
|
1290
|
+
*pnull |= mask;
|
1291
|
+
return;
|
1292
|
+
}
|
1293
|
+
set_bad_repeat(state);
|
1294
|
+
create_startmap(state->next.p, l_map, pnull, mask);
|
1295
|
+
if((state->type == syntax_element_alt)
|
1296
|
+
|| (static_cast<re_repeat*>(state)->min == 0)
|
1297
|
+
|| (not_last_jump == 0))
|
1298
|
+
create_startmap(rep->alt.p, l_map, pnull, mask);
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
return;
|
1302
|
+
case syntax_element_soft_buffer_end:
|
1303
|
+
// match newline or null:
|
1304
|
+
if(l_map)
|
1305
|
+
{
|
1306
|
+
l_map[0] |= mask_init;
|
1307
|
+
l_map[static_cast<unsigned>('\n')] |= mask;
|
1308
|
+
l_map[static_cast<unsigned>('\r')] |= mask;
|
1309
|
+
}
|
1310
|
+
if(pnull)
|
1311
|
+
*pnull |= mask;
|
1312
|
+
return;
|
1313
|
+
case syntax_element_endmark:
|
1314
|
+
// need to handle independent subs as a special case:
|
1315
|
+
if(static_cast<re_brace*>(state)->index < 0)
|
1316
|
+
{
|
1317
|
+
// can be null, any character can match:
|
1318
|
+
set_all_masks(l_map, mask);
|
1319
|
+
if(pnull)
|
1320
|
+
*pnull |= mask;
|
1321
|
+
return;
|
1322
|
+
}
|
1323
|
+
else if(recursion_start && (recursion_sub != 0) && (recursion_sub == static_cast<re_brace*>(state)->index))
|
1324
|
+
{
|
1325
|
+
// recursion termination:
|
1326
|
+
recursion_start = 0;
|
1327
|
+
state = recursion_restart;
|
1328
|
+
break;
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
//
|
1332
|
+
// Normally we just go to the next state... but if this sub-expression is
|
1333
|
+
// the target of a recursion, then we might be ending a recursion, in which
|
1334
|
+
// case we should check whatever follows that recursion, as well as whatever
|
1335
|
+
// follows this state:
|
1336
|
+
//
|
1337
|
+
if(m_pdata->m_has_recursions && static_cast<re_brace*>(state)->index)
|
1338
|
+
{
|
1339
|
+
bool ok = false;
|
1340
|
+
re_syntax_base* p = m_pdata->m_first_state;
|
1341
|
+
while(p)
|
1342
|
+
{
|
1343
|
+
if(p->type == syntax_element_recurse)
|
1344
|
+
{
|
1345
|
+
re_brace* p2 = static_cast<re_brace*>(static_cast<re_jump*>(p)->alt.p);
|
1346
|
+
if((p2->type == syntax_element_startmark) && (p2->index == static_cast<re_brace*>(state)->index))
|
1347
|
+
{
|
1348
|
+
ok = true;
|
1349
|
+
break;
|
1350
|
+
}
|
1351
|
+
}
|
1352
|
+
p = p->next.p;
|
1353
|
+
}
|
1354
|
+
if(ok && ((m_recursion_checks[static_cast<re_brace*>(state)->index] & 2u) == 0))
|
1355
|
+
{
|
1356
|
+
m_recursion_checks[static_cast<re_brace*>(state)->index] |= 2u;
|
1357
|
+
create_startmap(p->next.p, l_map, pnull, mask);
|
1358
|
+
}
|
1359
|
+
}
|
1360
|
+
state = state->next.p;
|
1361
|
+
break;
|
1362
|
+
|
1363
|
+
case syntax_element_commit:
|
1364
|
+
set_all_masks(l_map, mask);
|
1365
|
+
// Continue scanning so we can figure out whether we can be null:
|
1366
|
+
state = state->next.p;
|
1367
|
+
break;
|
1368
|
+
case syntax_element_startmark:
|
1369
|
+
// need to handle independent subs as a special case:
|
1370
|
+
if(static_cast<re_brace*>(state)->index == -3)
|
1371
|
+
{
|
1372
|
+
state = state->next.p->next.p;
|
1373
|
+
break;
|
1374
|
+
}
|
1375
|
+
BOOST_REGEX_FALLTHROUGH;
|
1376
|
+
default:
|
1377
|
+
state = state->next.p;
|
1378
|
+
}
|
1379
|
+
++not_last_jump;
|
1380
|
+
}
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
template <class charT, class traits>
|
1384
|
+
unsigned basic_regex_creator<charT, traits>::get_restart_type(re_syntax_base* state)
|
1385
|
+
{
|
1386
|
+
//
|
1387
|
+
// find out how the machine starts, so we can optimise the search:
|
1388
|
+
//
|
1389
|
+
while(state)
|
1390
|
+
{
|
1391
|
+
switch(state->type)
|
1392
|
+
{
|
1393
|
+
case syntax_element_startmark:
|
1394
|
+
case syntax_element_endmark:
|
1395
|
+
state = state->next.p;
|
1396
|
+
continue;
|
1397
|
+
case syntax_element_start_line:
|
1398
|
+
return regbase::restart_line;
|
1399
|
+
case syntax_element_word_start:
|
1400
|
+
return regbase::restart_word;
|
1401
|
+
case syntax_element_buffer_start:
|
1402
|
+
return regbase::restart_buf;
|
1403
|
+
case syntax_element_restart_continue:
|
1404
|
+
return regbase::restart_continue;
|
1405
|
+
default:
|
1406
|
+
state = 0;
|
1407
|
+
continue;
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
return regbase::restart_any;
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
template <class charT, class traits>
|
1414
|
+
void basic_regex_creator<charT, traits>::set_all_masks(unsigned char* bits, unsigned char mask)
|
1415
|
+
{
|
1416
|
+
//
|
1417
|
+
// set mask in all of bits elements,
|
1418
|
+
// if bits[0] has mask_init not set then we can
|
1419
|
+
// optimise this to a call to memset:
|
1420
|
+
//
|
1421
|
+
if(bits)
|
1422
|
+
{
|
1423
|
+
if(bits[0] == 0)
|
1424
|
+
(std::memset)(bits, mask, 1u << CHAR_BIT);
|
1425
|
+
else
|
1426
|
+
{
|
1427
|
+
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
|
1428
|
+
bits[i] |= mask;
|
1429
|
+
}
|
1430
|
+
bits[0] |= mask_init;
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
template <class charT, class traits>
|
1435
|
+
bool basic_regex_creator<charT, traits>::is_bad_repeat(re_syntax_base* pt)
|
1436
|
+
{
|
1437
|
+
switch(pt->type)
|
1438
|
+
{
|
1439
|
+
case syntax_element_rep:
|
1440
|
+
case syntax_element_dot_rep:
|
1441
|
+
case syntax_element_char_rep:
|
1442
|
+
case syntax_element_short_set_rep:
|
1443
|
+
case syntax_element_long_set_rep:
|
1444
|
+
{
|
1445
|
+
unsigned state_id = static_cast<re_repeat*>(pt)->state_id;
|
1446
|
+
if(state_id >= sizeof(m_bad_repeats) * CHAR_BIT)
|
1447
|
+
return true; // run out of bits, assume we can't traverse this one.
|
1448
|
+
static const std::uintmax_t one = 1uL;
|
1449
|
+
return m_bad_repeats & (one << state_id);
|
1450
|
+
}
|
1451
|
+
default:
|
1452
|
+
return false;
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
template <class charT, class traits>
|
1457
|
+
void basic_regex_creator<charT, traits>::set_bad_repeat(re_syntax_base* pt)
|
1458
|
+
{
|
1459
|
+
switch(pt->type)
|
1460
|
+
{
|
1461
|
+
case syntax_element_rep:
|
1462
|
+
case syntax_element_dot_rep:
|
1463
|
+
case syntax_element_char_rep:
|
1464
|
+
case syntax_element_short_set_rep:
|
1465
|
+
case syntax_element_long_set_rep:
|
1466
|
+
{
|
1467
|
+
unsigned state_id = static_cast<re_repeat*>(pt)->state_id;
|
1468
|
+
static const std::uintmax_t one = 1uL;
|
1469
|
+
if(state_id <= sizeof(m_bad_repeats) * CHAR_BIT)
|
1470
|
+
m_bad_repeats |= (one << state_id);
|
1471
|
+
}
|
1472
|
+
break;
|
1473
|
+
default:
|
1474
|
+
break;
|
1475
|
+
}
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
template <class charT, class traits>
|
1479
|
+
syntax_element_type basic_regex_creator<charT, traits>::get_repeat_type(re_syntax_base* state)
|
1480
|
+
{
|
1481
|
+
typedef typename traits::char_class_type m_type;
|
1482
|
+
if(state->type == syntax_element_rep)
|
1483
|
+
{
|
1484
|
+
// check to see if we are repeating a single state:
|
1485
|
+
if(state->next.p->next.p->next.p == static_cast<re_alt*>(state)->alt.p)
|
1486
|
+
{
|
1487
|
+
switch(state->next.p->type)
|
1488
|
+
{
|
1489
|
+
case BOOST_REGEX_DETAIL_NS::syntax_element_wild:
|
1490
|
+
return BOOST_REGEX_DETAIL_NS::syntax_element_dot_rep;
|
1491
|
+
case BOOST_REGEX_DETAIL_NS::syntax_element_literal:
|
1492
|
+
return BOOST_REGEX_DETAIL_NS::syntax_element_char_rep;
|
1493
|
+
case BOOST_REGEX_DETAIL_NS::syntax_element_set:
|
1494
|
+
return BOOST_REGEX_DETAIL_NS::syntax_element_short_set_rep;
|
1495
|
+
case BOOST_REGEX_DETAIL_NS::syntax_element_long_set:
|
1496
|
+
if(static_cast<BOOST_REGEX_DETAIL_NS::re_set_long<m_type>*>(state->next.p)->singleton)
|
1497
|
+
return BOOST_REGEX_DETAIL_NS::syntax_element_long_set_rep;
|
1498
|
+
break;
|
1499
|
+
default:
|
1500
|
+
break;
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
}
|
1504
|
+
return state->type;
|
1505
|
+
}
|
1506
|
+
|
1507
|
+
template <class charT, class traits>
|
1508
|
+
void basic_regex_creator<charT, traits>::probe_leading_repeat(re_syntax_base* state)
|
1509
|
+
{
|
1510
|
+
// enumerate our states, and see if we have a leading repeat
|
1511
|
+
// for which failed search restarts can be optimized;
|
1512
|
+
do
|
1513
|
+
{
|
1514
|
+
switch(state->type)
|
1515
|
+
{
|
1516
|
+
case syntax_element_startmark:
|
1517
|
+
if(static_cast<re_brace*>(state)->index >= 0)
|
1518
|
+
{
|
1519
|
+
state = state->next.p;
|
1520
|
+
continue;
|
1521
|
+
}
|
1522
|
+
#ifdef BOOST_REGEX_MSVC
|
1523
|
+
# pragma warning(push)
|
1524
|
+
#pragma warning(disable:6011)
|
1525
|
+
#endif
|
1526
|
+
if((static_cast<re_brace*>(state)->index == -1)
|
1527
|
+
|| (static_cast<re_brace*>(state)->index == -2))
|
1528
|
+
{
|
1529
|
+
// skip past the zero width assertion:
|
1530
|
+
state = static_cast<const re_jump*>(state->next.p)->alt.p->next.p;
|
1531
|
+
continue;
|
1532
|
+
}
|
1533
|
+
#ifdef BOOST_REGEX_MSVC
|
1534
|
+
# pragma warning(pop)
|
1535
|
+
#endif
|
1536
|
+
if(static_cast<re_brace*>(state)->index == -3)
|
1537
|
+
{
|
1538
|
+
// Have to skip the leading jump state:
|
1539
|
+
state = state->next.p->next.p;
|
1540
|
+
continue;
|
1541
|
+
}
|
1542
|
+
return;
|
1543
|
+
case syntax_element_endmark:
|
1544
|
+
case syntax_element_start_line:
|
1545
|
+
case syntax_element_end_line:
|
1546
|
+
case syntax_element_word_boundary:
|
1547
|
+
case syntax_element_within_word:
|
1548
|
+
case syntax_element_word_start:
|
1549
|
+
case syntax_element_word_end:
|
1550
|
+
case syntax_element_buffer_start:
|
1551
|
+
case syntax_element_buffer_end:
|
1552
|
+
case syntax_element_restart_continue:
|
1553
|
+
state = state->next.p;
|
1554
|
+
break;
|
1555
|
+
case syntax_element_dot_rep:
|
1556
|
+
case syntax_element_char_rep:
|
1557
|
+
case syntax_element_short_set_rep:
|
1558
|
+
case syntax_element_long_set_rep:
|
1559
|
+
if(this->m_has_backrefs == 0)
|
1560
|
+
static_cast<re_repeat*>(state)->leading = true;
|
1561
|
+
BOOST_REGEX_FALLTHROUGH;
|
1562
|
+
default:
|
1563
|
+
return;
|
1564
|
+
}
|
1565
|
+
}while(state);
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
} // namespace BOOST_REGEX_DETAIL_NS
|
1569
|
+
|
1570
|
+
} // namespace boost
|
1571
|
+
|
1572
|
+
#ifdef BOOST_REGEX_MSVC
|
1573
|
+
# pragma warning(pop)
|
1574
|
+
#endif
|
1575
|
+
|
1576
|
+
#endif
|