passenger 6.0.6 → 6.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +391 -1
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +20 -0
- data/README.md +4 -11
- data/bin/passenger-install-nginx-module +5 -4
- data/bin/passenger-memory-stats +65 -12
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +6 -5
- data/build/integration_tests.rb +8 -7
- data/build/packaging.rb +4 -2
- data/build/ruby_tests.rb +1 -1
- data/build/support/cxx_dependency_map.rb +156 -54
- data/build/test_basics.rb +8 -5
- data/dev/copy_boost_headers +140 -78
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/nginx_version_sha256 +72 -0
- data/dev/websocketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/passenger.gemspec +1 -1
- data/resources/mime.types +1 -0
- data/resources/release.txt +1 -0
- data/resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb +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/GetHelpView.jsx +1 -1
- 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/global.erb +4 -0
- data/resources/templates/standalone/rails_asset_pipeline.erb +1 -1
- data/resources/templates/standalone/server.erb +1 -0
- data/src/agent/AgentMain.cpp +2 -8
- data/src/agent/Core/AdminPanelConnector.h +3 -4
- data/src/agent/Core/ApiServer.h +36 -1
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +2 -2
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +2 -0
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -1
- data/src/agent/Core/ApplicationPool/Options.h +16 -2
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +8 -1
- data/src/agent/Core/ApplicationPool/Pool.h +10 -2
- data/src/agent/Core/Config.h +9 -4
- data/src/agent/Core/Controller/AppResponse.h +0 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +12 -4
- data/src/agent/Core/Controller/InitRequest.cpp +4 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller/SendRequest.cpp +2 -2
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Core/CoreMain.cpp +1 -0
- data/src/agent/Core/OptionParser.h +4 -0
- data/src/agent/Core/ResponseCache.h +3 -2
- data/src/agent/Core/SecurityUpdateChecker.h +5 -5
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +20 -0
- data/src/agent/Core/SpawningKit/Config.h +24 -0
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +5 -5
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +4 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +19 -4
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/Spawner.h +3 -0
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +2 -2
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/ExecHelper/ExecHelperMain.cpp +10 -12
- data/src/agent/FileReadHelper/FileReadHelperMain.cpp +7 -10
- data/src/agent/MainFunctions.h +38 -0
- data/src/agent/Shared/ApiServerUtils.h +4 -3
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -1
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +28 -3
- data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -0
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +6 -4
- data/src/agent/Watchdog/ApiServer.h +1 -1
- data/src/agent/Watchdog/Config.h +3 -1
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +10 -13
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +42 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +15 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +44 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +13 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +9 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +37 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +21 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +53 -2
- data/src/apache2_module/Hooks.cpp +27 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +5 -1
- data/src/cxx_supportlib/ConfigKit/Common.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
- data/src/cxx_supportlib/Constants.h +4 -3
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/FileTools/FileManip.cpp +10 -1
- data/src/cxx_supportlib/FileTools/FileManip.h +16 -0
- data/src/cxx_supportlib/FileTools/PathManip.cpp +10 -1
- data/src/cxx_supportlib/Hooks.h +1 -0
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +6 -10
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +3 -3
- data/src/cxx_supportlib/JsonTools/CBindings.cpp +0 -2
- data/src/cxx_supportlib/JsonTools/JsonUtils.h +4 -4
- data/src/cxx_supportlib/LoggingKit/Context.h +16 -21
- data/src/cxx_supportlib/LoggingKit/Forward.h +0 -2
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +36 -72
- data/src/cxx_supportlib/MemoryKit/mbuf.cpp +12 -4
- data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.cpp +1 -1
- data/src/cxx_supportlib/ResourceLocator.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +3 -1
- data/src/cxx_supportlib/SecurityKit/Crypto.cpp +3 -94
- data/src/cxx_supportlib/SecurityKit/Crypto.h +0 -8
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Context.h +6 -0
- data/src/cxx_supportlib/ServerKit/Errors.h +3 -2
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +99 -64
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +4 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +2 -2
- data/src/cxx_supportlib/ServerKit/HttpServer.h +3 -2
- data/src/cxx_supportlib/ServerKit/llerrors.h +84 -0
- data/src/cxx_supportlib/ServerKit/llhttp.c +10168 -0
- data/src/cxx_supportlib/ServerKit/llhttp.h +903 -0
- data/src/cxx_supportlib/ServerKit/llhttp_api.c +510 -0
- data/src/cxx_supportlib/ServerKit/llhttp_http.c +170 -0
- data/src/cxx_supportlib/ServerKit/llversion.h +12 -0
- data/src/cxx_supportlib/ServerKit/url_parser.c +574 -0
- data/src/cxx_supportlib/ServerKit/url_parser.h +74 -0
- data/src/cxx_supportlib/StaticString.h +5 -1
- data/src/cxx_supportlib/StrIntTools/DateParsing.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.cpp +12 -3
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +5 -0
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +2 -2
- data/src/cxx_supportlib/SystemTools/UserDatabase.cpp +14 -14
- data/src/cxx_supportlib/SystemTools/UserDatabase.h +6 -10
- data/src/cxx_supportlib/Utils/AnsiColorConstants.h +11 -9
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/Utils.cpp +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +9 -12
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
- data/src/cxx_supportlib/oxt/implementation.cpp +1 -2
- data/src/cxx_supportlib/oxt/system_calls.cpp +1 -1
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/compare.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +3 -1
- 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/detail/finder.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/trim.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_format.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/iter_find.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/split.hpp +12 -0
- 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/asio/any_completion_executor.hpp +338 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +824 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +353 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +115 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +119 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +828 -107
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +144 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +649 -327
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +205 -123
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +826 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +691 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +655 -329
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +628 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +376 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +413 -114
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +325 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +427 -248
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +1239 -517
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +22 -121
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +16 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +746 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +494 -252
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +13 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +250 -131
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +624 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +546 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +157 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +551 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +918 -336
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +320 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +55 -39
- 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 +61 -47
- 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 +55 -39
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +247 -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 +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +525 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +270 -150
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +154 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +717 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +2 -4
- 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 +24 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +265 -370
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +109 -0
- 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 +300 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -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 +2 -23
- 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 +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +254 -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 +9 -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 +667 -702
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +40 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -23
- 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 +69 -12
- 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 +65 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +76 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +75 -16
- 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 +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +6 -6
- 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 +3 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +5 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +9 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +66 -76
- 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_tracking.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +24 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +452 -36
- 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 +601 -84
- 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 +20 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +47 -7
- 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 +49 -7
- 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 +11 -6
- 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/posix_serial_port_service.ipp +170 -0
- 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 +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +32 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +39 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +110 -6
- 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 +74 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +2 -3
- 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 +185 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +817 -353
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +209 -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 +8 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +34 -9
- 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 +17 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_defer.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_dispatch.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_post.hpp +209 -0
- 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 +179 -0
- 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 +116 -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 +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +142 -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 +631 -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 +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +85 -52
- 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/limits.hpp +1 -6
- 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/memory.hpp +94 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +45 -0
- 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 +7 -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 +63 -52
- 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/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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +30 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +15 -2
- 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/posix_serial_port_service.hpp +251 -0
- 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 +60 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +233 -55
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +49 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +139 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +59 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +81 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +81 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +65 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +87 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +81 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +198 -91
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +314 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +49 -8
- 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 +8 -2
- 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 +17 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +34 -16
- 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 +34 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +37 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +36 -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 +2 -3
- 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 +11 -7
- 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 +90 -15
- 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 +71 -33
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +36 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +8 -6
- 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 +7 -9
- 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 +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +154 -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 +6 -2
- 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 +132 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +13 -8
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +85 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +7 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +136 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +1935 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +1362 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +1082 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +192 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +118 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +1004 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +186 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +755 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +753 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +3 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +66 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +239 -47
- 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 +134 -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 +515 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +515 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +154 -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 +138 -177
- 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 +79 -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 +363 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +224 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +194 -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 +623 -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 +178 -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 +1176 -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 +790 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +257 -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 +459 -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 +191 -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 +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +4 -4
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +136 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +247 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +1198 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +160 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +154 -181
- 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 +451 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +328 -379
- 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 +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +7 -37
- 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 +72 -141
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +220 -132
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +663 -325
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +248 -260
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2114 -675
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +252 -0
- 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 +1183 -318
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +26 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +115 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +198 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +74 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +186 -416
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +586 -321
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +221 -242
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +699 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +82 -70
- 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 +52 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +124 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +13 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +16 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +114 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +13 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +15 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +46 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +331 -239
- 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 +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +10 -14
- 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 +7 -7
- 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 +23 -22
- 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 +11 -15
- 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 +27 -35
- 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 +6 -4
- 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 +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +17 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +14 -18
- 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 +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +63 -0
- 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 +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +14 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +10 -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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +29 -105
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +273 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +283 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +5 -612
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +3 -326
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +149 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +581 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +315 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +672 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +173 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1767 -469
- 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 +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +346 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +437 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +347 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +3 -736
- 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 +3 -422
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +641 -105
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +7 -3
- 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 +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +65 -10
- 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 +75 -71
- 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 +5 -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 +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +17 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +89 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +21 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +92 -0
- 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 +188 -73
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +421 -141
- 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 +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +311 -40
- 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 +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +570 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +269 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +773 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +102 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +118 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +2 -2
- 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 +82 -43
- 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 +163 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +2 -6
- 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/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +656 -170
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +174 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +66 -28
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +170 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +2 -191
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/aligned_variable.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +1265 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1228 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +102 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +43 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/capabilities.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_alpha.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_arm.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_ppc.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_sparc.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_x86.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_msvc_arm.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_msvc_x86.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_atomic.hpp +100 -75
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sync.hpp +0 -7
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +57 -64
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +1121 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +1909 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp +867 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_arm.hpp +1417 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +1218 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp +215 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +1110 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +828 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +903 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_cas_based.hpp +94 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +306 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_sync.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_linux_arm.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extending_cas_based_arithmetic.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +22 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +13 -10
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +59 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +1060 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +1330 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +363 -355
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +167 -163
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +232 -102
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +9 -17
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +119 -92
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/float_sizes.hpp +122 -35
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/footer.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +13 -8
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +66 -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/header.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/integral_conversions.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +35 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch32_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch64_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +8 -79
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_common.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +30 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +80 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +51 -0
- 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_floating_point.hpp +3 -2
- 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/is_trivially_copyable.hpp +45 -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_capabilities.hpp +363 -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_dragonfly_umtx.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_freebsd_umtx.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_futex.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations_fwd.hpp +43 -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_dragonfly_umtx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +96 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +7 -18
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +4 -49
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +237 -1767
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_cc.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_mf2_cc.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_mf_cc.hpp +405 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/integer_sequence.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/tuple_for_each.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +143 -279
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +24 -259
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +33 -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/inlined/posix/chrono.hpp +26 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/is_evenly_divisible_by.hpp +1 -7
- 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 +10 -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 +3 -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/system_clocks.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +113 -111
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +26 -22
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +27 -33
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.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/abi_prefix.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/abi_suffix.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +212 -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 +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx23.hpp +41 -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 +73 -22
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +33 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +160 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +37 -12
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +35 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +47 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_stdlib_config.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +291 -6
- 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/vxworks.hpp +63 -74
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/requires_threads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +74 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +140 -7
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/modena.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/msl.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/roguewave.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/sgi.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/stlport.hpp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/vacpp.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/xlcpp_zos.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/user.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +34 -21
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +39 -32
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +55 -32
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +121 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +409 -305
- 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 +186 -139
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +14 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_list.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_slist.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +27 -23
- 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_or_allocator_rebind.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +21 -116
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +959 -141
- 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 +67 -67
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +305 -224
- 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 +17 -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 +220 -186
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +2 -2
- 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 +28 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +253 -120
- 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 +94 -102
- 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/thread_mutex.hpp +6 -6
- 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 +365 -424
- 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 +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_init.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/version_type.hpp +3 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +111 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2961 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +433 -342
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +142 -139
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +135 -157
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +270 -271
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +32 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +15 -16
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +32 -20
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +431 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_set.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +36 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +5 -4
- 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 +91 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +78 -80
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +173 -188
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +124 -150
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +301 -278
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +294 -217
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +239 -156
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +473 -392
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +155 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +751 -964
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_integral.hpp +146 -0
- 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 +408 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple_like.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/mulx.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +395 -580
- 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 +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_tuple_like.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/alignof.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +834 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +954 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +35 -7
- 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 +158 -0
- 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/core/detail/sp_thread_sleep.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_yield.hpp +100 -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 +37 -18
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/functor.hpp +41 -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/invoke_swap.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +10 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/launder.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +214 -62
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +41 -6
- 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/no_exceptions_support.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/null_deleter.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/nvp.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +112 -60
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +59 -16
- 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 +10 -37
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1181 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/use_default.hpp +17 -0
- 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/cstdint.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/current_function.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/c_time.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +4 -41
- data/src/cxx_supportlib/vendor-modified/boost/date_time/constrained_value.hpp +19 -11
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration.hpp +17 -22
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration_types.hpp +44 -49
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_facet.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generators.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_parsing.hpp +51 -25
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_rules.hpp +56 -56
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_transition_generators.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/find_match.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/format_date_parser.hpp +98 -98
- 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 +34 -27
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration.hpp +44 -32
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration_types.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_month.hpp +51 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_serialize.hpp +29 -27
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_weekday.hpp +43 -9
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_year.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +34 -15
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.hpp +15 -17
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +30 -25
- data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +57 -37
- 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/local_time/local_time_io.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/locale_config.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +44 -47
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_formatter.hpp +34 -31
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_parser.hpp +27 -28
- 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/date_duration_operators.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_config.hpp +13 -26
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_duration.hpp +4 -4
- 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/ptime.hpp +22 -4
- 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/posix_time/time_serialize.hpp +28 -12
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_formatter.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/string_parse_tree.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/strings_from_facet.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_duration.hpp +56 -44
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +9 -12
- 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 +5 -10
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_resolution_traits.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_counted.hpp +65 -50
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_split.hpp +43 -30
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_names.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp +7 -5
- 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/basic_pointerbuf.hpp +6 -10
- data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +6 -97
- data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/current_exception_cast.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/clone_current_exception.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +135 -34
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/is_output_streamable.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/object_hex_dump.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/requires_cxx11.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/shared_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +103 -59
- data/src/cxx_supportlib/vendor-modified/boost/exception/get_error_info.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +12 -10
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +10 -5
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string_stub.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/function/function0.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function1.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function10.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function2.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function3.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function4.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function5.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function6.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function7.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function8.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function9.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +62 -210
- data/src/cxx_supportlib/vendor-modified/boost/function/function_fwd.hpp +36 -41
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +313 -422
- data/src/cxx_supportlib/vendor-modified/boost/function/function_typeof.hpp +1 -31
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +5 -61
- 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 +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +31 -29
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +83 -0
- 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 +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +99 -100
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +51 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +64 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +101 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +155 -164
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +147 -141
- 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 +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/equal_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +1 -32
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +14 -15
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash.hpp +277 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_integral.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_mix.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +204 -115
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +22 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iiterator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +126 -80
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +30 -18
- 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 +11 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +8 -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/parent_from_member.hpp +6 -17
- 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/size_holder.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +36 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/transform_iterator.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +38 -26
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_value_compare.hpp +28 -28
- 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 +66 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1764 -1040
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +98 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +113 -111
- 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 +26 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +21 -11
- 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 +31 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +51 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +101 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +109 -110
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +68 -77
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +41 -41
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +174 -182
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +107 -108
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +54 -55
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +59 -57
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +141 -115
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +58 -53
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +158 -152
- 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 +126 -116
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
- data/src/cxx_supportlib/vendor-modified/boost/io/ios_state.hpp +361 -315
- data/src/cxx_supportlib/vendor-modified/boost/io_fwd.hpp +45 -49
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +10 -10
- 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 +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +107 -26
- 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 +24 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +140 -158
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +613 -646
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +85 -73
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +35 -45
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +22 -29
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +73 -0
- 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 +30 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +22 -161
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +10 -13
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/chrono.cpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/process_cpu_clocks.cpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/thread_clock.cpp +3 -1
- 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 +20 -25
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +13 -122
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once.cpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +36 -21
- data/src/cxx_supportlib/vendor-modified/boost/limits.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +82 -60
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +108 -84
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +321 -488
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/basic_op.hpp +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +22 -11
- 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 +463 -120
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +87 -10
- 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 +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +24 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +24 -3
- 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/meta_utils_core.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/move_helpers.hpp +24 -24
- 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/to_raw_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +332 -69
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +1 -27
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +85 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +65 -66
- 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 +1386 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +120 -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 +166 -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 +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +481 -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 +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/common_name_wknd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/adl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/arrays.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bcc.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/compiler.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ctps.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dtp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/forwarding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/integral.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/overload_resolution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/preprocessor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ttp.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl_body.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_rebind.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/integral_wrapper.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_support.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nested_type_wknd.hpp +1 -1
- 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_/size_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp +1 -1
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/if.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lower_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/numeric_cast.hpp +1 -1
- 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/mpl/upper_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/at.hpp +1 -1
- 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 +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +11 -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 +5 -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 +33 -24
- data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +7 -6
- 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_swap.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +38 -27
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +95 -29
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/are_tagged_arguments.hpp +125 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/always_true_predicate.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +1253 -359
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/as_lvalue.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/augment_predicate.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/cast.hpp +7 -136
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +101 -59
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/has_nested_template_fn.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_maybe.hpp +42 -16
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_placeholder.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_tagged_argument.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/lambda_tag.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +128 -97
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/as_parameter_requirements.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduce_tag.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduced_item.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/insert_tagged.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/is_named_argument.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +438 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_deduced_items.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_parameter_spec_items.hpp +244 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/parameter_requirements.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/predicate.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/satisfies.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_deduced.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_type.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parameter_requirements.hpp +7 -20
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parenthesized_type.hpp +8 -31
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/argument_pack.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/match.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp +1638 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp +1796 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/flatten.hpp +7 -110
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each.hpp +7 -98
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each_pred.hpp +1029 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/arity_range.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/flatten.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/for_each.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp +509 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +730 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_name.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp +331 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/split_args.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp +78 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/nullptr.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/qualifier.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_merge.hpp +1807 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/result_of0.hpp +46 -29
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +94 -42
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +156 -34
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +874 -159
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/template_keyword.hpp +76 -34
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +161 -78
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default_tag.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +26 -17
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/yesno.hpp +30 -14
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +158 -74
- data/src/cxx_supportlib/vendor-modified/boost/parameter/compose.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +75 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/deduced.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/is_argument_pack.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword.hpp +724 -102
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword_fwd.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +205 -72
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +37 -44
- data/src/cxx_supportlib/vendor-modified/boost/parameter/name.hpp +100 -126
- data/src/cxx_supportlib/vendor-modified/boost/parameter/nested_keyword.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/optional.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +556 -887
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor.hpp +156 -1016
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor_no_spec.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/required.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +156 -74
- 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 +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +96 -32
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +33 -27
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +31 -20
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +24 -18
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +82 -30
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +13 -7
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +23 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +26 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +29 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +31 -25
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/borland.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/clang.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/comeau.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/compaq.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/diab.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/digitalmars.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/dignus.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/edg.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ekopath.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc_xml.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/greenhills.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/hp_acc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/iar.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ibm.h +15 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/intel.h +18 -17
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/kai.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/llvm.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metaware.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metrowerks.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/microtec.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/mpw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/nvcc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/palm.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/pgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sgi_mipspro.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sunpro.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/tendra.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/visualc.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/watcom.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm/versions.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc/versions.h +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86/versions.h +73 -67
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86.h +39 -37
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd.h +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd.h +95 -46
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/cuda.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +41 -34
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/cloudabi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/gnu.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/uc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/vms.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/zos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/dinkumware.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/libcomo.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/modena.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msl.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msvc.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/roguewave.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/sgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stlport.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/vacpp.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +105 -35
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/aix.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/amigaos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/beos.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +11 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +60 -58
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd.h +22 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/cygwin.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/haiku.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/hpux.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/ios.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/irix.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/linux.h +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/macos.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/os400.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/qnxnto.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/solaris.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/unix.h +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/vms.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/windows.h +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +18 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/workaround.h +22 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/android.h +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/cloudabi.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/ios.h +14 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw32.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw64.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_desktop.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_phone.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_runtime.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_server.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_store.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_system.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_uwp.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h +16 -14
- 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 +21 -21
- 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/array/to_list.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_tuple.hpp +7 -7
- 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/check_empty.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/detail/is_empty.hpp +3 -3
- 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 +28 -5
- 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/facilities/va_opt.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities.hpp +2 -0
- 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 +21 -88
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_tuple.hpp +14 -14
- 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 +121 -7
- 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/is_empty.hpp +11 -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/for_each.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each_i.hpp +28 -28
- 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/replace.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +16 -10
- 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 +5 -5
- 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 +2 -7
- 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 +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +21 -43
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +2 -7
- 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 +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +5 -5
- 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 +34 -0
- 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/variadic.hpp +1 -0
- 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/integer_log2.hpp +1 -1
- 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/discrete_distribution.hpp +4 -0
- 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 +3 -4
- 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/splitmix64.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +18 -18
- 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 +4 -5
- 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 +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +4 -10
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +4 -10
- data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/range/rbegin.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/rend.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/size.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +4 -82
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/gcd_lcm.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/is_evenly_divisible_by.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/is_ratio.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/include.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio.hpp +5 -249
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio_fwd.hpp +30 -56
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio_io.hpp +0 -533
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +40 -14
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
- data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -111
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -72
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -140
- 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 +25 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +47 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +59 -28
- 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 +111 -28
- 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/indexed_bit_flag.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +9 -9
- 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 +39 -20
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +17 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +51 -52
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +12 -12
- 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 +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -0
- 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 +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +641 -25
- 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/sub_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.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 +524 -40
- 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/regex/v5/regex_traits_defaults.hpp +996 -0
- 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 +93 -388
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +3 -3
- 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 +88 -48
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +12 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +25 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +45 -28
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +94 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +13 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_sync.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +13 -147
- 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 +49 -12
- 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 +23 -22
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_unique.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +120 -40
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +80 -8
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +5 -4
- 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 +44 -18
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +23 -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 +183 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +659 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +326 -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 +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/mutex.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +84 -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 -942
- 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/concurrent_queues/deque_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_op_status.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_bounded_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_deque.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_priority_queue.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_queue.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_timed_queue.hpp +80 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp +1 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/functional.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/list.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_arg.hpp +2 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_traits.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/config.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/default_delete.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/pointer_traits.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/scoped_allocator.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/shared_ptr.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/unique_ptr.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +1 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/tuple.hpp +1 -18
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/vector.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/platform_time.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/string_to_unsigned.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/string_trim.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +30 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor_adaptor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/generic_executor_ref.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/inline_executor.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/loop_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduled_thread_pool.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduler.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduling_adaptor.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor_cont.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/thread_executor.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/work.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/externally_locked.hpp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/interruption.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_lockable.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable.hpp +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable_adapter.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp +18 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +6 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +11 -37
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +29 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +163 -18
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_mutex_scoped_lock.hpp +1 -69
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +19 -19
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/synchronized_value.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/tss.hpp +23 -41
- data/src/cxx_supportlib/vendor-modified/boost/thread/user_scheduler.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +231 -56
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +35 -30
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +52 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/alignment_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/conjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_cv_ref.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_reference.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_binary_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_postfix_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +276 -101
- 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 +415 -255
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +2 -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 +1345 -1542
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +288 -148
- 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/disjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_copy.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus_assign.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_promotion.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +23 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_array.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_and_derived.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_bounded_array.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_compound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_default_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_destructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_enum.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_fundamental.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_lvalue_reference.hpp +1 -1
- 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_member_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_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_same.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_scoped_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_signed.hpp +2 -2
- 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 +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unbounded_array.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unscoped_enum.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unsigned.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_virtual_base_of.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/negation.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/rank.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_all_extents.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_cv.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_extent.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/decltype.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/incr_registration_group.hpp +1 -10
- data/src/cxx_supportlib/vendor-modified/boost/typeof/msvc/typeof_impl.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/bitset.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/complex.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/deque.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/fstream.hpp +2 -15
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +4 -51
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iostream.hpp +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/istream.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iterator.hpp +2 -46
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/list.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/locale.hpp +2 -29
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/map.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +4 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/ostream.hpp +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/queue.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/set.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/sstream.hpp +2 -19
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/stack.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/streambuf.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +2 -12
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/utility.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/valarray.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/vector.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +8 -202
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +860 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map_fwd.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +716 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set_fwd.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/allocator_constructed.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/archive_constructed.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/bad_archive_exception.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/concurrent_static_asserts.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +884 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +1764 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2271 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/element_type.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +86 -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 +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/reentrancy_check.hpp +138 -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 +651 -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/implementation.hpp +1462 -3502
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +10 -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/opt_storage.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +214 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialization_version.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_container.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_fca_container.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_tracked_address.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/static_assert.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/throw_exception.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +226 -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 +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +800 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +610 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +768 -1002
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +16 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +895 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +699 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +547 -672
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +18 -15
- 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_iterate.hpp +3 -3
- 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 +9 -44
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +31 -47
- data/src/cxx_supportlib/vendor-modified/boost/utility/swap.hpp +4 -1
- 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 +41 -75
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +2 -9
- data/src/cxx_supportlib/vendor-modified/modp_b64_data.h +0 -4
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +5 -1
- data/src/cxx_supportlib/vendor-modified/websocketpp/changelog.md +444 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/readme.md +49 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/close.hpp +353 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/functional.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +448 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/memory.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/thread.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core.hpp +297 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection.hpp +1642 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint.hpp +700 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +817 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/frame.hpp +853 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/parser.hpp +200 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/parser.hpp +629 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/connection_impl.hpp +2375 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/endpoint_impl.hpp +269 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/base.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi13.hpp +1072 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/client_endpoint.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/server_endpoint.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/sha1/sha1.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp +1197 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp +1182 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/none.hpp +372 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/tls.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/endpoint.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/connection.hpp +412 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/endpoint.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/connection.hpp +714 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/endpoint.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/connection.hpp +286 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/uri.hpp +356 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utilities.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/version.hpp +61 -0
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/wsgi-loader.py +34 -17
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +24 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +19 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +36 -0
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.c +2 -2
- data/src/nginx_module/Configuration.c +4 -4
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +16 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +54 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +40 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +9 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +12 -0
- data/src/nginx_module/config +2 -0
- data/src/nginx_module/ngx_http_passenger_module.c +3 -2
- 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 +5 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +12 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +17 -4
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +4 -3
- 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/constants.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +28 -7
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +10 -5
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +18 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +3 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +10 -13
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +14 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +8 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +10 -6
- 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 +64 -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 +11 -7
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +14 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +28 -17
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +4 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger.rb +9 -9
- metadata +863 -303
- data/src/cxx_supportlib/ServerKit/http_parser.cpp +0 -2265
- data/src/cxx_supportlib/ServerKit/http_parser.h +0 -330
- data/src/cxx_supportlib/vendor-copy/websocketpp/changelog.md +0 -342
- data/src/cxx_supportlib/vendor-copy/websocketpp/readme.md +0 -49
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/close.hpp +0 -342
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/asio.hpp +0 -131
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/functional.hpp +0 -105
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/md5.hpp +0 -448
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/memory.hpp +0 -89
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/thread.hpp +0 -84
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/config/core.hpp +0 -285
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/connection.hpp +0 -1651
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/endpoint.hpp +0 -700
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -128
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -752
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/frame.hpp +0 -861
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/impl/parser.hpp +0 -196
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/parser.hpp +0 -619
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/connection_impl.hpp +0 -2372
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -269
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/base.hpp +0 -299
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/hybi13.hpp +0 -1056
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -173
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -190
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/sha1/sha1.hpp +0 -189
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/connection.hpp +0 -1204
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -1147
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -370
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -484
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -77
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/connection.hpp +0 -412
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -140
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -714
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -222
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/stub/connection.hpp +0 -286
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/uri.hpp +0 -355
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/utilities.hpp +0 -182
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/version.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +0 -457
- data/src/cxx_supportlib/vendor-modified/boost/asio/datagram_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer_service.hpp +0 -175
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +0 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +0 -101
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +0 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +0 -154
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +0 -238
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +0 -119
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detached.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_spawn.hpp +0 -878
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/detached.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/redirect_error.hpp +0 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/redirect_error.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +0 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +0 -87
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_type.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +0 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +0 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_service.hpp +0 -202
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor_service.hpp +0 -281
- data/src/cxx_supportlib/vendor-modified/boost/asio/raw_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/seq_packet_socket_service.hpp +0 -418
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_service.hpp +0 -251
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_service.hpp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_acceptor_service.hpp +0 -374
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_socket_service.hpp +0 -414
- data/src/cxx_supportlib/vendor-modified/boost/asio/waitable_timer_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_handle.hpp +0 -275
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +0 -184
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +0 -378
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +0 -361
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +0 -383
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle_service.hpp +0 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +0 -333
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +0 -118
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +0 -380
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle_service.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +0 -364
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_template.hpp +0 -1248
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_alpha.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_arm.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_ppc.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sparc.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_arm.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_arm.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_ppc.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_x86.hpp +0 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/integral_extend.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lockpool.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_fwd.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_cas_based.hpp +0 -107
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +0 -162
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_extending_cas_based.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_alpha.hpp +0 -876
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm.hpp +0 -1397
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp +0 -392
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc.hpp +0 -1232
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sparc.hpp +0 -240
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sync.hpp +0 -240
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +0 -563
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp +0 -556
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_linux_arm.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_arm.hpp +0 -824
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_x86.hpp +0 -908
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_cc.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +0 -228
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +0 -441
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_template.hpp +0 -345
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_cc.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_template.hpp +0 -1047
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_vw.hpp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +0 -475
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/allocators.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/cygwin.hpp +0 -68
- 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 -414
- data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/detail/iterator.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/detail/sp_typeinfo.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/function_iterate.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/gen_maybe_include.pl +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/maybe_include.hpp +0 -369
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/prologue.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash_fwd.hpp +0 -6
- 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 -660
- 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/regex_traits_defaults.cpp +0 -692
- 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 -1040
- 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 -1678
- 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 -469
- 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/parameter/aux_/overloads.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/endian_compat.h +0 -28
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/abs.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/gcd.hpp +0 -124
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/lcm.hpp +0 -126
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/sign.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/overflow_helpers.hpp +0 -367
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/ratio_io.hpp +0 -1342
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/abs.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/arithmetic.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/comparison.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/divides.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/equal_to.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/gcd.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/greater.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/greater_equal.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/lcm.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/less.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/less_equal.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/minus.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/negate.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/not_equal_to.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/numeric_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/plus.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/rational_c_tag.hpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/rational_constant.hpp +0 -15
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/sign.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/times.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -452
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_solaris.hpp +0 -59
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_clang.hpp +0 -151
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -161
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -116
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/swap.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_interoperability.hpp +0 -141
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
- 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/cxx_supportlib/vendor-modified/boost/typeof/dmc/typeof_impl.hpp +0 -100
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode.hpp +0 -58
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode_params.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/typeof/integral_template_param.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/boost/typeof/message.hpp +0 -8
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +0 -121
- data/src/cxx_supportlib/vendor-modified/boost/typeof/native.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/typeof/pointers_data_members.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions.hpp +0 -50
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions_iterate.hpp +0 -135
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_mem_functions.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +0 -149
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_encoding.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +0 -186
- data/src/cxx_supportlib/vendor-modified/boost/typeof/unsupported.hpp +0 -29
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector.hpp +0 -166
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector100.hpp +0 -321
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector150.hpp +0 -471
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp +0 -621
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +0 -63
- 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/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/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/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/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_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_base.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/http/constants.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/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/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/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/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/server.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/security/base.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/debug/base.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/stub/base.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/utf8_validator.hpp +0 -0
@@ -0,0 +1,3130 @@
|
|
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_parser.cpp
|
15
|
+
* VERSION see <boost/version.hpp>
|
16
|
+
* DESCRIPTION: Declares template class basic_regex_parser.
|
17
|
+
*/
|
18
|
+
|
19
|
+
#ifndef BOOST_REGEX_V5_BASIC_REGEX_PARSER_HPP
|
20
|
+
#define BOOST_REGEX_V5_BASIC_REGEX_PARSER_HPP
|
21
|
+
|
22
|
+
namespace boost{
|
23
|
+
namespace BOOST_REGEX_DETAIL_NS{
|
24
|
+
|
25
|
+
#ifdef BOOST_REGEX_MSVC
|
26
|
+
#pragma warning(push)
|
27
|
+
#pragma warning(disable:4244 4459)
|
28
|
+
#if BOOST_REGEX_MSVC < 1910
|
29
|
+
#pragma warning(disable:4800)
|
30
|
+
#endif
|
31
|
+
#endif
|
32
|
+
|
33
|
+
inline std::intmax_t umax(std::integral_constant<bool, false> const&)
|
34
|
+
{
|
35
|
+
// Get out clause here, just in case numeric_limits is unspecialized:
|
36
|
+
return std::numeric_limits<std::intmax_t>::is_specialized ? (std::numeric_limits<std::intmax_t>::max)() : INT_MAX;
|
37
|
+
}
|
38
|
+
inline std::intmax_t umax(std::integral_constant<bool, true> const&)
|
39
|
+
{
|
40
|
+
return (std::numeric_limits<std::size_t>::max)();
|
41
|
+
}
|
42
|
+
|
43
|
+
inline std::intmax_t umax()
|
44
|
+
{
|
45
|
+
return umax(std::integral_constant<bool, std::numeric_limits<std::intmax_t>::digits >= std::numeric_limits<std::size_t>::digits>());
|
46
|
+
}
|
47
|
+
|
48
|
+
template <class charT, class traits>
|
49
|
+
class basic_regex_parser : public basic_regex_creator<charT, traits>
|
50
|
+
{
|
51
|
+
public:
|
52
|
+
basic_regex_parser(regex_data<charT, traits>* data);
|
53
|
+
void parse(const charT* p1, const charT* p2, unsigned flags);
|
54
|
+
void fail(regex_constants::error_type error_code, std::ptrdiff_t position);
|
55
|
+
void fail(regex_constants::error_type error_code, std::ptrdiff_t position, std::string message, std::ptrdiff_t start_pos);
|
56
|
+
void fail(regex_constants::error_type error_code, std::ptrdiff_t position, const std::string& message)
|
57
|
+
{
|
58
|
+
fail(error_code, position, message, position);
|
59
|
+
}
|
60
|
+
|
61
|
+
bool parse_all();
|
62
|
+
bool parse_basic();
|
63
|
+
bool parse_extended();
|
64
|
+
bool parse_literal();
|
65
|
+
bool parse_open_paren();
|
66
|
+
bool parse_basic_escape();
|
67
|
+
bool parse_extended_escape();
|
68
|
+
bool parse_match_any();
|
69
|
+
bool parse_repeat(std::size_t low = 0, std::size_t high = (std::numeric_limits<std::size_t>::max)());
|
70
|
+
bool parse_repeat_range(bool isbasic);
|
71
|
+
bool parse_alt();
|
72
|
+
bool parse_set();
|
73
|
+
bool parse_backref();
|
74
|
+
void parse_set_literal(basic_char_set<charT, traits>& char_set);
|
75
|
+
bool parse_inner_set(basic_char_set<charT, traits>& char_set);
|
76
|
+
bool parse_QE();
|
77
|
+
bool parse_perl_extension();
|
78
|
+
bool parse_perl_verb();
|
79
|
+
bool match_verb(const char*);
|
80
|
+
bool add_emacs_code(bool negate);
|
81
|
+
bool unwind_alts(std::ptrdiff_t last_paren_start);
|
82
|
+
digraph<charT> get_next_set_literal(basic_char_set<charT, traits>& char_set);
|
83
|
+
charT unescape_character();
|
84
|
+
regex_constants::syntax_option_type parse_options();
|
85
|
+
|
86
|
+
private:
|
87
|
+
typedef bool (basic_regex_parser::*parser_proc_type)();
|
88
|
+
typedef typename traits::string_type string_type;
|
89
|
+
typedef typename traits::char_class_type char_class_type;
|
90
|
+
parser_proc_type m_parser_proc; // the main parser to use
|
91
|
+
const charT* m_base; // the start of the string being parsed
|
92
|
+
const charT* m_end; // the end of the string being parsed
|
93
|
+
const charT* m_position; // our current parser position
|
94
|
+
unsigned m_mark_count; // how many sub-expressions we have
|
95
|
+
int m_mark_reset; // used to indicate that we're inside a (?|...) block.
|
96
|
+
unsigned m_max_mark; // largest mark count seen inside a (?|...) block.
|
97
|
+
std::ptrdiff_t m_paren_start; // where the last seen ')' began (where repeats are inserted).
|
98
|
+
std::ptrdiff_t m_alt_insert_point; // where to insert the next alternative
|
99
|
+
bool m_has_case_change; // true if somewhere in the current block the case has changed
|
100
|
+
unsigned m_recursion_count; // How many times we've called parse_all.
|
101
|
+
unsigned m_max_backref; // Largest index of any backref.
|
102
|
+
#if defined(BOOST_REGEX_MSVC) && defined(_M_IX86)
|
103
|
+
// This is an ugly warning suppression workaround (for warnings *inside* std::vector
|
104
|
+
// that can not otherwise be suppressed)...
|
105
|
+
static_assert(sizeof(long) >= sizeof(void*), "Long isn't long enough!");
|
106
|
+
std::vector<long> m_alt_jumps; // list of alternative in the current scope.
|
107
|
+
#else
|
108
|
+
std::vector<std::ptrdiff_t> m_alt_jumps; // list of alternative in the current scope.
|
109
|
+
#endif
|
110
|
+
|
111
|
+
basic_regex_parser& operator=(const basic_regex_parser&);
|
112
|
+
basic_regex_parser(const basic_regex_parser&);
|
113
|
+
};
|
114
|
+
|
115
|
+
template <class charT, class traits>
|
116
|
+
basic_regex_parser<charT, traits>::basic_regex_parser(regex_data<charT, traits>* data)
|
117
|
+
: basic_regex_creator<charT, traits>(data), m_parser_proc(), m_base(0), m_end(0), m_position(0),
|
118
|
+
m_mark_count(0), m_mark_reset(-1), m_max_mark(0), m_paren_start(0), m_alt_insert_point(0), m_has_case_change(false), m_recursion_count(0), m_max_backref(0)
|
119
|
+
{
|
120
|
+
}
|
121
|
+
|
122
|
+
template <class charT, class traits>
|
123
|
+
void basic_regex_parser<charT, traits>::parse(const charT* p1, const charT* p2, unsigned l_flags)
|
124
|
+
{
|
125
|
+
// pass l_flags on to base class:
|
126
|
+
this->init(l_flags);
|
127
|
+
// set up pointers:
|
128
|
+
m_position = m_base = p1;
|
129
|
+
m_end = p2;
|
130
|
+
// empty strings are errors:
|
131
|
+
if((p1 == p2) &&
|
132
|
+
(
|
133
|
+
((l_flags & regbase::main_option_type) != regbase::perl_syntax_group)
|
134
|
+
|| (l_flags & regbase::no_empty_expressions)
|
135
|
+
)
|
136
|
+
)
|
137
|
+
{
|
138
|
+
fail(regex_constants::error_empty, 0);
|
139
|
+
return;
|
140
|
+
}
|
141
|
+
// select which parser to use:
|
142
|
+
switch(l_flags & regbase::main_option_type)
|
143
|
+
{
|
144
|
+
case regbase::perl_syntax_group:
|
145
|
+
{
|
146
|
+
m_parser_proc = &basic_regex_parser<charT, traits>::parse_extended;
|
147
|
+
//
|
148
|
+
// Add a leading paren with index zero to give recursions a target:
|
149
|
+
//
|
150
|
+
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_startmark, sizeof(re_brace)));
|
151
|
+
br->index = 0;
|
152
|
+
br->icase = this->flags() & regbase::icase;
|
153
|
+
break;
|
154
|
+
}
|
155
|
+
case regbase::basic_syntax_group:
|
156
|
+
m_parser_proc = &basic_regex_parser<charT, traits>::parse_basic;
|
157
|
+
break;
|
158
|
+
case regbase::literal:
|
159
|
+
m_parser_proc = &basic_regex_parser<charT, traits>::parse_literal;
|
160
|
+
break;
|
161
|
+
default:
|
162
|
+
// Oops, someone has managed to set more than one of the main option flags,
|
163
|
+
// so this must be an error:
|
164
|
+
fail(regex_constants::error_unknown, 0, "An invalid combination of regular expression syntax flags was used.");
|
165
|
+
return;
|
166
|
+
}
|
167
|
+
|
168
|
+
// parse all our characters:
|
169
|
+
bool result = parse_all();
|
170
|
+
//
|
171
|
+
// Unwind our alternatives:
|
172
|
+
//
|
173
|
+
unwind_alts(-1);
|
174
|
+
// reset l_flags as a global scope (?imsx) may have altered them:
|
175
|
+
this->flags(l_flags);
|
176
|
+
// if we haven't gobbled up all the characters then we must
|
177
|
+
// have had an unexpected ')' :
|
178
|
+
if(!result)
|
179
|
+
{
|
180
|
+
fail(regex_constants::error_paren, std::distance(m_base, m_position), "Found a closing ) with no corresponding opening parenthesis.");
|
181
|
+
return;
|
182
|
+
}
|
183
|
+
// if an error has been set then give up now:
|
184
|
+
if(this->m_pdata->m_status)
|
185
|
+
return;
|
186
|
+
// fill in our sub-expression count:
|
187
|
+
this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count;
|
188
|
+
//
|
189
|
+
// Check we don't have backreferences to sub-expressions which don't exist:
|
190
|
+
//
|
191
|
+
if (m_max_backref > m_mark_count)
|
192
|
+
{
|
193
|
+
fail(regex_constants::error_backref, std::distance(m_base, m_position), "Found a backreference to a non-existant sub-expression.");
|
194
|
+
}
|
195
|
+
this->finalize(p1, p2);
|
196
|
+
}
|
197
|
+
|
198
|
+
template <class charT, class traits>
|
199
|
+
void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_code, std::ptrdiff_t position)
|
200
|
+
{
|
201
|
+
// get the error message:
|
202
|
+
std::string message = this->m_pdata->m_ptraits->error_string(error_code);
|
203
|
+
fail(error_code, position, message);
|
204
|
+
}
|
205
|
+
|
206
|
+
template <class charT, class traits>
|
207
|
+
void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_code, std::ptrdiff_t position, std::string message, std::ptrdiff_t start_pos)
|
208
|
+
{
|
209
|
+
if(0 == this->m_pdata->m_status) // update the error code if not already set
|
210
|
+
this->m_pdata->m_status = error_code;
|
211
|
+
m_position = m_end; // don't bother parsing anything else
|
212
|
+
|
213
|
+
//
|
214
|
+
// Augment error message with the regular expression text:
|
215
|
+
//
|
216
|
+
if(start_pos == position)
|
217
|
+
start_pos = (std::max)(static_cast<std::ptrdiff_t>(0), position - static_cast<std::ptrdiff_t>(10));
|
218
|
+
std::ptrdiff_t end_pos = (std::min)(position + static_cast<std::ptrdiff_t>(10), static_cast<std::ptrdiff_t>(m_end - m_base));
|
219
|
+
if(error_code != regex_constants::error_empty)
|
220
|
+
{
|
221
|
+
if((start_pos != 0) || (end_pos != (m_end - m_base)))
|
222
|
+
message += " The error occurred while parsing the regular expression fragment: '";
|
223
|
+
else
|
224
|
+
message += " The error occurred while parsing the regular expression: '";
|
225
|
+
if(start_pos != end_pos)
|
226
|
+
{
|
227
|
+
message += std::string(m_base + start_pos, m_base + position);
|
228
|
+
message += ">>>HERE>>>";
|
229
|
+
message += std::string(m_base + position, m_base + end_pos);
|
230
|
+
}
|
231
|
+
message += "'.";
|
232
|
+
}
|
233
|
+
|
234
|
+
#ifndef BOOST_NO_EXCEPTIONS
|
235
|
+
if(0 == (this->flags() & regex_constants::no_except))
|
236
|
+
{
|
237
|
+
boost::regex_error e(message, error_code, position);
|
238
|
+
e.raise();
|
239
|
+
}
|
240
|
+
#else
|
241
|
+
(void)position; // suppress warnings.
|
242
|
+
#endif
|
243
|
+
}
|
244
|
+
|
245
|
+
template <class charT, class traits>
|
246
|
+
bool basic_regex_parser<charT, traits>::parse_all()
|
247
|
+
{
|
248
|
+
if (++m_recursion_count > 400)
|
249
|
+
{
|
250
|
+
// exceeded internal limits
|
251
|
+
fail(boost::regex_constants::error_complexity, m_position - m_base, "Exceeded nested brace limit.");
|
252
|
+
}
|
253
|
+
bool result = true;
|
254
|
+
while(result && (m_position != m_end))
|
255
|
+
{
|
256
|
+
result = (this->*m_parser_proc)();
|
257
|
+
}
|
258
|
+
--m_recursion_count;
|
259
|
+
return result;
|
260
|
+
}
|
261
|
+
|
262
|
+
#ifdef BOOST_REGEX_MSVC
|
263
|
+
#pragma warning(push)
|
264
|
+
#pragma warning(disable:4702)
|
265
|
+
#endif
|
266
|
+
template <class charT, class traits>
|
267
|
+
bool basic_regex_parser<charT, traits>::parse_basic()
|
268
|
+
{
|
269
|
+
switch(this->m_traits.syntax_type(*m_position))
|
270
|
+
{
|
271
|
+
case regex_constants::syntax_escape:
|
272
|
+
return parse_basic_escape();
|
273
|
+
case regex_constants::syntax_dot:
|
274
|
+
return parse_match_any();
|
275
|
+
case regex_constants::syntax_caret:
|
276
|
+
++m_position;
|
277
|
+
this->append_state(syntax_element_start_line);
|
278
|
+
break;
|
279
|
+
case regex_constants::syntax_dollar:
|
280
|
+
++m_position;
|
281
|
+
this->append_state(syntax_element_end_line);
|
282
|
+
break;
|
283
|
+
case regex_constants::syntax_star:
|
284
|
+
if(!(this->m_last_state) || (this->m_last_state->type == syntax_element_start_line))
|
285
|
+
return parse_literal();
|
286
|
+
else
|
287
|
+
{
|
288
|
+
++m_position;
|
289
|
+
return parse_repeat();
|
290
|
+
}
|
291
|
+
case regex_constants::syntax_plus:
|
292
|
+
if(!(this->m_last_state) || (this->m_last_state->type == syntax_element_start_line) || !(this->flags() & regbase::emacs_ex))
|
293
|
+
return parse_literal();
|
294
|
+
else
|
295
|
+
{
|
296
|
+
++m_position;
|
297
|
+
return parse_repeat(1);
|
298
|
+
}
|
299
|
+
case regex_constants::syntax_question:
|
300
|
+
if(!(this->m_last_state) || (this->m_last_state->type == syntax_element_start_line) || !(this->flags() & regbase::emacs_ex))
|
301
|
+
return parse_literal();
|
302
|
+
else
|
303
|
+
{
|
304
|
+
++m_position;
|
305
|
+
return parse_repeat(0, 1);
|
306
|
+
}
|
307
|
+
case regex_constants::syntax_open_set:
|
308
|
+
return parse_set();
|
309
|
+
case regex_constants::syntax_newline:
|
310
|
+
if(this->flags() & regbase::newline_alt)
|
311
|
+
return parse_alt();
|
312
|
+
else
|
313
|
+
return parse_literal();
|
314
|
+
default:
|
315
|
+
return parse_literal();
|
316
|
+
}
|
317
|
+
return true;
|
318
|
+
}
|
319
|
+
|
320
|
+
#ifdef BOOST_REGEX_MSVC
|
321
|
+
# pragma warning(push)
|
322
|
+
#if BOOST_REGEX_MSVC >= 1800
|
323
|
+
#pragma warning(disable:26812)
|
324
|
+
#endif
|
325
|
+
#endif
|
326
|
+
template <class charT, class traits>
|
327
|
+
bool basic_regex_parser<charT, traits>::parse_extended()
|
328
|
+
{
|
329
|
+
bool result = true;
|
330
|
+
switch(this->m_traits.syntax_type(*m_position))
|
331
|
+
{
|
332
|
+
case regex_constants::syntax_open_mark:
|
333
|
+
return parse_open_paren();
|
334
|
+
case regex_constants::syntax_close_mark:
|
335
|
+
return false;
|
336
|
+
case regex_constants::syntax_escape:
|
337
|
+
return parse_extended_escape();
|
338
|
+
case regex_constants::syntax_dot:
|
339
|
+
return parse_match_any();
|
340
|
+
case regex_constants::syntax_caret:
|
341
|
+
++m_position;
|
342
|
+
this->append_state(
|
343
|
+
(this->flags() & regex_constants::no_mod_m ? syntax_element_buffer_start : syntax_element_start_line));
|
344
|
+
break;
|
345
|
+
case regex_constants::syntax_dollar:
|
346
|
+
++m_position;
|
347
|
+
this->append_state(
|
348
|
+
(this->flags() & regex_constants::no_mod_m ? syntax_element_buffer_end : syntax_element_end_line));
|
349
|
+
break;
|
350
|
+
case regex_constants::syntax_star:
|
351
|
+
if(m_position == this->m_base)
|
352
|
+
{
|
353
|
+
fail(regex_constants::error_badrepeat, 0, "The repeat operator \"*\" cannot start a regular expression.");
|
354
|
+
return false;
|
355
|
+
}
|
356
|
+
++m_position;
|
357
|
+
return parse_repeat();
|
358
|
+
case regex_constants::syntax_question:
|
359
|
+
if(m_position == this->m_base)
|
360
|
+
{
|
361
|
+
fail(regex_constants::error_badrepeat, 0, "The repeat operator \"?\" cannot start a regular expression.");
|
362
|
+
return false;
|
363
|
+
}
|
364
|
+
++m_position;
|
365
|
+
return parse_repeat(0,1);
|
366
|
+
case regex_constants::syntax_plus:
|
367
|
+
if(m_position == this->m_base)
|
368
|
+
{
|
369
|
+
fail(regex_constants::error_badrepeat, 0, "The repeat operator \"+\" cannot start a regular expression.");
|
370
|
+
return false;
|
371
|
+
}
|
372
|
+
++m_position;
|
373
|
+
return parse_repeat(1);
|
374
|
+
case regex_constants::syntax_open_brace:
|
375
|
+
++m_position;
|
376
|
+
return parse_repeat_range(false);
|
377
|
+
case regex_constants::syntax_close_brace:
|
378
|
+
if((this->flags() & regbase::no_perl_ex) == regbase::no_perl_ex)
|
379
|
+
{
|
380
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, "Found a closing repetition operator } with no corresponding {.");
|
381
|
+
return false;
|
382
|
+
}
|
383
|
+
result = parse_literal();
|
384
|
+
break;
|
385
|
+
case regex_constants::syntax_or:
|
386
|
+
return parse_alt();
|
387
|
+
case regex_constants::syntax_open_set:
|
388
|
+
return parse_set();
|
389
|
+
case regex_constants::syntax_newline:
|
390
|
+
if(this->flags() & regbase::newline_alt)
|
391
|
+
return parse_alt();
|
392
|
+
else
|
393
|
+
return parse_literal();
|
394
|
+
case regex_constants::syntax_hash:
|
395
|
+
//
|
396
|
+
// If we have a mod_x flag set, then skip until
|
397
|
+
// we get to a newline character:
|
398
|
+
//
|
399
|
+
if((this->flags()
|
400
|
+
& (regbase::no_perl_ex|regbase::mod_x))
|
401
|
+
== regbase::mod_x)
|
402
|
+
{
|
403
|
+
while((m_position != m_end) && !is_separator(*m_position++)){}
|
404
|
+
return true;
|
405
|
+
}
|
406
|
+
BOOST_REGEX_FALLTHROUGH;
|
407
|
+
default:
|
408
|
+
result = parse_literal();
|
409
|
+
break;
|
410
|
+
}
|
411
|
+
return result;
|
412
|
+
}
|
413
|
+
#ifdef BOOST_REGEX_MSVC
|
414
|
+
# pragma warning(pop)
|
415
|
+
#endif
|
416
|
+
#ifdef BOOST_REGEX_MSVC
|
417
|
+
#pragma warning(pop)
|
418
|
+
#endif
|
419
|
+
|
420
|
+
template <class charT, class traits>
|
421
|
+
bool basic_regex_parser<charT, traits>::parse_literal()
|
422
|
+
{
|
423
|
+
// append this as a literal provided it's not a space character
|
424
|
+
// or the perl option regbase::mod_x is not set:
|
425
|
+
if(
|
426
|
+
((this->flags()
|
427
|
+
& (regbase::main_option_type|regbase::mod_x|regbase::no_perl_ex))
|
428
|
+
!= regbase::mod_x)
|
429
|
+
|| !this->m_traits.isctype(*m_position, this->m_mask_space))
|
430
|
+
this->append_literal(*m_position);
|
431
|
+
++m_position;
|
432
|
+
return true;
|
433
|
+
}
|
434
|
+
|
435
|
+
template <class charT, class traits>
|
436
|
+
bool basic_regex_parser<charT, traits>::parse_open_paren()
|
437
|
+
{
|
438
|
+
//
|
439
|
+
// skip the '(' and error check:
|
440
|
+
//
|
441
|
+
if(++m_position == m_end)
|
442
|
+
{
|
443
|
+
fail(regex_constants::error_paren, m_position - m_base);
|
444
|
+
return false;
|
445
|
+
}
|
446
|
+
//
|
447
|
+
// begin by checking for a perl-style (?...) extension:
|
448
|
+
//
|
449
|
+
if(
|
450
|
+
((this->flags() & (regbase::main_option_type | regbase::no_perl_ex)) == 0)
|
451
|
+
|| ((this->flags() & (regbase::main_option_type | regbase::emacs_ex)) == (regbase::basic_syntax_group|regbase::emacs_ex))
|
452
|
+
)
|
453
|
+
{
|
454
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_question)
|
455
|
+
return parse_perl_extension();
|
456
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_star)
|
457
|
+
return parse_perl_verb();
|
458
|
+
}
|
459
|
+
//
|
460
|
+
// update our mark count, and append the required state:
|
461
|
+
//
|
462
|
+
unsigned markid = 0;
|
463
|
+
if(0 == (this->flags() & regbase::nosubs))
|
464
|
+
{
|
465
|
+
markid = ++m_mark_count;
|
466
|
+
if(this->flags() & regbase::save_subexpression_location)
|
467
|
+
this->m_pdata->m_subs.push_back(std::pair<std::size_t, std::size_t>(std::distance(m_base, m_position) - 1, 0));
|
468
|
+
}
|
469
|
+
re_brace* pb = static_cast<re_brace*>(this->append_state(syntax_element_startmark, sizeof(re_brace)));
|
470
|
+
pb->index = markid;
|
471
|
+
pb->icase = this->flags() & regbase::icase;
|
472
|
+
std::ptrdiff_t last_paren_start = this->getoffset(pb);
|
473
|
+
// back up insertion point for alternations, and set new point:
|
474
|
+
std::ptrdiff_t last_alt_point = m_alt_insert_point;
|
475
|
+
this->m_pdata->m_data.align();
|
476
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
477
|
+
//
|
478
|
+
// back up the current flags in case we have a nested (?imsx) group:
|
479
|
+
//
|
480
|
+
regex_constants::syntax_option_type opts = this->flags();
|
481
|
+
bool old_case_change = m_has_case_change;
|
482
|
+
m_has_case_change = false; // no changes to this scope as yet...
|
483
|
+
//
|
484
|
+
// Back up branch reset data in case we have a nested (?|...)
|
485
|
+
//
|
486
|
+
int mark_reset = m_mark_reset;
|
487
|
+
m_mark_reset = -1;
|
488
|
+
//
|
489
|
+
// now recursively add more states, this will terminate when we get to a
|
490
|
+
// matching ')' :
|
491
|
+
//
|
492
|
+
parse_all();
|
493
|
+
//
|
494
|
+
// Unwind pushed alternatives:
|
495
|
+
//
|
496
|
+
if(0 == unwind_alts(last_paren_start))
|
497
|
+
return false;
|
498
|
+
//
|
499
|
+
// restore flags:
|
500
|
+
//
|
501
|
+
if(m_has_case_change)
|
502
|
+
{
|
503
|
+
// the case has changed in one or more of the alternatives
|
504
|
+
// within the scoped (...) block: we have to add a state
|
505
|
+
// to reset the case sensitivity:
|
506
|
+
static_cast<re_case*>(
|
507
|
+
this->append_state(syntax_element_toggle_case, sizeof(re_case))
|
508
|
+
)->icase = opts & regbase::icase;
|
509
|
+
}
|
510
|
+
this->flags(opts);
|
511
|
+
m_has_case_change = old_case_change;
|
512
|
+
//
|
513
|
+
// restore branch reset:
|
514
|
+
//
|
515
|
+
m_mark_reset = mark_reset;
|
516
|
+
//
|
517
|
+
// we either have a ')' or we have run out of characters prematurely:
|
518
|
+
//
|
519
|
+
if(m_position == m_end)
|
520
|
+
{
|
521
|
+
this->fail(regex_constants::error_paren, std::distance(m_base, m_end));
|
522
|
+
return false;
|
523
|
+
}
|
524
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
525
|
+
return false;
|
526
|
+
if(markid && (this->flags() & regbase::save_subexpression_location))
|
527
|
+
this->m_pdata->m_subs.at(markid - 1).second = std::distance(m_base, m_position);
|
528
|
+
++m_position;
|
529
|
+
//
|
530
|
+
// append closing parenthesis state:
|
531
|
+
//
|
532
|
+
pb = static_cast<re_brace*>(this->append_state(syntax_element_endmark, sizeof(re_brace)));
|
533
|
+
pb->index = markid;
|
534
|
+
pb->icase = this->flags() & regbase::icase;
|
535
|
+
this->m_paren_start = last_paren_start;
|
536
|
+
//
|
537
|
+
// restore the alternate insertion point:
|
538
|
+
//
|
539
|
+
this->m_alt_insert_point = last_alt_point;
|
540
|
+
|
541
|
+
return true;
|
542
|
+
}
|
543
|
+
|
544
|
+
template <class charT, class traits>
|
545
|
+
bool basic_regex_parser<charT, traits>::parse_basic_escape()
|
546
|
+
{
|
547
|
+
if(++m_position == m_end)
|
548
|
+
{
|
549
|
+
fail(regex_constants::error_paren, m_position - m_base);
|
550
|
+
return false;
|
551
|
+
}
|
552
|
+
bool result = true;
|
553
|
+
switch(this->m_traits.escape_syntax_type(*m_position))
|
554
|
+
{
|
555
|
+
case regex_constants::syntax_open_mark:
|
556
|
+
return parse_open_paren();
|
557
|
+
case regex_constants::syntax_close_mark:
|
558
|
+
return false;
|
559
|
+
case regex_constants::syntax_plus:
|
560
|
+
if(this->flags() & regex_constants::bk_plus_qm)
|
561
|
+
{
|
562
|
+
++m_position;
|
563
|
+
return parse_repeat(1);
|
564
|
+
}
|
565
|
+
else
|
566
|
+
return parse_literal();
|
567
|
+
case regex_constants::syntax_question:
|
568
|
+
if(this->flags() & regex_constants::bk_plus_qm)
|
569
|
+
{
|
570
|
+
++m_position;
|
571
|
+
return parse_repeat(0, 1);
|
572
|
+
}
|
573
|
+
else
|
574
|
+
return parse_literal();
|
575
|
+
case regex_constants::syntax_open_brace:
|
576
|
+
if(this->flags() & regbase::no_intervals)
|
577
|
+
return parse_literal();
|
578
|
+
++m_position;
|
579
|
+
return parse_repeat_range(true);
|
580
|
+
case regex_constants::syntax_close_brace:
|
581
|
+
if(this->flags() & regbase::no_intervals)
|
582
|
+
return parse_literal();
|
583
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, "Found a closing repetition operator } with no corresponding {.");
|
584
|
+
return false;
|
585
|
+
case regex_constants::syntax_or:
|
586
|
+
if(this->flags() & regbase::bk_vbar)
|
587
|
+
return parse_alt();
|
588
|
+
else
|
589
|
+
result = parse_literal();
|
590
|
+
break;
|
591
|
+
case regex_constants::syntax_digit:
|
592
|
+
return parse_backref();
|
593
|
+
case regex_constants::escape_type_start_buffer:
|
594
|
+
if(this->flags() & regbase::emacs_ex)
|
595
|
+
{
|
596
|
+
++m_position;
|
597
|
+
this->append_state(syntax_element_buffer_start);
|
598
|
+
}
|
599
|
+
else
|
600
|
+
result = parse_literal();
|
601
|
+
break;
|
602
|
+
case regex_constants::escape_type_end_buffer:
|
603
|
+
if(this->flags() & regbase::emacs_ex)
|
604
|
+
{
|
605
|
+
++m_position;
|
606
|
+
this->append_state(syntax_element_buffer_end);
|
607
|
+
}
|
608
|
+
else
|
609
|
+
result = parse_literal();
|
610
|
+
break;
|
611
|
+
case regex_constants::escape_type_word_assert:
|
612
|
+
if(this->flags() & regbase::emacs_ex)
|
613
|
+
{
|
614
|
+
++m_position;
|
615
|
+
this->append_state(syntax_element_word_boundary);
|
616
|
+
}
|
617
|
+
else
|
618
|
+
result = parse_literal();
|
619
|
+
break;
|
620
|
+
case regex_constants::escape_type_not_word_assert:
|
621
|
+
if(this->flags() & regbase::emacs_ex)
|
622
|
+
{
|
623
|
+
++m_position;
|
624
|
+
this->append_state(syntax_element_within_word);
|
625
|
+
}
|
626
|
+
else
|
627
|
+
result = parse_literal();
|
628
|
+
break;
|
629
|
+
case regex_constants::escape_type_left_word:
|
630
|
+
if(this->flags() & regbase::emacs_ex)
|
631
|
+
{
|
632
|
+
++m_position;
|
633
|
+
this->append_state(syntax_element_word_start);
|
634
|
+
}
|
635
|
+
else
|
636
|
+
result = parse_literal();
|
637
|
+
break;
|
638
|
+
case regex_constants::escape_type_right_word:
|
639
|
+
if(this->flags() & regbase::emacs_ex)
|
640
|
+
{
|
641
|
+
++m_position;
|
642
|
+
this->append_state(syntax_element_word_end);
|
643
|
+
}
|
644
|
+
else
|
645
|
+
result = parse_literal();
|
646
|
+
break;
|
647
|
+
default:
|
648
|
+
if(this->flags() & regbase::emacs_ex)
|
649
|
+
{
|
650
|
+
bool negate = true;
|
651
|
+
switch(*m_position)
|
652
|
+
{
|
653
|
+
case 'w':
|
654
|
+
negate = false;
|
655
|
+
BOOST_REGEX_FALLTHROUGH;
|
656
|
+
case 'W':
|
657
|
+
{
|
658
|
+
basic_char_set<charT, traits> char_set;
|
659
|
+
if(negate)
|
660
|
+
char_set.negate();
|
661
|
+
char_set.add_class(this->m_word_mask);
|
662
|
+
if(0 == this->append_set(char_set))
|
663
|
+
{
|
664
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
665
|
+
return false;
|
666
|
+
}
|
667
|
+
++m_position;
|
668
|
+
return true;
|
669
|
+
}
|
670
|
+
case 's':
|
671
|
+
negate = false;
|
672
|
+
BOOST_REGEX_FALLTHROUGH;
|
673
|
+
case 'S':
|
674
|
+
return add_emacs_code(negate);
|
675
|
+
case 'c':
|
676
|
+
case 'C':
|
677
|
+
// not supported yet:
|
678
|
+
fail(regex_constants::error_escape, m_position - m_base, "The \\c and \\C escape sequences are not supported by POSIX basic regular expressions: try the Perl syntax instead.");
|
679
|
+
return false;
|
680
|
+
default:
|
681
|
+
break;
|
682
|
+
}
|
683
|
+
}
|
684
|
+
result = parse_literal();
|
685
|
+
break;
|
686
|
+
}
|
687
|
+
return result;
|
688
|
+
}
|
689
|
+
|
690
|
+
template <class charT, class traits>
|
691
|
+
bool basic_regex_parser<charT, traits>::parse_extended_escape()
|
692
|
+
{
|
693
|
+
++m_position;
|
694
|
+
if(m_position == m_end)
|
695
|
+
{
|
696
|
+
fail(regex_constants::error_escape, m_position - m_base, "Incomplete escape sequence found.");
|
697
|
+
return false;
|
698
|
+
}
|
699
|
+
bool negate = false; // in case this is a character class escape: \w \d etc
|
700
|
+
switch(this->m_traits.escape_syntax_type(*m_position))
|
701
|
+
{
|
702
|
+
case regex_constants::escape_type_not_class:
|
703
|
+
negate = true;
|
704
|
+
BOOST_REGEX_FALLTHROUGH;
|
705
|
+
case regex_constants::escape_type_class:
|
706
|
+
{
|
707
|
+
escape_type_class_jump:
|
708
|
+
typedef typename traits::char_class_type m_type;
|
709
|
+
m_type m = this->m_traits.lookup_classname(m_position, m_position+1);
|
710
|
+
if(m != 0)
|
711
|
+
{
|
712
|
+
basic_char_set<charT, traits> char_set;
|
713
|
+
if(negate)
|
714
|
+
char_set.negate();
|
715
|
+
char_set.add_class(m);
|
716
|
+
if(0 == this->append_set(char_set))
|
717
|
+
{
|
718
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
719
|
+
return false;
|
720
|
+
}
|
721
|
+
++m_position;
|
722
|
+
return true;
|
723
|
+
}
|
724
|
+
//
|
725
|
+
// not a class, just a regular unknown escape:
|
726
|
+
//
|
727
|
+
this->append_literal(unescape_character());
|
728
|
+
break;
|
729
|
+
}
|
730
|
+
case regex_constants::syntax_digit:
|
731
|
+
return parse_backref();
|
732
|
+
case regex_constants::escape_type_left_word:
|
733
|
+
++m_position;
|
734
|
+
this->append_state(syntax_element_word_start);
|
735
|
+
break;
|
736
|
+
case regex_constants::escape_type_right_word:
|
737
|
+
++m_position;
|
738
|
+
this->append_state(syntax_element_word_end);
|
739
|
+
break;
|
740
|
+
case regex_constants::escape_type_start_buffer:
|
741
|
+
++m_position;
|
742
|
+
this->append_state(syntax_element_buffer_start);
|
743
|
+
break;
|
744
|
+
case regex_constants::escape_type_end_buffer:
|
745
|
+
++m_position;
|
746
|
+
this->append_state(syntax_element_buffer_end);
|
747
|
+
break;
|
748
|
+
case regex_constants::escape_type_word_assert:
|
749
|
+
++m_position;
|
750
|
+
this->append_state(syntax_element_word_boundary);
|
751
|
+
break;
|
752
|
+
case regex_constants::escape_type_not_word_assert:
|
753
|
+
++m_position;
|
754
|
+
this->append_state(syntax_element_within_word);
|
755
|
+
break;
|
756
|
+
case regex_constants::escape_type_Z:
|
757
|
+
++m_position;
|
758
|
+
this->append_state(syntax_element_soft_buffer_end);
|
759
|
+
break;
|
760
|
+
case regex_constants::escape_type_Q:
|
761
|
+
return parse_QE();
|
762
|
+
case regex_constants::escape_type_C:
|
763
|
+
return parse_match_any();
|
764
|
+
case regex_constants::escape_type_X:
|
765
|
+
++m_position;
|
766
|
+
this->append_state(syntax_element_combining);
|
767
|
+
break;
|
768
|
+
case regex_constants::escape_type_G:
|
769
|
+
++m_position;
|
770
|
+
this->append_state(syntax_element_restart_continue);
|
771
|
+
break;
|
772
|
+
case regex_constants::escape_type_not_property:
|
773
|
+
negate = true;
|
774
|
+
BOOST_REGEX_FALLTHROUGH;
|
775
|
+
case regex_constants::escape_type_property:
|
776
|
+
{
|
777
|
+
++m_position;
|
778
|
+
char_class_type m;
|
779
|
+
if(m_position == m_end)
|
780
|
+
{
|
781
|
+
fail(regex_constants::error_escape, m_position - m_base, "Incomplete property escape found.");
|
782
|
+
return false;
|
783
|
+
}
|
784
|
+
// maybe have \p{ddd}
|
785
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_open_brace)
|
786
|
+
{
|
787
|
+
const charT* base = m_position;
|
788
|
+
// skip forward until we find enclosing brace:
|
789
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_brace))
|
790
|
+
++m_position;
|
791
|
+
if(m_position == m_end)
|
792
|
+
{
|
793
|
+
fail(regex_constants::error_escape, m_position - m_base, "Closing } missing from property escape sequence.");
|
794
|
+
return false;
|
795
|
+
}
|
796
|
+
m = this->m_traits.lookup_classname(++base, m_position++);
|
797
|
+
}
|
798
|
+
else
|
799
|
+
{
|
800
|
+
m = this->m_traits.lookup_classname(m_position, m_position+1);
|
801
|
+
++m_position;
|
802
|
+
}
|
803
|
+
if(m != 0)
|
804
|
+
{
|
805
|
+
basic_char_set<charT, traits> char_set;
|
806
|
+
if(negate)
|
807
|
+
char_set.negate();
|
808
|
+
char_set.add_class(m);
|
809
|
+
if(0 == this->append_set(char_set))
|
810
|
+
{
|
811
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
812
|
+
return false;
|
813
|
+
}
|
814
|
+
return true;
|
815
|
+
}
|
816
|
+
fail(regex_constants::error_ctype, m_position - m_base, "Escape sequence was neither a valid property nor a valid character class name.");
|
817
|
+
return false;
|
818
|
+
}
|
819
|
+
case regex_constants::escape_type_reset_start_mark:
|
820
|
+
if(0 == (this->flags() & (regbase::main_option_type | regbase::no_perl_ex)))
|
821
|
+
{
|
822
|
+
re_brace* pb = static_cast<re_brace*>(this->append_state(syntax_element_startmark, sizeof(re_brace)));
|
823
|
+
pb->index = -5;
|
824
|
+
pb->icase = this->flags() & regbase::icase;
|
825
|
+
this->m_pdata->m_data.align();
|
826
|
+
++m_position;
|
827
|
+
return true;
|
828
|
+
}
|
829
|
+
goto escape_type_class_jump;
|
830
|
+
case regex_constants::escape_type_line_ending:
|
831
|
+
if(0 == (this->flags() & (regbase::main_option_type | regbase::no_perl_ex)))
|
832
|
+
{
|
833
|
+
const charT* e = get_escape_R_string<charT>();
|
834
|
+
const charT* old_position = m_position;
|
835
|
+
const charT* old_end = m_end;
|
836
|
+
const charT* old_base = m_base;
|
837
|
+
m_position = e;
|
838
|
+
m_base = e;
|
839
|
+
m_end = e + traits::length(e);
|
840
|
+
bool r = parse_all();
|
841
|
+
m_position = ++old_position;
|
842
|
+
m_end = old_end;
|
843
|
+
m_base = old_base;
|
844
|
+
return r;
|
845
|
+
}
|
846
|
+
goto escape_type_class_jump;
|
847
|
+
case regex_constants::escape_type_extended_backref:
|
848
|
+
if(0 == (this->flags() & (regbase::main_option_type | regbase::no_perl_ex)))
|
849
|
+
{
|
850
|
+
bool have_brace = false;
|
851
|
+
bool negative = false;
|
852
|
+
static const char incomplete_message[] = "Incomplete \\g escape found.";
|
853
|
+
if(++m_position == m_end)
|
854
|
+
{
|
855
|
+
fail(regex_constants::error_escape, m_position - m_base, incomplete_message);
|
856
|
+
return false;
|
857
|
+
}
|
858
|
+
// maybe have \g{ddd}
|
859
|
+
regex_constants::syntax_type syn = this->m_traits.syntax_type(*m_position);
|
860
|
+
regex_constants::syntax_type syn_end = 0;
|
861
|
+
if((syn == regex_constants::syntax_open_brace)
|
862
|
+
|| (syn == regex_constants::escape_type_left_word)
|
863
|
+
|| (syn == regex_constants::escape_type_end_buffer))
|
864
|
+
{
|
865
|
+
if(++m_position == m_end)
|
866
|
+
{
|
867
|
+
fail(regex_constants::error_escape, m_position - m_base, incomplete_message);
|
868
|
+
return false;
|
869
|
+
}
|
870
|
+
have_brace = true;
|
871
|
+
switch(syn)
|
872
|
+
{
|
873
|
+
case regex_constants::syntax_open_brace:
|
874
|
+
syn_end = regex_constants::syntax_close_brace;
|
875
|
+
break;
|
876
|
+
case regex_constants::escape_type_left_word:
|
877
|
+
syn_end = regex_constants::escape_type_right_word;
|
878
|
+
break;
|
879
|
+
default:
|
880
|
+
syn_end = regex_constants::escape_type_end_buffer;
|
881
|
+
break;
|
882
|
+
}
|
883
|
+
}
|
884
|
+
negative = (*m_position == static_cast<charT>('-'));
|
885
|
+
if((negative) && (++m_position == m_end))
|
886
|
+
{
|
887
|
+
fail(regex_constants::error_escape, m_position - m_base, incomplete_message);
|
888
|
+
return false;
|
889
|
+
}
|
890
|
+
const charT* pc = m_position;
|
891
|
+
std::intmax_t i = this->m_traits.toi(pc, m_end, 10);
|
892
|
+
if((i < 0) && syn_end)
|
893
|
+
{
|
894
|
+
// Check for a named capture, get the leftmost one if there is more than one:
|
895
|
+
const charT* base = m_position;
|
896
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != syn_end))
|
897
|
+
{
|
898
|
+
++m_position;
|
899
|
+
}
|
900
|
+
i = hash_value_from_capture_name(base, m_position);
|
901
|
+
pc = m_position;
|
902
|
+
}
|
903
|
+
if(negative)
|
904
|
+
i = 1 + (static_cast<std::intmax_t>(m_mark_count) - i);
|
905
|
+
if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0)))
|
906
|
+
{
|
907
|
+
m_position = pc;
|
908
|
+
re_brace* pb = static_cast<re_brace*>(this->append_state(syntax_element_backref, sizeof(re_brace)));
|
909
|
+
pb->index = (int)i;
|
910
|
+
pb->icase = this->flags() & regbase::icase;
|
911
|
+
if ((i > m_max_backref) && (i < hash_value_mask))
|
912
|
+
m_max_backref = i;
|
913
|
+
}
|
914
|
+
else
|
915
|
+
{
|
916
|
+
fail(regex_constants::error_backref, m_position - m_base);
|
917
|
+
return false;
|
918
|
+
}
|
919
|
+
m_position = pc;
|
920
|
+
if(have_brace)
|
921
|
+
{
|
922
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != syn_end))
|
923
|
+
{
|
924
|
+
fail(regex_constants::error_escape, m_position - m_base, incomplete_message);
|
925
|
+
return false;
|
926
|
+
}
|
927
|
+
++m_position;
|
928
|
+
}
|
929
|
+
return true;
|
930
|
+
}
|
931
|
+
goto escape_type_class_jump;
|
932
|
+
case regex_constants::escape_type_control_v:
|
933
|
+
if(0 == (this->flags() & (regbase::main_option_type | regbase::no_perl_ex)))
|
934
|
+
goto escape_type_class_jump;
|
935
|
+
BOOST_REGEX_FALLTHROUGH;
|
936
|
+
default:
|
937
|
+
this->append_literal(unescape_character());
|
938
|
+
break;
|
939
|
+
}
|
940
|
+
return true;
|
941
|
+
}
|
942
|
+
|
943
|
+
template <class charT, class traits>
|
944
|
+
bool basic_regex_parser<charT, traits>::parse_match_any()
|
945
|
+
{
|
946
|
+
//
|
947
|
+
// we have a '.' that can match any character:
|
948
|
+
//
|
949
|
+
++m_position;
|
950
|
+
static_cast<re_dot*>(
|
951
|
+
this->append_state(syntax_element_wild, sizeof(re_dot))
|
952
|
+
)->mask = static_cast<unsigned char>(this->flags() & regbase::no_mod_s
|
953
|
+
? BOOST_REGEX_DETAIL_NS::force_not_newline
|
954
|
+
: this->flags() & regbase::mod_s ?
|
955
|
+
BOOST_REGEX_DETAIL_NS::force_newline : BOOST_REGEX_DETAIL_NS::dont_care);
|
956
|
+
return true;
|
957
|
+
}
|
958
|
+
|
959
|
+
template <class charT, class traits>
|
960
|
+
bool basic_regex_parser<charT, traits>::parse_repeat(std::size_t low, std::size_t high)
|
961
|
+
{
|
962
|
+
bool greedy = true;
|
963
|
+
bool possessive = false;
|
964
|
+
std::size_t insert_point;
|
965
|
+
//
|
966
|
+
// when we get to here we may have a non-greedy ? mark still to come:
|
967
|
+
//
|
968
|
+
if((m_position != m_end)
|
969
|
+
&& (
|
970
|
+
(0 == (this->flags() & (regbase::main_option_type | regbase::no_perl_ex)))
|
971
|
+
|| ((regbase::basic_syntax_group|regbase::emacs_ex) == (this->flags() & (regbase::main_option_type | regbase::emacs_ex)))
|
972
|
+
)
|
973
|
+
)
|
974
|
+
{
|
975
|
+
// OK we have a perl or emacs regex, check for a '?':
|
976
|
+
if ((this->flags() & (regbase::main_option_type | regbase::mod_x | regbase::no_perl_ex)) == regbase::mod_x)
|
977
|
+
{
|
978
|
+
// whitespace skip:
|
979
|
+
while ((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
980
|
+
++m_position;
|
981
|
+
}
|
982
|
+
if((m_position != m_end) && (this->m_traits.syntax_type(*m_position) == regex_constants::syntax_question))
|
983
|
+
{
|
984
|
+
greedy = false;
|
985
|
+
++m_position;
|
986
|
+
}
|
987
|
+
// for perl regexes only check for possessive ++ repeats.
|
988
|
+
if((m_position != m_end)
|
989
|
+
&& (0 == (this->flags() & regbase::main_option_type))
|
990
|
+
&& (this->m_traits.syntax_type(*m_position) == regex_constants::syntax_plus))
|
991
|
+
{
|
992
|
+
possessive = true;
|
993
|
+
++m_position;
|
994
|
+
}
|
995
|
+
}
|
996
|
+
if(0 == this->m_last_state)
|
997
|
+
{
|
998
|
+
fail(regex_constants::error_badrepeat, std::distance(m_base, m_position), "Nothing to repeat.");
|
999
|
+
return false;
|
1000
|
+
}
|
1001
|
+
if(this->m_last_state->type == syntax_element_endmark)
|
1002
|
+
{
|
1003
|
+
// insert a repeat before the '(' matching the last ')':
|
1004
|
+
insert_point = this->m_paren_start;
|
1005
|
+
}
|
1006
|
+
else if((this->m_last_state->type == syntax_element_literal) && (static_cast<re_literal*>(this->m_last_state)->length > 1))
|
1007
|
+
{
|
1008
|
+
// the last state was a literal with more than one character, split it in two:
|
1009
|
+
re_literal* lit = static_cast<re_literal*>(this->m_last_state);
|
1010
|
+
charT c = (static_cast<charT*>(static_cast<void*>(lit+1)))[lit->length - 1];
|
1011
|
+
lit->length -= 1;
|
1012
|
+
// now append new state:
|
1013
|
+
lit = static_cast<re_literal*>(this->append_state(syntax_element_literal, sizeof(re_literal) + sizeof(charT)));
|
1014
|
+
lit->length = 1;
|
1015
|
+
(static_cast<charT*>(static_cast<void*>(lit+1)))[0] = c;
|
1016
|
+
insert_point = this->getoffset(this->m_last_state);
|
1017
|
+
}
|
1018
|
+
else
|
1019
|
+
{
|
1020
|
+
// repeat the last state whatever it was, need to add some error checking here:
|
1021
|
+
switch(this->m_last_state->type)
|
1022
|
+
{
|
1023
|
+
case syntax_element_start_line:
|
1024
|
+
case syntax_element_end_line:
|
1025
|
+
case syntax_element_word_boundary:
|
1026
|
+
case syntax_element_within_word:
|
1027
|
+
case syntax_element_word_start:
|
1028
|
+
case syntax_element_word_end:
|
1029
|
+
case syntax_element_buffer_start:
|
1030
|
+
case syntax_element_buffer_end:
|
1031
|
+
case syntax_element_alt:
|
1032
|
+
case syntax_element_soft_buffer_end:
|
1033
|
+
case syntax_element_restart_continue:
|
1034
|
+
case syntax_element_jump:
|
1035
|
+
case syntax_element_startmark:
|
1036
|
+
case syntax_element_backstep:
|
1037
|
+
case syntax_element_toggle_case:
|
1038
|
+
// can't legally repeat any of the above:
|
1039
|
+
fail(regex_constants::error_badrepeat, m_position - m_base);
|
1040
|
+
return false;
|
1041
|
+
default:
|
1042
|
+
// do nothing...
|
1043
|
+
break;
|
1044
|
+
}
|
1045
|
+
insert_point = this->getoffset(this->m_last_state);
|
1046
|
+
}
|
1047
|
+
//
|
1048
|
+
// OK we now know what to repeat, so insert the repeat around it:
|
1049
|
+
//
|
1050
|
+
re_repeat* rep = static_cast<re_repeat*>(this->insert_state(insert_point, syntax_element_rep, re_repeater_size));
|
1051
|
+
rep->min = low;
|
1052
|
+
rep->max = high;
|
1053
|
+
rep->greedy = greedy;
|
1054
|
+
rep->leading = false;
|
1055
|
+
// store our repeater position for later:
|
1056
|
+
std::ptrdiff_t rep_off = this->getoffset(rep);
|
1057
|
+
// and append a back jump to the repeat:
|
1058
|
+
re_jump* jmp = static_cast<re_jump*>(this->append_state(syntax_element_jump, sizeof(re_jump)));
|
1059
|
+
jmp->alt.i = rep_off - this->getoffset(jmp);
|
1060
|
+
this->m_pdata->m_data.align();
|
1061
|
+
// now fill in the alt jump for the repeat:
|
1062
|
+
rep = static_cast<re_repeat*>(this->getaddress(rep_off));
|
1063
|
+
rep->alt.i = this->m_pdata->m_data.size() - rep_off;
|
1064
|
+
//
|
1065
|
+
// If the repeat is possessive then bracket the repeat with a (?>...)
|
1066
|
+
// independent sub-expression construct:
|
1067
|
+
//
|
1068
|
+
if(possessive)
|
1069
|
+
{
|
1070
|
+
if(m_position != m_end)
|
1071
|
+
{
|
1072
|
+
//
|
1073
|
+
// Check for illegal following quantifier, we have to do this here, because
|
1074
|
+
// the extra states we insert below circumvents our usual error checking :-(
|
1075
|
+
//
|
1076
|
+
bool contin = false;
|
1077
|
+
do
|
1078
|
+
{
|
1079
|
+
if ((this->flags() & (regbase::main_option_type | regbase::mod_x | regbase::no_perl_ex)) == regbase::mod_x)
|
1080
|
+
{
|
1081
|
+
// whitespace skip:
|
1082
|
+
while ((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
1083
|
+
++m_position;
|
1084
|
+
}
|
1085
|
+
if (m_position != m_end)
|
1086
|
+
{
|
1087
|
+
switch (this->m_traits.syntax_type(*m_position))
|
1088
|
+
{
|
1089
|
+
case regex_constants::syntax_star:
|
1090
|
+
case regex_constants::syntax_plus:
|
1091
|
+
case regex_constants::syntax_question:
|
1092
|
+
case regex_constants::syntax_open_brace:
|
1093
|
+
fail(regex_constants::error_badrepeat, m_position - m_base);
|
1094
|
+
return false;
|
1095
|
+
case regex_constants::syntax_open_mark:
|
1096
|
+
// Do we have a comment? If so we need to skip it here...
|
1097
|
+
if ((m_position + 2 < m_end) && this->m_traits.syntax_type(*(m_position + 1)) == regex_constants::syntax_question
|
1098
|
+
&& this->m_traits.syntax_type(*(m_position + 2)) == regex_constants::syntax_hash)
|
1099
|
+
{
|
1100
|
+
while ((m_position != m_end)
|
1101
|
+
&& (this->m_traits.syntax_type(*m_position++) != regex_constants::syntax_close_mark)) {
|
1102
|
+
}
|
1103
|
+
contin = true;
|
1104
|
+
}
|
1105
|
+
else
|
1106
|
+
contin = false;
|
1107
|
+
break;
|
1108
|
+
default:
|
1109
|
+
contin = false;
|
1110
|
+
}
|
1111
|
+
}
|
1112
|
+
else
|
1113
|
+
contin = false;
|
1114
|
+
} while (contin);
|
1115
|
+
}
|
1116
|
+
re_brace* pb = static_cast<re_brace*>(this->insert_state(insert_point, syntax_element_startmark, sizeof(re_brace)));
|
1117
|
+
pb->index = -3;
|
1118
|
+
pb->icase = this->flags() & regbase::icase;
|
1119
|
+
jmp = static_cast<re_jump*>(this->insert_state(insert_point + sizeof(re_brace), syntax_element_jump, sizeof(re_jump)));
|
1120
|
+
this->m_pdata->m_data.align();
|
1121
|
+
jmp->alt.i = this->m_pdata->m_data.size() - this->getoffset(jmp);
|
1122
|
+
pb = static_cast<re_brace*>(this->append_state(syntax_element_endmark, sizeof(re_brace)));
|
1123
|
+
pb->index = -3;
|
1124
|
+
pb->icase = this->flags() & regbase::icase;
|
1125
|
+
}
|
1126
|
+
return true;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
template <class charT, class traits>
|
1130
|
+
bool basic_regex_parser<charT, traits>::parse_repeat_range(bool isbasic)
|
1131
|
+
{
|
1132
|
+
static const char incomplete_message[] = "Missing } in quantified repetition.";
|
1133
|
+
//
|
1134
|
+
// parse a repeat-range:
|
1135
|
+
//
|
1136
|
+
std::size_t min, max;
|
1137
|
+
std::intmax_t v;
|
1138
|
+
// skip whitespace:
|
1139
|
+
while((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
1140
|
+
++m_position;
|
1141
|
+
if(this->m_position == this->m_end)
|
1142
|
+
{
|
1143
|
+
if(this->flags() & (regbase::main_option_type | regbase::no_perl_ex))
|
1144
|
+
{
|
1145
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1146
|
+
return false;
|
1147
|
+
}
|
1148
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1149
|
+
--m_position;
|
1150
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1151
|
+
return parse_literal();
|
1152
|
+
}
|
1153
|
+
// get min:
|
1154
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
1155
|
+
// skip whitespace:
|
1156
|
+
if((v < 0) || (v > umax()))
|
1157
|
+
{
|
1158
|
+
if(this->flags() & (regbase::main_option_type | regbase::no_perl_ex))
|
1159
|
+
{
|
1160
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1161
|
+
return false;
|
1162
|
+
}
|
1163
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1164
|
+
--m_position;
|
1165
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1166
|
+
return parse_literal();
|
1167
|
+
}
|
1168
|
+
while((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
1169
|
+
++m_position;
|
1170
|
+
if(this->m_position == this->m_end)
|
1171
|
+
{
|
1172
|
+
if(this->flags() & (regbase::main_option_type | regbase::no_perl_ex))
|
1173
|
+
{
|
1174
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1175
|
+
return false;
|
1176
|
+
}
|
1177
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1178
|
+
--m_position;
|
1179
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1180
|
+
return parse_literal();
|
1181
|
+
}
|
1182
|
+
min = static_cast<std::size_t>(v);
|
1183
|
+
// see if we have a comma:
|
1184
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_comma)
|
1185
|
+
{
|
1186
|
+
// move on and error check:
|
1187
|
+
++m_position;
|
1188
|
+
// skip whitespace:
|
1189
|
+
while((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
1190
|
+
++m_position;
|
1191
|
+
if(this->m_position == this->m_end)
|
1192
|
+
{
|
1193
|
+
if(this->flags() & (regbase::main_option_type | regbase::no_perl_ex))
|
1194
|
+
{
|
1195
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1196
|
+
return false;
|
1197
|
+
}
|
1198
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1199
|
+
--m_position;
|
1200
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1201
|
+
return parse_literal();
|
1202
|
+
}
|
1203
|
+
// get the value if any:
|
1204
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
1205
|
+
max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)();
|
1206
|
+
}
|
1207
|
+
else
|
1208
|
+
{
|
1209
|
+
// no comma, max = min:
|
1210
|
+
max = min;
|
1211
|
+
}
|
1212
|
+
// skip whitespace:
|
1213
|
+
while((m_position != m_end) && this->m_traits.isctype(*m_position, this->m_mask_space))
|
1214
|
+
++m_position;
|
1215
|
+
// OK now check trailing }:
|
1216
|
+
if(this->m_position == this->m_end)
|
1217
|
+
{
|
1218
|
+
if(this->flags() & (regbase::main_option_type | regbase::no_perl_ex))
|
1219
|
+
{
|
1220
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1221
|
+
return false;
|
1222
|
+
}
|
1223
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1224
|
+
--m_position;
|
1225
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1226
|
+
return parse_literal();
|
1227
|
+
}
|
1228
|
+
if(isbasic)
|
1229
|
+
{
|
1230
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_escape)
|
1231
|
+
{
|
1232
|
+
++m_position;
|
1233
|
+
if(this->m_position == this->m_end)
|
1234
|
+
{
|
1235
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1236
|
+
return false;
|
1237
|
+
}
|
1238
|
+
}
|
1239
|
+
else
|
1240
|
+
{
|
1241
|
+
fail(regex_constants::error_brace, this->m_position - this->m_base, incomplete_message);
|
1242
|
+
return false;
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_close_brace)
|
1246
|
+
++m_position;
|
1247
|
+
else
|
1248
|
+
{
|
1249
|
+
// Treat the opening '{' as a literal character, rewind to start of error:
|
1250
|
+
--m_position;
|
1251
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_brace) --m_position;
|
1252
|
+
return parse_literal();
|
1253
|
+
}
|
1254
|
+
//
|
1255
|
+
// finally go and add the repeat, unless error:
|
1256
|
+
//
|
1257
|
+
if(min > max)
|
1258
|
+
{
|
1259
|
+
// Backtrack to error location:
|
1260
|
+
m_position -= 2;
|
1261
|
+
while(this->m_traits.isctype(*m_position, this->m_word_mask)) --m_position;
|
1262
|
+
++m_position;
|
1263
|
+
fail(regex_constants::error_badbrace, m_position - m_base);
|
1264
|
+
return false;
|
1265
|
+
}
|
1266
|
+
return parse_repeat(min, max);
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
template <class charT, class traits>
|
1270
|
+
bool basic_regex_parser<charT, traits>::parse_alt()
|
1271
|
+
{
|
1272
|
+
//
|
1273
|
+
// error check: if there have been no previous states,
|
1274
|
+
// or if the last state was a '(' then error:
|
1275
|
+
//
|
1276
|
+
if(
|
1277
|
+
((this->m_last_state == 0) || (this->m_last_state->type == syntax_element_startmark))
|
1278
|
+
&&
|
1279
|
+
!(
|
1280
|
+
((this->flags() & regbase::main_option_type) == regbase::perl_syntax_group)
|
1281
|
+
&&
|
1282
|
+
((this->flags() & regbase::no_empty_expressions) == 0)
|
1283
|
+
)
|
1284
|
+
)
|
1285
|
+
{
|
1286
|
+
fail(regex_constants::error_empty, this->m_position - this->m_base, "A regular expression cannot start with the alternation operator |.");
|
1287
|
+
return false;
|
1288
|
+
}
|
1289
|
+
//
|
1290
|
+
// Reset mark count if required:
|
1291
|
+
//
|
1292
|
+
if(m_max_mark < m_mark_count)
|
1293
|
+
m_max_mark = m_mark_count;
|
1294
|
+
if(m_mark_reset >= 0)
|
1295
|
+
m_mark_count = m_mark_reset;
|
1296
|
+
|
1297
|
+
++m_position;
|
1298
|
+
//
|
1299
|
+
// we need to append a trailing jump:
|
1300
|
+
//
|
1301
|
+
re_syntax_base* pj = this->append_state(BOOST_REGEX_DETAIL_NS::syntax_element_jump, sizeof(re_jump));
|
1302
|
+
std::ptrdiff_t jump_offset = this->getoffset(pj);
|
1303
|
+
//
|
1304
|
+
// now insert the alternative:
|
1305
|
+
//
|
1306
|
+
re_alt* palt = static_cast<re_alt*>(this->insert_state(this->m_alt_insert_point, syntax_element_alt, re_alt_size));
|
1307
|
+
jump_offset += re_alt_size;
|
1308
|
+
this->m_pdata->m_data.align();
|
1309
|
+
palt->alt.i = this->m_pdata->m_data.size() - this->getoffset(palt);
|
1310
|
+
//
|
1311
|
+
// update m_alt_insert_point so that the next alternate gets
|
1312
|
+
// inserted at the start of the second of the two we've just created:
|
1313
|
+
//
|
1314
|
+
this->m_alt_insert_point = this->m_pdata->m_data.size();
|
1315
|
+
//
|
1316
|
+
// the start of this alternative must have a case changes state
|
1317
|
+
// if the current block has messed around with case changes:
|
1318
|
+
//
|
1319
|
+
if(m_has_case_change)
|
1320
|
+
{
|
1321
|
+
static_cast<re_case*>(
|
1322
|
+
this->append_state(syntax_element_toggle_case, sizeof(re_case))
|
1323
|
+
)->icase = this->m_icase;
|
1324
|
+
}
|
1325
|
+
//
|
1326
|
+
// push the alternative onto our stack, a recursive
|
1327
|
+
// implementation here is easier to understand (and faster
|
1328
|
+
// as it happens), but causes all kinds of stack overflow problems
|
1329
|
+
// on programs with small stacks (COM+).
|
1330
|
+
//
|
1331
|
+
m_alt_jumps.push_back(jump_offset);
|
1332
|
+
return true;
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
template <class charT, class traits>
|
1336
|
+
bool basic_regex_parser<charT, traits>::parse_set()
|
1337
|
+
{
|
1338
|
+
static const char incomplete_message[] = "Character set declaration starting with [ terminated prematurely - either no ] was found or the set had no content.";
|
1339
|
+
++m_position;
|
1340
|
+
if(m_position == m_end)
|
1341
|
+
{
|
1342
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1343
|
+
return false;
|
1344
|
+
}
|
1345
|
+
basic_char_set<charT, traits> char_set;
|
1346
|
+
|
1347
|
+
const charT* base = m_position; // where the '[' was
|
1348
|
+
const charT* item_base = m_position; // where the '[' or '^' was
|
1349
|
+
|
1350
|
+
while(m_position != m_end)
|
1351
|
+
{
|
1352
|
+
switch(this->m_traits.syntax_type(*m_position))
|
1353
|
+
{
|
1354
|
+
case regex_constants::syntax_caret:
|
1355
|
+
if(m_position == base)
|
1356
|
+
{
|
1357
|
+
char_set.negate();
|
1358
|
+
++m_position;
|
1359
|
+
item_base = m_position;
|
1360
|
+
}
|
1361
|
+
else
|
1362
|
+
parse_set_literal(char_set);
|
1363
|
+
break;
|
1364
|
+
case regex_constants::syntax_close_set:
|
1365
|
+
if(m_position == item_base)
|
1366
|
+
{
|
1367
|
+
parse_set_literal(char_set);
|
1368
|
+
break;
|
1369
|
+
}
|
1370
|
+
else
|
1371
|
+
{
|
1372
|
+
++m_position;
|
1373
|
+
if(0 == this->append_set(char_set))
|
1374
|
+
{
|
1375
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
1376
|
+
return false;
|
1377
|
+
}
|
1378
|
+
}
|
1379
|
+
return true;
|
1380
|
+
case regex_constants::syntax_open_set:
|
1381
|
+
if(parse_inner_set(char_set))
|
1382
|
+
break;
|
1383
|
+
return true;
|
1384
|
+
case regex_constants::syntax_escape:
|
1385
|
+
{
|
1386
|
+
//
|
1387
|
+
// look ahead and see if this is a character class shortcut
|
1388
|
+
// \d \w \s etc...
|
1389
|
+
//
|
1390
|
+
++m_position;
|
1391
|
+
if(this->m_traits.escape_syntax_type(*m_position)
|
1392
|
+
== regex_constants::escape_type_class)
|
1393
|
+
{
|
1394
|
+
char_class_type m = this->m_traits.lookup_classname(m_position, m_position+1);
|
1395
|
+
if(m != 0)
|
1396
|
+
{
|
1397
|
+
char_set.add_class(m);
|
1398
|
+
++m_position;
|
1399
|
+
break;
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
else if(this->m_traits.escape_syntax_type(*m_position)
|
1403
|
+
== regex_constants::escape_type_not_class)
|
1404
|
+
{
|
1405
|
+
// negated character class:
|
1406
|
+
char_class_type m = this->m_traits.lookup_classname(m_position, m_position+1);
|
1407
|
+
if(m != 0)
|
1408
|
+
{
|
1409
|
+
char_set.add_negated_class(m);
|
1410
|
+
++m_position;
|
1411
|
+
break;
|
1412
|
+
}
|
1413
|
+
}
|
1414
|
+
// not a character class, just a regular escape:
|
1415
|
+
--m_position;
|
1416
|
+
parse_set_literal(char_set);
|
1417
|
+
break;
|
1418
|
+
}
|
1419
|
+
default:
|
1420
|
+
parse_set_literal(char_set);
|
1421
|
+
break;
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
return m_position != m_end;
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
template <class charT, class traits>
|
1428
|
+
bool basic_regex_parser<charT, traits>::parse_inner_set(basic_char_set<charT, traits>& char_set)
|
1429
|
+
{
|
1430
|
+
static const char incomplete_message[] = "Character class declaration starting with [ terminated prematurely - either no ] was found or the set had no content.";
|
1431
|
+
//
|
1432
|
+
// we have either a character class [:name:]
|
1433
|
+
// a collating element [.name.]
|
1434
|
+
// or an equivalence class [=name=]
|
1435
|
+
//
|
1436
|
+
if(m_end == ++m_position)
|
1437
|
+
{
|
1438
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1439
|
+
return false;
|
1440
|
+
}
|
1441
|
+
switch(this->m_traits.syntax_type(*m_position))
|
1442
|
+
{
|
1443
|
+
case regex_constants::syntax_dot:
|
1444
|
+
//
|
1445
|
+
// a collating element is treated as a literal:
|
1446
|
+
//
|
1447
|
+
--m_position;
|
1448
|
+
parse_set_literal(char_set);
|
1449
|
+
return true;
|
1450
|
+
case regex_constants::syntax_colon:
|
1451
|
+
{
|
1452
|
+
// check that character classes are actually enabled:
|
1453
|
+
if((this->flags() & (regbase::main_option_type | regbase::no_char_classes))
|
1454
|
+
== (regbase::basic_syntax_group | regbase::no_char_classes))
|
1455
|
+
{
|
1456
|
+
--m_position;
|
1457
|
+
parse_set_literal(char_set);
|
1458
|
+
return true;
|
1459
|
+
}
|
1460
|
+
// skip the ':'
|
1461
|
+
if(m_end == ++m_position)
|
1462
|
+
{
|
1463
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1464
|
+
return false;
|
1465
|
+
}
|
1466
|
+
const charT* name_first = m_position;
|
1467
|
+
// skip at least one character, then find the matching ':]'
|
1468
|
+
if(m_end == ++m_position)
|
1469
|
+
{
|
1470
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1471
|
+
return false;
|
1472
|
+
}
|
1473
|
+
while((m_position != m_end)
|
1474
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_colon))
|
1475
|
+
++m_position;
|
1476
|
+
const charT* name_last = m_position;
|
1477
|
+
if(m_end == m_position)
|
1478
|
+
{
|
1479
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1480
|
+
return false;
|
1481
|
+
}
|
1482
|
+
if((m_end == ++m_position)
|
1483
|
+
|| (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_set))
|
1484
|
+
{
|
1485
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1486
|
+
return false;
|
1487
|
+
}
|
1488
|
+
//
|
1489
|
+
// check for negated class:
|
1490
|
+
//
|
1491
|
+
bool negated = false;
|
1492
|
+
if(this->m_traits.syntax_type(*name_first) == regex_constants::syntax_caret)
|
1493
|
+
{
|
1494
|
+
++name_first;
|
1495
|
+
negated = true;
|
1496
|
+
}
|
1497
|
+
typedef typename traits::char_class_type m_type;
|
1498
|
+
m_type m = this->m_traits.lookup_classname(name_first, name_last);
|
1499
|
+
if(m == 0)
|
1500
|
+
{
|
1501
|
+
if(char_set.empty() && (name_last - name_first == 1))
|
1502
|
+
{
|
1503
|
+
// maybe a special case:
|
1504
|
+
++m_position;
|
1505
|
+
if( (m_position != m_end)
|
1506
|
+
&& (this->m_traits.syntax_type(*m_position)
|
1507
|
+
== regex_constants::syntax_close_set))
|
1508
|
+
{
|
1509
|
+
if(this->m_traits.escape_syntax_type(*name_first)
|
1510
|
+
== regex_constants::escape_type_left_word)
|
1511
|
+
{
|
1512
|
+
++m_position;
|
1513
|
+
this->append_state(syntax_element_word_start);
|
1514
|
+
return false;
|
1515
|
+
}
|
1516
|
+
if(this->m_traits.escape_syntax_type(*name_first)
|
1517
|
+
== regex_constants::escape_type_right_word)
|
1518
|
+
{
|
1519
|
+
++m_position;
|
1520
|
+
this->append_state(syntax_element_word_end);
|
1521
|
+
return false;
|
1522
|
+
}
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
fail(regex_constants::error_ctype, name_first - m_base);
|
1526
|
+
return false;
|
1527
|
+
}
|
1528
|
+
if(!negated)
|
1529
|
+
char_set.add_class(m);
|
1530
|
+
else
|
1531
|
+
char_set.add_negated_class(m);
|
1532
|
+
++m_position;
|
1533
|
+
break;
|
1534
|
+
}
|
1535
|
+
case regex_constants::syntax_equal:
|
1536
|
+
{
|
1537
|
+
// skip the '='
|
1538
|
+
if(m_end == ++m_position)
|
1539
|
+
{
|
1540
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1541
|
+
return false;
|
1542
|
+
}
|
1543
|
+
const charT* name_first = m_position;
|
1544
|
+
// skip at least one character, then find the matching '=]'
|
1545
|
+
if(m_end == ++m_position)
|
1546
|
+
{
|
1547
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1548
|
+
return false;
|
1549
|
+
}
|
1550
|
+
while((m_position != m_end)
|
1551
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_equal))
|
1552
|
+
++m_position;
|
1553
|
+
const charT* name_last = m_position;
|
1554
|
+
if(m_end == m_position)
|
1555
|
+
{
|
1556
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1557
|
+
return false;
|
1558
|
+
}
|
1559
|
+
if((m_end == ++m_position)
|
1560
|
+
|| (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_set))
|
1561
|
+
{
|
1562
|
+
fail(regex_constants::error_brack, m_position - m_base, incomplete_message);
|
1563
|
+
return false;
|
1564
|
+
}
|
1565
|
+
string_type m = this->m_traits.lookup_collatename(name_first, name_last);
|
1566
|
+
if(m.empty() || (m.size() > 2))
|
1567
|
+
{
|
1568
|
+
fail(regex_constants::error_collate, name_first - m_base);
|
1569
|
+
return false;
|
1570
|
+
}
|
1571
|
+
digraph<charT> d;
|
1572
|
+
d.first = m[0];
|
1573
|
+
if(m.size() > 1)
|
1574
|
+
d.second = m[1];
|
1575
|
+
else
|
1576
|
+
d.second = 0;
|
1577
|
+
char_set.add_equivalent(d);
|
1578
|
+
++m_position;
|
1579
|
+
break;
|
1580
|
+
}
|
1581
|
+
default:
|
1582
|
+
--m_position;
|
1583
|
+
parse_set_literal(char_set);
|
1584
|
+
break;
|
1585
|
+
}
|
1586
|
+
return true;
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
template <class charT, class traits>
|
1590
|
+
void basic_regex_parser<charT, traits>::parse_set_literal(basic_char_set<charT, traits>& char_set)
|
1591
|
+
{
|
1592
|
+
digraph<charT> start_range(get_next_set_literal(char_set));
|
1593
|
+
if(m_end == m_position)
|
1594
|
+
{
|
1595
|
+
fail(regex_constants::error_brack, m_position - m_base);
|
1596
|
+
return;
|
1597
|
+
}
|
1598
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_dash)
|
1599
|
+
{
|
1600
|
+
// we have a range:
|
1601
|
+
if(m_end == ++m_position)
|
1602
|
+
{
|
1603
|
+
fail(regex_constants::error_brack, m_position - m_base);
|
1604
|
+
return;
|
1605
|
+
}
|
1606
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_set)
|
1607
|
+
{
|
1608
|
+
digraph<charT> end_range = get_next_set_literal(char_set);
|
1609
|
+
char_set.add_range(start_range, end_range);
|
1610
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_dash)
|
1611
|
+
{
|
1612
|
+
if(m_end == ++m_position)
|
1613
|
+
{
|
1614
|
+
fail(regex_constants::error_brack, m_position - m_base);
|
1615
|
+
return;
|
1616
|
+
}
|
1617
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_close_set)
|
1618
|
+
{
|
1619
|
+
// trailing - :
|
1620
|
+
--m_position;
|
1621
|
+
return;
|
1622
|
+
}
|
1623
|
+
fail(regex_constants::error_range, m_position - m_base);
|
1624
|
+
return;
|
1625
|
+
}
|
1626
|
+
return;
|
1627
|
+
}
|
1628
|
+
--m_position;
|
1629
|
+
}
|
1630
|
+
char_set.add_single(start_range);
|
1631
|
+
}
|
1632
|
+
|
1633
|
+
template <class charT, class traits>
|
1634
|
+
digraph<charT> basic_regex_parser<charT, traits>::get_next_set_literal(basic_char_set<charT, traits>& char_set)
|
1635
|
+
{
|
1636
|
+
digraph<charT> result;
|
1637
|
+
switch(this->m_traits.syntax_type(*m_position))
|
1638
|
+
{
|
1639
|
+
case regex_constants::syntax_dash:
|
1640
|
+
if(!char_set.empty())
|
1641
|
+
{
|
1642
|
+
// see if we are at the end of the set:
|
1643
|
+
if((++m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_set))
|
1644
|
+
{
|
1645
|
+
fail(regex_constants::error_range, m_position - m_base);
|
1646
|
+
return result;
|
1647
|
+
}
|
1648
|
+
--m_position;
|
1649
|
+
}
|
1650
|
+
result.first = *m_position++;
|
1651
|
+
return result;
|
1652
|
+
case regex_constants::syntax_escape:
|
1653
|
+
// check to see if escapes are supported first:
|
1654
|
+
if(this->flags() & regex_constants::no_escape_in_lists)
|
1655
|
+
{
|
1656
|
+
result = *m_position++;
|
1657
|
+
break;
|
1658
|
+
}
|
1659
|
+
++m_position;
|
1660
|
+
result = unescape_character();
|
1661
|
+
break;
|
1662
|
+
case regex_constants::syntax_open_set:
|
1663
|
+
{
|
1664
|
+
if(m_end == ++m_position)
|
1665
|
+
{
|
1666
|
+
fail(regex_constants::error_collate, m_position - m_base);
|
1667
|
+
return result;
|
1668
|
+
}
|
1669
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_dot)
|
1670
|
+
{
|
1671
|
+
--m_position;
|
1672
|
+
result.first = *m_position;
|
1673
|
+
++m_position;
|
1674
|
+
return result;
|
1675
|
+
}
|
1676
|
+
if(m_end == ++m_position)
|
1677
|
+
{
|
1678
|
+
fail(regex_constants::error_collate, m_position - m_base);
|
1679
|
+
return result;
|
1680
|
+
}
|
1681
|
+
const charT* name_first = m_position;
|
1682
|
+
// skip at least one character, then find the matching ':]'
|
1683
|
+
if(m_end == ++m_position)
|
1684
|
+
{
|
1685
|
+
fail(regex_constants::error_collate, name_first - m_base);
|
1686
|
+
return result;
|
1687
|
+
}
|
1688
|
+
while((m_position != m_end)
|
1689
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_dot))
|
1690
|
+
++m_position;
|
1691
|
+
const charT* name_last = m_position;
|
1692
|
+
if(m_end == m_position)
|
1693
|
+
{
|
1694
|
+
fail(regex_constants::error_collate, name_first - m_base);
|
1695
|
+
return result;
|
1696
|
+
}
|
1697
|
+
if((m_end == ++m_position)
|
1698
|
+
|| (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_set))
|
1699
|
+
{
|
1700
|
+
fail(regex_constants::error_collate, name_first - m_base);
|
1701
|
+
return result;
|
1702
|
+
}
|
1703
|
+
++m_position;
|
1704
|
+
string_type s = this->m_traits.lookup_collatename(name_first, name_last);
|
1705
|
+
if(s.empty() || (s.size() > 2))
|
1706
|
+
{
|
1707
|
+
fail(regex_constants::error_collate, name_first - m_base);
|
1708
|
+
return result;
|
1709
|
+
}
|
1710
|
+
result.first = s[0];
|
1711
|
+
if(s.size() > 1)
|
1712
|
+
result.second = s[1];
|
1713
|
+
else
|
1714
|
+
result.second = 0;
|
1715
|
+
return result;
|
1716
|
+
}
|
1717
|
+
default:
|
1718
|
+
result = *m_position++;
|
1719
|
+
}
|
1720
|
+
return result;
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
//
|
1724
|
+
// does a value fit in the specified charT type?
|
1725
|
+
//
|
1726
|
+
template <class charT>
|
1727
|
+
bool valid_value(charT, std::intmax_t v, const std::integral_constant<bool, true>&)
|
1728
|
+
{
|
1729
|
+
return (v >> (sizeof(charT) * CHAR_BIT)) == 0;
|
1730
|
+
}
|
1731
|
+
template <class charT>
|
1732
|
+
bool valid_value(charT, std::intmax_t, const std::integral_constant<bool, false>&)
|
1733
|
+
{
|
1734
|
+
return true; // v will alsways fit in a charT
|
1735
|
+
}
|
1736
|
+
template <class charT>
|
1737
|
+
bool valid_value(charT c, std::intmax_t v)
|
1738
|
+
{
|
1739
|
+
return valid_value(c, v, std::integral_constant<bool, (sizeof(charT) < sizeof(std::intmax_t))>());
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
template <class charT, class traits>
|
1743
|
+
charT basic_regex_parser<charT, traits>::unescape_character()
|
1744
|
+
{
|
1745
|
+
#ifdef BOOST_REGEX_MSVC
|
1746
|
+
#pragma warning(push)
|
1747
|
+
#pragma warning(disable:4127)
|
1748
|
+
#endif
|
1749
|
+
charT result(0);
|
1750
|
+
if(m_position == m_end)
|
1751
|
+
{
|
1752
|
+
fail(regex_constants::error_escape, m_position - m_base, "Escape sequence terminated prematurely.");
|
1753
|
+
return false;
|
1754
|
+
}
|
1755
|
+
switch(this->m_traits.escape_syntax_type(*m_position))
|
1756
|
+
{
|
1757
|
+
case regex_constants::escape_type_control_a:
|
1758
|
+
result = charT('\a');
|
1759
|
+
break;
|
1760
|
+
case regex_constants::escape_type_e:
|
1761
|
+
result = charT(27);
|
1762
|
+
break;
|
1763
|
+
case regex_constants::escape_type_control_f:
|
1764
|
+
result = charT('\f');
|
1765
|
+
break;
|
1766
|
+
case regex_constants::escape_type_control_n:
|
1767
|
+
result = charT('\n');
|
1768
|
+
break;
|
1769
|
+
case regex_constants::escape_type_control_r:
|
1770
|
+
result = charT('\r');
|
1771
|
+
break;
|
1772
|
+
case regex_constants::escape_type_control_t:
|
1773
|
+
result = charT('\t');
|
1774
|
+
break;
|
1775
|
+
case regex_constants::escape_type_control_v:
|
1776
|
+
result = charT('\v');
|
1777
|
+
break;
|
1778
|
+
case regex_constants::escape_type_word_assert:
|
1779
|
+
result = charT('\b');
|
1780
|
+
break;
|
1781
|
+
case regex_constants::escape_type_ascii_control:
|
1782
|
+
++m_position;
|
1783
|
+
if(m_position == m_end)
|
1784
|
+
{
|
1785
|
+
// Rewind to start of escape:
|
1786
|
+
--m_position;
|
1787
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1788
|
+
fail(regex_constants::error_escape, m_position - m_base, "ASCII escape sequence terminated prematurely.");
|
1789
|
+
return result;
|
1790
|
+
}
|
1791
|
+
result = static_cast<charT>(*m_position % 32);
|
1792
|
+
break;
|
1793
|
+
case regex_constants::escape_type_hex:
|
1794
|
+
++m_position;
|
1795
|
+
if(m_position == m_end)
|
1796
|
+
{
|
1797
|
+
// Rewind to start of escape:
|
1798
|
+
--m_position;
|
1799
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1800
|
+
fail(regex_constants::error_escape, m_position - m_base, "Hexadecimal escape sequence terminated prematurely.");
|
1801
|
+
return result;
|
1802
|
+
}
|
1803
|
+
// maybe have \x{ddd}
|
1804
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_open_brace)
|
1805
|
+
{
|
1806
|
+
++m_position;
|
1807
|
+
if(m_position == m_end)
|
1808
|
+
{
|
1809
|
+
// Rewind to start of escape:
|
1810
|
+
--m_position;
|
1811
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1812
|
+
fail(regex_constants::error_escape, m_position - m_base, "Missing } in hexadecimal escape sequence.");
|
1813
|
+
return result;
|
1814
|
+
}
|
1815
|
+
std::intmax_t i = this->m_traits.toi(m_position, m_end, 16);
|
1816
|
+
if((m_position == m_end)
|
1817
|
+
|| (i < 0)
|
1818
|
+
|| ((std::numeric_limits<charT>::is_specialized) && (i > (std::intmax_t)(std::numeric_limits<charT>::max)()))
|
1819
|
+
|| (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_brace))
|
1820
|
+
{
|
1821
|
+
// Rewind to start of escape:
|
1822
|
+
--m_position;
|
1823
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1824
|
+
fail(regex_constants::error_badbrace, m_position - m_base, "Hexadecimal escape sequence was invalid.");
|
1825
|
+
return result;
|
1826
|
+
}
|
1827
|
+
++m_position;
|
1828
|
+
result = charT(i);
|
1829
|
+
}
|
1830
|
+
else
|
1831
|
+
{
|
1832
|
+
std::ptrdiff_t len = (std::min)(static_cast<std::ptrdiff_t>(2), static_cast<std::ptrdiff_t>(m_end - m_position));
|
1833
|
+
std::intmax_t i = this->m_traits.toi(m_position, m_position + len, 16);
|
1834
|
+
if((i < 0)
|
1835
|
+
|| !valid_value(charT(0), i))
|
1836
|
+
{
|
1837
|
+
// Rewind to start of escape:
|
1838
|
+
--m_position;
|
1839
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1840
|
+
fail(regex_constants::error_escape, m_position - m_base, "Escape sequence did not encode a valid character.");
|
1841
|
+
return result;
|
1842
|
+
}
|
1843
|
+
result = charT(i);
|
1844
|
+
}
|
1845
|
+
return result;
|
1846
|
+
case regex_constants::syntax_digit:
|
1847
|
+
{
|
1848
|
+
// an octal escape sequence, the first character must be a zero
|
1849
|
+
// followed by up to 3 octal digits:
|
1850
|
+
std::ptrdiff_t len = (std::min)(std::distance(m_position, m_end), static_cast<std::ptrdiff_t>(4));
|
1851
|
+
const charT* bp = m_position;
|
1852
|
+
std::intmax_t val = this->m_traits.toi(bp, bp + 1, 8);
|
1853
|
+
if(val != 0)
|
1854
|
+
{
|
1855
|
+
// Rewind to start of escape:
|
1856
|
+
--m_position;
|
1857
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1858
|
+
// Oops not an octal escape after all:
|
1859
|
+
fail(regex_constants::error_escape, m_position - m_base, "Invalid octal escape sequence.");
|
1860
|
+
return result;
|
1861
|
+
}
|
1862
|
+
val = this->m_traits.toi(m_position, m_position + len, 8);
|
1863
|
+
if((val < 0) || (val > (std::intmax_t)(std::numeric_limits<charT>::max)()))
|
1864
|
+
{
|
1865
|
+
// Rewind to start of escape:
|
1866
|
+
--m_position;
|
1867
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1868
|
+
fail(regex_constants::error_escape, m_position - m_base, "Octal escape sequence is invalid.");
|
1869
|
+
return result;
|
1870
|
+
}
|
1871
|
+
return static_cast<charT>(val);
|
1872
|
+
}
|
1873
|
+
case regex_constants::escape_type_named_char:
|
1874
|
+
{
|
1875
|
+
++m_position;
|
1876
|
+
if(m_position == m_end)
|
1877
|
+
{
|
1878
|
+
// Rewind to start of escape:
|
1879
|
+
--m_position;
|
1880
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1881
|
+
fail(regex_constants::error_escape, m_position - m_base);
|
1882
|
+
return false;
|
1883
|
+
}
|
1884
|
+
// maybe have \N{name}
|
1885
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_open_brace)
|
1886
|
+
{
|
1887
|
+
const charT* base = m_position;
|
1888
|
+
// skip forward until we find enclosing brace:
|
1889
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_brace))
|
1890
|
+
++m_position;
|
1891
|
+
if(m_position == m_end)
|
1892
|
+
{
|
1893
|
+
// Rewind to start of escape:
|
1894
|
+
--m_position;
|
1895
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1896
|
+
fail(regex_constants::error_escape, m_position - m_base);
|
1897
|
+
return false;
|
1898
|
+
}
|
1899
|
+
string_type s = this->m_traits.lookup_collatename(++base, m_position++);
|
1900
|
+
if(s.empty())
|
1901
|
+
{
|
1902
|
+
// Rewind to start of escape:
|
1903
|
+
--m_position;
|
1904
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1905
|
+
fail(regex_constants::error_collate, m_position - m_base);
|
1906
|
+
return false;
|
1907
|
+
}
|
1908
|
+
if(s.size() == 1)
|
1909
|
+
{
|
1910
|
+
return s[0];
|
1911
|
+
}
|
1912
|
+
}
|
1913
|
+
// fall through is a failure:
|
1914
|
+
// Rewind to start of escape:
|
1915
|
+
--m_position;
|
1916
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1917
|
+
fail(regex_constants::error_escape, m_position - m_base);
|
1918
|
+
return false;
|
1919
|
+
}
|
1920
|
+
default:
|
1921
|
+
result = *m_position;
|
1922
|
+
break;
|
1923
|
+
}
|
1924
|
+
++m_position;
|
1925
|
+
return result;
|
1926
|
+
#ifdef BOOST_REGEX_MSVC
|
1927
|
+
#pragma warning(pop)
|
1928
|
+
#endif
|
1929
|
+
}
|
1930
|
+
|
1931
|
+
template <class charT, class traits>
|
1932
|
+
bool basic_regex_parser<charT, traits>::parse_backref()
|
1933
|
+
{
|
1934
|
+
BOOST_REGEX_ASSERT(m_position != m_end);
|
1935
|
+
const charT* pc = m_position;
|
1936
|
+
std::intmax_t i = this->m_traits.toi(pc, pc + 1, 10);
|
1937
|
+
if((i == 0) || (((this->flags() & regbase::main_option_type) == regbase::perl_syntax_group) && (this->flags() & regbase::no_bk_refs)))
|
1938
|
+
{
|
1939
|
+
// not a backref at all but an octal escape sequence:
|
1940
|
+
charT c = unescape_character();
|
1941
|
+
this->append_literal(c);
|
1942
|
+
}
|
1943
|
+
else if((i > 0))
|
1944
|
+
{
|
1945
|
+
m_position = pc;
|
1946
|
+
re_brace* pb = static_cast<re_brace*>(this->append_state(syntax_element_backref, sizeof(re_brace)));
|
1947
|
+
pb->index = (int)i;
|
1948
|
+
pb->icase = this->flags() & regbase::icase;
|
1949
|
+
if(i > m_max_backref)
|
1950
|
+
m_max_backref = i;
|
1951
|
+
}
|
1952
|
+
else
|
1953
|
+
{
|
1954
|
+
// Rewind to start of escape:
|
1955
|
+
--m_position;
|
1956
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
1957
|
+
fail(regex_constants::error_backref, m_position - m_base);
|
1958
|
+
return false;
|
1959
|
+
}
|
1960
|
+
return true;
|
1961
|
+
}
|
1962
|
+
|
1963
|
+
template <class charT, class traits>
|
1964
|
+
bool basic_regex_parser<charT, traits>::parse_QE()
|
1965
|
+
{
|
1966
|
+
#ifdef BOOST_REGEX_MSVC
|
1967
|
+
#pragma warning(push)
|
1968
|
+
#pragma warning(disable:4127)
|
1969
|
+
#endif
|
1970
|
+
//
|
1971
|
+
// parse a \Q...\E sequence:
|
1972
|
+
//
|
1973
|
+
++m_position; // skip the Q
|
1974
|
+
const charT* start = m_position;
|
1975
|
+
const charT* end;
|
1976
|
+
do
|
1977
|
+
{
|
1978
|
+
while((m_position != m_end)
|
1979
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape))
|
1980
|
+
++m_position;
|
1981
|
+
if(m_position == m_end)
|
1982
|
+
{
|
1983
|
+
// a \Q...\E sequence may terminate with the end of the expression:
|
1984
|
+
end = m_position;
|
1985
|
+
break;
|
1986
|
+
}
|
1987
|
+
if(++m_position == m_end) // skip the escape
|
1988
|
+
{
|
1989
|
+
fail(regex_constants::error_escape, m_position - m_base, "Unterminated \\Q...\\E sequence.");
|
1990
|
+
return false;
|
1991
|
+
}
|
1992
|
+
// check to see if it's a \E:
|
1993
|
+
if(this->m_traits.escape_syntax_type(*m_position) == regex_constants::escape_type_E)
|
1994
|
+
{
|
1995
|
+
++m_position;
|
1996
|
+
end = m_position - 2;
|
1997
|
+
break;
|
1998
|
+
}
|
1999
|
+
// otherwise go round again:
|
2000
|
+
}while(true);
|
2001
|
+
//
|
2002
|
+
// now add all the character between the two escapes as literals:
|
2003
|
+
//
|
2004
|
+
while(start != end)
|
2005
|
+
{
|
2006
|
+
this->append_literal(*start);
|
2007
|
+
++start;
|
2008
|
+
}
|
2009
|
+
return true;
|
2010
|
+
#ifdef BOOST_REGEX_MSVC
|
2011
|
+
#pragma warning(pop)
|
2012
|
+
#endif
|
2013
|
+
}
|
2014
|
+
|
2015
|
+
template <class charT, class traits>
|
2016
|
+
bool basic_regex_parser<charT, traits>::parse_perl_extension()
|
2017
|
+
{
|
2018
|
+
if(++m_position == m_end)
|
2019
|
+
{
|
2020
|
+
// Rewind to start of (? sequence:
|
2021
|
+
--m_position;
|
2022
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2023
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2024
|
+
return false;
|
2025
|
+
}
|
2026
|
+
//
|
2027
|
+
// treat comments as a special case, as these
|
2028
|
+
// are the only ones that don't start with a leading
|
2029
|
+
// startmark state:
|
2030
|
+
//
|
2031
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_hash)
|
2032
|
+
{
|
2033
|
+
while((m_position != m_end)
|
2034
|
+
&& (this->m_traits.syntax_type(*m_position++) != regex_constants::syntax_close_mark))
|
2035
|
+
{}
|
2036
|
+
return true;
|
2037
|
+
}
|
2038
|
+
//
|
2039
|
+
// backup some state, and prepare the way:
|
2040
|
+
//
|
2041
|
+
int markid = 0;
|
2042
|
+
std::ptrdiff_t jump_offset = 0;
|
2043
|
+
re_brace* pb = static_cast<re_brace*>(this->append_state(syntax_element_startmark, sizeof(re_brace)));
|
2044
|
+
pb->icase = this->flags() & regbase::icase;
|
2045
|
+
std::ptrdiff_t last_paren_start = this->getoffset(pb);
|
2046
|
+
// back up insertion point for alternations, and set new point:
|
2047
|
+
std::ptrdiff_t last_alt_point = m_alt_insert_point;
|
2048
|
+
this->m_pdata->m_data.align();
|
2049
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
2050
|
+
std::ptrdiff_t expected_alt_point = m_alt_insert_point;
|
2051
|
+
bool restore_flags = true;
|
2052
|
+
regex_constants::syntax_option_type old_flags = this->flags();
|
2053
|
+
bool old_case_change = m_has_case_change;
|
2054
|
+
m_has_case_change = false;
|
2055
|
+
charT name_delim;
|
2056
|
+
int mark_reset = m_mark_reset;
|
2057
|
+
int max_mark = m_max_mark;
|
2058
|
+
m_mark_reset = -1;
|
2059
|
+
m_max_mark = m_mark_count;
|
2060
|
+
std::intmax_t v;
|
2061
|
+
//
|
2062
|
+
// select the actual extension used:
|
2063
|
+
//
|
2064
|
+
switch(this->m_traits.syntax_type(*m_position))
|
2065
|
+
{
|
2066
|
+
case regex_constants::syntax_or:
|
2067
|
+
m_mark_reset = m_mark_count;
|
2068
|
+
BOOST_REGEX_FALLTHROUGH;
|
2069
|
+
case regex_constants::syntax_colon:
|
2070
|
+
//
|
2071
|
+
// a non-capturing mark:
|
2072
|
+
//
|
2073
|
+
pb->index = markid = 0;
|
2074
|
+
++m_position;
|
2075
|
+
break;
|
2076
|
+
case regex_constants::syntax_digit:
|
2077
|
+
{
|
2078
|
+
//
|
2079
|
+
// a recursive subexpression:
|
2080
|
+
//
|
2081
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
2082
|
+
if((v < 0) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2083
|
+
{
|
2084
|
+
// Rewind to start of (? sequence:
|
2085
|
+
--m_position;
|
2086
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2087
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "The recursive sub-expression refers to an invalid marking group, or is unterminated.");
|
2088
|
+
return false;
|
2089
|
+
}
|
2090
|
+
insert_recursion:
|
2091
|
+
pb->index = markid = 0;
|
2092
|
+
re_recurse* pr = static_cast<re_recurse*>(this->append_state(syntax_element_recurse, sizeof(re_recurse)));
|
2093
|
+
pr->alt.i = (std::ptrdiff_t)v;
|
2094
|
+
pr->state_id = 0;
|
2095
|
+
static_cast<re_case*>(
|
2096
|
+
this->append_state(syntax_element_toggle_case, sizeof(re_case))
|
2097
|
+
)->icase = this->flags() & regbase::icase;
|
2098
|
+
break;
|
2099
|
+
}
|
2100
|
+
case regex_constants::syntax_plus:
|
2101
|
+
//
|
2102
|
+
// A forward-relative recursive subexpression:
|
2103
|
+
//
|
2104
|
+
++m_position;
|
2105
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
2106
|
+
if((v <= 0) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2107
|
+
{
|
2108
|
+
// Rewind to start of (? sequence:
|
2109
|
+
--m_position;
|
2110
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2111
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "An invalid or unterminated recursive sub-expression.");
|
2112
|
+
return false;
|
2113
|
+
}
|
2114
|
+
if ((std::numeric_limits<std::intmax_t>::max)() - m_mark_count < v)
|
2115
|
+
{
|
2116
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "An invalid or unterminated recursive sub-expression.");
|
2117
|
+
return false;
|
2118
|
+
}
|
2119
|
+
v += m_mark_count;
|
2120
|
+
goto insert_recursion;
|
2121
|
+
case regex_constants::syntax_dash:
|
2122
|
+
//
|
2123
|
+
// Possibly a backward-relative recursive subexpression:
|
2124
|
+
//
|
2125
|
+
++m_position;
|
2126
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
2127
|
+
if(v <= 0)
|
2128
|
+
{
|
2129
|
+
--m_position;
|
2130
|
+
// Oops not a relative recursion at all, but a (?-imsx) group:
|
2131
|
+
goto option_group_jump;
|
2132
|
+
}
|
2133
|
+
v = static_cast<std::intmax_t>(m_mark_count) + 1 - v;
|
2134
|
+
if(v <= 0)
|
2135
|
+
{
|
2136
|
+
// Rewind to start of (? sequence:
|
2137
|
+
--m_position;
|
2138
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2139
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "An invalid or unterminated recursive sub-expression.");
|
2140
|
+
return false;
|
2141
|
+
}
|
2142
|
+
goto insert_recursion;
|
2143
|
+
case regex_constants::syntax_equal:
|
2144
|
+
pb->index = markid = -1;
|
2145
|
+
++m_position;
|
2146
|
+
jump_offset = this->getoffset(this->append_state(syntax_element_jump, sizeof(re_jump)));
|
2147
|
+
this->m_pdata->m_data.align();
|
2148
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
2149
|
+
break;
|
2150
|
+
case regex_constants::syntax_not:
|
2151
|
+
pb->index = markid = -2;
|
2152
|
+
++m_position;
|
2153
|
+
jump_offset = this->getoffset(this->append_state(syntax_element_jump, sizeof(re_jump)));
|
2154
|
+
this->m_pdata->m_data.align();
|
2155
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
2156
|
+
break;
|
2157
|
+
case regex_constants::escape_type_left_word:
|
2158
|
+
{
|
2159
|
+
// a lookbehind assertion:
|
2160
|
+
if(++m_position == m_end)
|
2161
|
+
{
|
2162
|
+
// Rewind to start of (? sequence:
|
2163
|
+
--m_position;
|
2164
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2165
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2166
|
+
return false;
|
2167
|
+
}
|
2168
|
+
regex_constants::syntax_type t = this->m_traits.syntax_type(*m_position);
|
2169
|
+
if(t == regex_constants::syntax_not)
|
2170
|
+
pb->index = markid = -2;
|
2171
|
+
else if(t == regex_constants::syntax_equal)
|
2172
|
+
pb->index = markid = -1;
|
2173
|
+
else
|
2174
|
+
{
|
2175
|
+
// Probably a named capture which also starts (?< :
|
2176
|
+
name_delim = '>';
|
2177
|
+
--m_position;
|
2178
|
+
goto named_capture_jump;
|
2179
|
+
}
|
2180
|
+
++m_position;
|
2181
|
+
jump_offset = this->getoffset(this->append_state(syntax_element_jump, sizeof(re_jump)));
|
2182
|
+
this->append_state(syntax_element_backstep, sizeof(re_brace));
|
2183
|
+
this->m_pdata->m_data.align();
|
2184
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
2185
|
+
break;
|
2186
|
+
}
|
2187
|
+
case regex_constants::escape_type_right_word:
|
2188
|
+
//
|
2189
|
+
// an independent sub-expression:
|
2190
|
+
//
|
2191
|
+
pb->index = markid = -3;
|
2192
|
+
++m_position;
|
2193
|
+
jump_offset = this->getoffset(this->append_state(syntax_element_jump, sizeof(re_jump)));
|
2194
|
+
this->m_pdata->m_data.align();
|
2195
|
+
m_alt_insert_point = this->m_pdata->m_data.size();
|
2196
|
+
break;
|
2197
|
+
case regex_constants::syntax_open_mark:
|
2198
|
+
{
|
2199
|
+
// a conditional expression:
|
2200
|
+
pb->index = markid = -4;
|
2201
|
+
if(++m_position == m_end)
|
2202
|
+
{
|
2203
|
+
// Rewind to start of (? sequence:
|
2204
|
+
--m_position;
|
2205
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2206
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2207
|
+
return false;
|
2208
|
+
}
|
2209
|
+
v = this->m_traits.toi(m_position, m_end, 10);
|
2210
|
+
if(m_position == m_end)
|
2211
|
+
{
|
2212
|
+
// Rewind to start of (? sequence:
|
2213
|
+
--m_position;
|
2214
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2215
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2216
|
+
return false;
|
2217
|
+
}
|
2218
|
+
if(*m_position == charT('R'))
|
2219
|
+
{
|
2220
|
+
if(++m_position == m_end)
|
2221
|
+
{
|
2222
|
+
// Rewind to start of (? sequence:
|
2223
|
+
--m_position;
|
2224
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2225
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2226
|
+
return false;
|
2227
|
+
}
|
2228
|
+
if(*m_position == charT('&'))
|
2229
|
+
{
|
2230
|
+
const charT* base = ++m_position;
|
2231
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2232
|
+
++m_position;
|
2233
|
+
if(m_position == m_end)
|
2234
|
+
{
|
2235
|
+
// Rewind to start of (? sequence:
|
2236
|
+
--m_position;
|
2237
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2238
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2239
|
+
return false;
|
2240
|
+
}
|
2241
|
+
v = -static_cast<int>(hash_value_from_capture_name(base, m_position));
|
2242
|
+
}
|
2243
|
+
else
|
2244
|
+
{
|
2245
|
+
v = -this->m_traits.toi(m_position, m_end, 10);
|
2246
|
+
}
|
2247
|
+
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
|
2248
|
+
br->index = v < 0 ? (int)(v - 1) : 0;
|
2249
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
2250
|
+
{
|
2251
|
+
// Rewind to start of (? sequence:
|
2252
|
+
--m_position;
|
2253
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2254
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2255
|
+
return false;
|
2256
|
+
}
|
2257
|
+
if(++m_position == m_end)
|
2258
|
+
{
|
2259
|
+
// Rewind to start of (? sequence:
|
2260
|
+
--m_position;
|
2261
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2262
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2263
|
+
return false;
|
2264
|
+
}
|
2265
|
+
}
|
2266
|
+
else if((*m_position == charT('\'')) || (*m_position == charT('<')))
|
2267
|
+
{
|
2268
|
+
const charT* base = ++m_position;
|
2269
|
+
while((m_position != m_end) && (*m_position != charT('>')) && (*m_position != charT('\'')))
|
2270
|
+
++m_position;
|
2271
|
+
if(m_position == m_end)
|
2272
|
+
{
|
2273
|
+
// Rewind to start of (? sequence:
|
2274
|
+
--m_position;
|
2275
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2276
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2277
|
+
return false;
|
2278
|
+
}
|
2279
|
+
v = static_cast<int>(hash_value_from_capture_name(base, m_position));
|
2280
|
+
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
|
2281
|
+
br->index = (int)v;
|
2282
|
+
if(((*m_position != charT('>')) && (*m_position != charT('\''))) || (++m_position == m_end))
|
2283
|
+
{
|
2284
|
+
// Rewind to start of (? sequence:
|
2285
|
+
--m_position;
|
2286
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2287
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "Unterminated named capture.");
|
2288
|
+
return false;
|
2289
|
+
}
|
2290
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
2291
|
+
{
|
2292
|
+
// Rewind to start of (? sequence:
|
2293
|
+
--m_position;
|
2294
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2295
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2296
|
+
return false;
|
2297
|
+
}
|
2298
|
+
if(++m_position == m_end)
|
2299
|
+
{
|
2300
|
+
// Rewind to start of (? sequence:
|
2301
|
+
--m_position;
|
2302
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2303
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2304
|
+
return false;
|
2305
|
+
}
|
2306
|
+
}
|
2307
|
+
else if(*m_position == charT('D'))
|
2308
|
+
{
|
2309
|
+
const char* def = "DEFINE";
|
2310
|
+
while(*def && (m_position != m_end) && (*m_position == charT(*def)))
|
2311
|
+
++m_position, ++def;
|
2312
|
+
if((m_position == m_end) || *def)
|
2313
|
+
{
|
2314
|
+
// Rewind to start of (? sequence:
|
2315
|
+
--m_position;
|
2316
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2317
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2318
|
+
return false;
|
2319
|
+
}
|
2320
|
+
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
|
2321
|
+
br->index = 9999; // special magic value!
|
2322
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
2323
|
+
{
|
2324
|
+
// Rewind to start of (? sequence:
|
2325
|
+
--m_position;
|
2326
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2327
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2328
|
+
return false;
|
2329
|
+
}
|
2330
|
+
if(++m_position == m_end)
|
2331
|
+
{
|
2332
|
+
// Rewind to start of (? sequence:
|
2333
|
+
--m_position;
|
2334
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2335
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2336
|
+
return false;
|
2337
|
+
}
|
2338
|
+
}
|
2339
|
+
else if(v > 0)
|
2340
|
+
{
|
2341
|
+
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
|
2342
|
+
br->index = (int)v;
|
2343
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
2344
|
+
{
|
2345
|
+
// Rewind to start of (? sequence:
|
2346
|
+
--m_position;
|
2347
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2348
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2349
|
+
return false;
|
2350
|
+
}
|
2351
|
+
if(++m_position == m_end)
|
2352
|
+
{
|
2353
|
+
// Rewind to start of (? sequence:
|
2354
|
+
--m_position;
|
2355
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2356
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2357
|
+
return false;
|
2358
|
+
}
|
2359
|
+
}
|
2360
|
+
else
|
2361
|
+
{
|
2362
|
+
// verify that we have a lookahead or lookbehind assert:
|
2363
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_question)
|
2364
|
+
{
|
2365
|
+
// Rewind to start of (? sequence:
|
2366
|
+
--m_position;
|
2367
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2368
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2369
|
+
return false;
|
2370
|
+
}
|
2371
|
+
if(++m_position == m_end)
|
2372
|
+
{
|
2373
|
+
// Rewind to start of (? sequence:
|
2374
|
+
--m_position;
|
2375
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2376
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2377
|
+
return false;
|
2378
|
+
}
|
2379
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::escape_type_left_word)
|
2380
|
+
{
|
2381
|
+
if(++m_position == m_end)
|
2382
|
+
{
|
2383
|
+
// Rewind to start of (? sequence:
|
2384
|
+
--m_position;
|
2385
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2386
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2387
|
+
return false;
|
2388
|
+
}
|
2389
|
+
if((this->m_traits.syntax_type(*m_position) != regex_constants::syntax_equal)
|
2390
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_not))
|
2391
|
+
{
|
2392
|
+
// Rewind to start of (? sequence:
|
2393
|
+
--m_position;
|
2394
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2395
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2396
|
+
return false;
|
2397
|
+
}
|
2398
|
+
m_position -= 3;
|
2399
|
+
}
|
2400
|
+
else
|
2401
|
+
{
|
2402
|
+
if((this->m_traits.syntax_type(*m_position) != regex_constants::syntax_equal)
|
2403
|
+
&& (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_not))
|
2404
|
+
{
|
2405
|
+
// Rewind to start of (? sequence:
|
2406
|
+
--m_position;
|
2407
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2408
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2409
|
+
return false;
|
2410
|
+
}
|
2411
|
+
m_position -= 2;
|
2412
|
+
}
|
2413
|
+
}
|
2414
|
+
break;
|
2415
|
+
}
|
2416
|
+
case regex_constants::syntax_close_mark:
|
2417
|
+
// Rewind to start of (? sequence:
|
2418
|
+
--m_position;
|
2419
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2420
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2421
|
+
return false;
|
2422
|
+
case regex_constants::escape_type_end_buffer:
|
2423
|
+
{
|
2424
|
+
name_delim = *m_position;
|
2425
|
+
named_capture_jump:
|
2426
|
+
markid = 0;
|
2427
|
+
if(0 == (this->flags() & regbase::nosubs))
|
2428
|
+
{
|
2429
|
+
markid = ++m_mark_count;
|
2430
|
+
if(this->flags() & regbase::save_subexpression_location)
|
2431
|
+
this->m_pdata->m_subs.push_back(std::pair<std::size_t, std::size_t>(std::distance(m_base, m_position) - 2, 0));
|
2432
|
+
}
|
2433
|
+
pb->index = markid;
|
2434
|
+
const charT* base = ++m_position;
|
2435
|
+
if(m_position == m_end)
|
2436
|
+
{
|
2437
|
+
// Rewind to start of (? sequence:
|
2438
|
+
--m_position;
|
2439
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2440
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2441
|
+
return false;
|
2442
|
+
}
|
2443
|
+
while((m_position != m_end) && (*m_position != name_delim))
|
2444
|
+
++m_position;
|
2445
|
+
if(m_position == m_end)
|
2446
|
+
{
|
2447
|
+
// Rewind to start of (? sequence:
|
2448
|
+
--m_position;
|
2449
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2450
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2451
|
+
return false;
|
2452
|
+
}
|
2453
|
+
this->m_pdata->set_name(base, m_position, markid);
|
2454
|
+
++m_position;
|
2455
|
+
break;
|
2456
|
+
}
|
2457
|
+
default:
|
2458
|
+
if(*m_position == charT('R'))
|
2459
|
+
{
|
2460
|
+
++m_position;
|
2461
|
+
v = 0;
|
2462
|
+
if(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark)
|
2463
|
+
{
|
2464
|
+
// Rewind to start of (? sequence:
|
2465
|
+
--m_position;
|
2466
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2467
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2468
|
+
return false;
|
2469
|
+
}
|
2470
|
+
goto insert_recursion;
|
2471
|
+
}
|
2472
|
+
if(*m_position == charT('&'))
|
2473
|
+
{
|
2474
|
+
++m_position;
|
2475
|
+
const charT* base = m_position;
|
2476
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2477
|
+
++m_position;
|
2478
|
+
if(m_position == m_end)
|
2479
|
+
{
|
2480
|
+
// Rewind to start of (? sequence:
|
2481
|
+
--m_position;
|
2482
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2483
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2484
|
+
return false;
|
2485
|
+
}
|
2486
|
+
v = static_cast<int>(hash_value_from_capture_name(base, m_position));
|
2487
|
+
goto insert_recursion;
|
2488
|
+
}
|
2489
|
+
if(*m_position == charT('P'))
|
2490
|
+
{
|
2491
|
+
++m_position;
|
2492
|
+
if(m_position == m_end)
|
2493
|
+
{
|
2494
|
+
// Rewind to start of (? sequence:
|
2495
|
+
--m_position;
|
2496
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2497
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2498
|
+
return false;
|
2499
|
+
}
|
2500
|
+
if(*m_position == charT('>'))
|
2501
|
+
{
|
2502
|
+
++m_position;
|
2503
|
+
const charT* base = m_position;
|
2504
|
+
while((m_position != m_end) && (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2505
|
+
++m_position;
|
2506
|
+
if(m_position == m_end)
|
2507
|
+
{
|
2508
|
+
// Rewind to start of (? sequence:
|
2509
|
+
--m_position;
|
2510
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2511
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2512
|
+
return false;
|
2513
|
+
}
|
2514
|
+
v = static_cast<int>(hash_value_from_capture_name(base, m_position));
|
2515
|
+
goto insert_recursion;
|
2516
|
+
}
|
2517
|
+
}
|
2518
|
+
//
|
2519
|
+
// lets assume that we have a (?imsx) group and try and parse it:
|
2520
|
+
//
|
2521
|
+
option_group_jump:
|
2522
|
+
regex_constants::syntax_option_type opts = parse_options();
|
2523
|
+
if(m_position == m_end)
|
2524
|
+
{
|
2525
|
+
// Rewind to start of (? sequence:
|
2526
|
+
--m_position;
|
2527
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2528
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2529
|
+
return false;
|
2530
|
+
}
|
2531
|
+
// make a note of whether we have a case change:
|
2532
|
+
m_has_case_change = ((opts & regbase::icase) != (this->flags() & regbase::icase));
|
2533
|
+
pb->index = markid = 0;
|
2534
|
+
if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_close_mark)
|
2535
|
+
{
|
2536
|
+
// update flags and carry on as normal:
|
2537
|
+
this->flags(opts);
|
2538
|
+
restore_flags = false;
|
2539
|
+
old_case_change |= m_has_case_change; // defer end of scope by one ')'
|
2540
|
+
}
|
2541
|
+
else if(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_colon)
|
2542
|
+
{
|
2543
|
+
// update flags and carry on until the matching ')' is found:
|
2544
|
+
this->flags(opts);
|
2545
|
+
++m_position;
|
2546
|
+
}
|
2547
|
+
else
|
2548
|
+
{
|
2549
|
+
// Rewind to start of (? sequence:
|
2550
|
+
--m_position;
|
2551
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2552
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2553
|
+
return false;
|
2554
|
+
}
|
2555
|
+
|
2556
|
+
// finally append a case change state if we need it:
|
2557
|
+
if(m_has_case_change)
|
2558
|
+
{
|
2559
|
+
static_cast<re_case*>(
|
2560
|
+
this->append_state(syntax_element_toggle_case, sizeof(re_case))
|
2561
|
+
)->icase = opts & regbase::icase;
|
2562
|
+
}
|
2563
|
+
|
2564
|
+
}
|
2565
|
+
//
|
2566
|
+
// now recursively add more states, this will terminate when we get to a
|
2567
|
+
// matching ')' :
|
2568
|
+
//
|
2569
|
+
parse_all();
|
2570
|
+
//
|
2571
|
+
// Unwind alternatives:
|
2572
|
+
//
|
2573
|
+
if(0 == unwind_alts(last_paren_start))
|
2574
|
+
{
|
2575
|
+
// Rewind to start of (? sequence:
|
2576
|
+
--m_position;
|
2577
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2578
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "Invalid alternation operators within (?...) block.");
|
2579
|
+
return false;
|
2580
|
+
}
|
2581
|
+
//
|
2582
|
+
// we either have a ')' or we have run out of characters prematurely:
|
2583
|
+
//
|
2584
|
+
if(m_position == m_end)
|
2585
|
+
{
|
2586
|
+
// Rewind to start of (? sequence:
|
2587
|
+
--m_position;
|
2588
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2589
|
+
this->fail(regex_constants::error_paren, std::distance(m_base, m_end));
|
2590
|
+
return false;
|
2591
|
+
}
|
2592
|
+
BOOST_REGEX_ASSERT(this->m_traits.syntax_type(*m_position) == regex_constants::syntax_close_mark);
|
2593
|
+
++m_position;
|
2594
|
+
//
|
2595
|
+
// restore the flags:
|
2596
|
+
//
|
2597
|
+
if(restore_flags)
|
2598
|
+
{
|
2599
|
+
// append a case change state if we need it:
|
2600
|
+
if(m_has_case_change)
|
2601
|
+
{
|
2602
|
+
static_cast<re_case*>(
|
2603
|
+
this->append_state(syntax_element_toggle_case, sizeof(re_case))
|
2604
|
+
)->icase = old_flags & regbase::icase;
|
2605
|
+
}
|
2606
|
+
this->flags(old_flags);
|
2607
|
+
}
|
2608
|
+
//
|
2609
|
+
// set up the jump pointer if we have one:
|
2610
|
+
//
|
2611
|
+
if(jump_offset)
|
2612
|
+
{
|
2613
|
+
this->m_pdata->m_data.align();
|
2614
|
+
re_jump* jmp = static_cast<re_jump*>(this->getaddress(jump_offset));
|
2615
|
+
jmp->alt.i = this->m_pdata->m_data.size() - this->getoffset(jmp);
|
2616
|
+
if((this->m_last_state == jmp) && (markid != -2))
|
2617
|
+
{
|
2618
|
+
// Oops... we didn't have anything inside the assertion.
|
2619
|
+
// Note we don't get here for negated forward lookahead as (?!)
|
2620
|
+
// does have some uses.
|
2621
|
+
// Rewind to start of (? sequence:
|
2622
|
+
--m_position;
|
2623
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2624
|
+
fail(regex_constants::error_perl_extension, m_position - m_base, "Invalid or empty zero width assertion.");
|
2625
|
+
return false;
|
2626
|
+
}
|
2627
|
+
}
|
2628
|
+
//
|
2629
|
+
// verify that if this is conditional expression, that we do have
|
2630
|
+
// an alternative, if not add one:
|
2631
|
+
//
|
2632
|
+
if(markid == -4)
|
2633
|
+
{
|
2634
|
+
re_syntax_base* b = this->getaddress(expected_alt_point);
|
2635
|
+
// Make sure we have exactly one alternative following this state:
|
2636
|
+
if(b->type != syntax_element_alt)
|
2637
|
+
{
|
2638
|
+
re_alt* alt = static_cast<re_alt*>(this->insert_state(expected_alt_point, syntax_element_alt, sizeof(re_alt)));
|
2639
|
+
alt->alt.i = this->m_pdata->m_data.size() - this->getoffset(alt);
|
2640
|
+
}
|
2641
|
+
else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast<re_alt*>(b)->alt.i + this->getoffset(b))) && (static_cast<re_alt*>(b)->alt.i > 0) && this->getaddress(static_cast<re_alt*>(b)->alt.i, b)->type == syntax_element_alt)
|
2642
|
+
{
|
2643
|
+
// Can't have seen more than one alternative:
|
2644
|
+
// Rewind to start of (? sequence:
|
2645
|
+
--m_position;
|
2646
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2647
|
+
fail(regex_constants::error_bad_pattern, m_position - m_base, "More than one alternation operator | was encountered inside a conditional expression.");
|
2648
|
+
return false;
|
2649
|
+
}
|
2650
|
+
else
|
2651
|
+
{
|
2652
|
+
// We must *not* have seen an alternative inside a (DEFINE) block:
|
2653
|
+
b = this->getaddress(b->next.i, b);
|
2654
|
+
if((b->type == syntax_element_assert_backref) && (static_cast<re_brace*>(b)->index == 9999))
|
2655
|
+
{
|
2656
|
+
// Rewind to start of (? sequence:
|
2657
|
+
--m_position;
|
2658
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2659
|
+
fail(regex_constants::error_bad_pattern, m_position - m_base, "Alternation operators are not allowed inside a DEFINE block.");
|
2660
|
+
return false;
|
2661
|
+
}
|
2662
|
+
}
|
2663
|
+
// check for invalid repetition of next state:
|
2664
|
+
b = this->getaddress(expected_alt_point);
|
2665
|
+
b = this->getaddress(static_cast<re_alt*>(b)->next.i, b);
|
2666
|
+
if((b->type != syntax_element_assert_backref)
|
2667
|
+
&& (b->type != syntax_element_startmark))
|
2668
|
+
{
|
2669
|
+
// Rewind to start of (? sequence:
|
2670
|
+
--m_position;
|
2671
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2672
|
+
fail(regex_constants::error_badrepeat, m_position - m_base, "A repetition operator cannot be applied to a zero-width assertion.");
|
2673
|
+
return false;
|
2674
|
+
}
|
2675
|
+
}
|
2676
|
+
//
|
2677
|
+
// append closing parenthesis state:
|
2678
|
+
//
|
2679
|
+
pb = static_cast<re_brace*>(this->append_state(syntax_element_endmark, sizeof(re_brace)));
|
2680
|
+
pb->index = markid;
|
2681
|
+
pb->icase = this->flags() & regbase::icase;
|
2682
|
+
this->m_paren_start = last_paren_start;
|
2683
|
+
//
|
2684
|
+
// restore the alternate insertion point:
|
2685
|
+
//
|
2686
|
+
this->m_alt_insert_point = last_alt_point;
|
2687
|
+
//
|
2688
|
+
// and the case change data:
|
2689
|
+
//
|
2690
|
+
m_has_case_change = old_case_change;
|
2691
|
+
//
|
2692
|
+
// And the mark_reset data:
|
2693
|
+
//
|
2694
|
+
if(m_max_mark > m_mark_count)
|
2695
|
+
{
|
2696
|
+
m_mark_count = m_max_mark;
|
2697
|
+
}
|
2698
|
+
m_mark_reset = mark_reset;
|
2699
|
+
m_max_mark = max_mark;
|
2700
|
+
|
2701
|
+
|
2702
|
+
if(markid > 0)
|
2703
|
+
{
|
2704
|
+
if(this->flags() & regbase::save_subexpression_location)
|
2705
|
+
this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1;
|
2706
|
+
}
|
2707
|
+
return true;
|
2708
|
+
}
|
2709
|
+
|
2710
|
+
template <class charT, class traits>
|
2711
|
+
bool basic_regex_parser<charT, traits>::match_verb(const char* verb)
|
2712
|
+
{
|
2713
|
+
while(*verb)
|
2714
|
+
{
|
2715
|
+
if(static_cast<charT>(*verb) != *m_position)
|
2716
|
+
{
|
2717
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2718
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2719
|
+
return false;
|
2720
|
+
}
|
2721
|
+
if(++m_position == m_end)
|
2722
|
+
{
|
2723
|
+
--m_position;
|
2724
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2725
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2726
|
+
return false;
|
2727
|
+
}
|
2728
|
+
++verb;
|
2729
|
+
}
|
2730
|
+
return true;
|
2731
|
+
}
|
2732
|
+
|
2733
|
+
#ifdef BOOST_REGEX_MSVC
|
2734
|
+
# pragma warning(push)
|
2735
|
+
#if BOOST_REGEX_MSVC >= 1800
|
2736
|
+
#pragma warning(disable:26812)
|
2737
|
+
#endif
|
2738
|
+
#endif
|
2739
|
+
template <class charT, class traits>
|
2740
|
+
bool basic_regex_parser<charT, traits>::parse_perl_verb()
|
2741
|
+
{
|
2742
|
+
if(++m_position == m_end)
|
2743
|
+
{
|
2744
|
+
// Rewind to start of (* sequence:
|
2745
|
+
--m_position;
|
2746
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2747
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2748
|
+
return false;
|
2749
|
+
}
|
2750
|
+
switch(*m_position)
|
2751
|
+
{
|
2752
|
+
case 'F':
|
2753
|
+
if(++m_position == m_end)
|
2754
|
+
{
|
2755
|
+
// Rewind to start of (* sequence:
|
2756
|
+
--m_position;
|
2757
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2758
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2759
|
+
return false;
|
2760
|
+
}
|
2761
|
+
if((this->m_traits.syntax_type(*m_position) == regex_constants::syntax_close_mark) || match_verb("AIL"))
|
2762
|
+
{
|
2763
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2764
|
+
{
|
2765
|
+
// Rewind to start of (* sequence:
|
2766
|
+
--m_position;
|
2767
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2768
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2769
|
+
return false;
|
2770
|
+
}
|
2771
|
+
++m_position;
|
2772
|
+
this->append_state(syntax_element_fail);
|
2773
|
+
return true;
|
2774
|
+
}
|
2775
|
+
break;
|
2776
|
+
case 'A':
|
2777
|
+
if(++m_position == m_end)
|
2778
|
+
{
|
2779
|
+
// Rewind to start of (* sequence:
|
2780
|
+
--m_position;
|
2781
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2782
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2783
|
+
return false;
|
2784
|
+
}
|
2785
|
+
if(match_verb("CCEPT"))
|
2786
|
+
{
|
2787
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2788
|
+
{
|
2789
|
+
// Rewind to start of (* sequence:
|
2790
|
+
--m_position;
|
2791
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2792
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2793
|
+
return false;
|
2794
|
+
}
|
2795
|
+
++m_position;
|
2796
|
+
this->append_state(syntax_element_accept);
|
2797
|
+
return true;
|
2798
|
+
}
|
2799
|
+
break;
|
2800
|
+
case 'C':
|
2801
|
+
if(++m_position == m_end)
|
2802
|
+
{
|
2803
|
+
// Rewind to start of (* sequence:
|
2804
|
+
--m_position;
|
2805
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2806
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2807
|
+
return false;
|
2808
|
+
}
|
2809
|
+
if(match_verb("OMMIT"))
|
2810
|
+
{
|
2811
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2812
|
+
{
|
2813
|
+
// Rewind to start of (* sequence:
|
2814
|
+
--m_position;
|
2815
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2816
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2817
|
+
return false;
|
2818
|
+
}
|
2819
|
+
++m_position;
|
2820
|
+
static_cast<re_commit*>(this->append_state(syntax_element_commit, sizeof(re_commit)))->action = commit_commit;
|
2821
|
+
this->m_pdata->m_disable_match_any = true;
|
2822
|
+
return true;
|
2823
|
+
}
|
2824
|
+
break;
|
2825
|
+
case 'P':
|
2826
|
+
if(++m_position == m_end)
|
2827
|
+
{
|
2828
|
+
// Rewind to start of (* sequence:
|
2829
|
+
--m_position;
|
2830
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2831
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2832
|
+
return false;
|
2833
|
+
}
|
2834
|
+
if(match_verb("RUNE"))
|
2835
|
+
{
|
2836
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2837
|
+
{
|
2838
|
+
// Rewind to start of (* sequence:
|
2839
|
+
--m_position;
|
2840
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2841
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2842
|
+
return false;
|
2843
|
+
}
|
2844
|
+
++m_position;
|
2845
|
+
static_cast<re_commit*>(this->append_state(syntax_element_commit, sizeof(re_commit)))->action = commit_prune;
|
2846
|
+
this->m_pdata->m_disable_match_any = true;
|
2847
|
+
return true;
|
2848
|
+
}
|
2849
|
+
break;
|
2850
|
+
case 'S':
|
2851
|
+
if(++m_position == m_end)
|
2852
|
+
{
|
2853
|
+
// Rewind to start of (* sequence:
|
2854
|
+
--m_position;
|
2855
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2856
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2857
|
+
return false;
|
2858
|
+
}
|
2859
|
+
if(match_verb("KIP"))
|
2860
|
+
{
|
2861
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2862
|
+
{
|
2863
|
+
// Rewind to start of (* sequence:
|
2864
|
+
--m_position;
|
2865
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2866
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2867
|
+
return false;
|
2868
|
+
}
|
2869
|
+
++m_position;
|
2870
|
+
static_cast<re_commit*>(this->append_state(syntax_element_commit, sizeof(re_commit)))->action = commit_skip;
|
2871
|
+
this->m_pdata->m_disable_match_any = true;
|
2872
|
+
return true;
|
2873
|
+
}
|
2874
|
+
break;
|
2875
|
+
case 'T':
|
2876
|
+
if(++m_position == m_end)
|
2877
|
+
{
|
2878
|
+
// Rewind to start of (* sequence:
|
2879
|
+
--m_position;
|
2880
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2881
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2882
|
+
return false;
|
2883
|
+
}
|
2884
|
+
if(match_verb("HEN"))
|
2885
|
+
{
|
2886
|
+
if((m_position == m_end) || (this->m_traits.syntax_type(*m_position) != regex_constants::syntax_close_mark))
|
2887
|
+
{
|
2888
|
+
// Rewind to start of (* sequence:
|
2889
|
+
--m_position;
|
2890
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2891
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2892
|
+
return false;
|
2893
|
+
}
|
2894
|
+
++m_position;
|
2895
|
+
this->append_state(syntax_element_then);
|
2896
|
+
this->m_pdata->m_disable_match_any = true;
|
2897
|
+
return true;
|
2898
|
+
}
|
2899
|
+
break;
|
2900
|
+
}
|
2901
|
+
// Rewind to start of (* sequence:
|
2902
|
+
--m_position;
|
2903
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
2904
|
+
fail(regex_constants::error_perl_extension, m_position - m_base);
|
2905
|
+
return false;
|
2906
|
+
}
|
2907
|
+
#ifdef BOOST_REGEX_MSVC
|
2908
|
+
# pragma warning(pop)
|
2909
|
+
#endif
|
2910
|
+
|
2911
|
+
template <class charT, class traits>
|
2912
|
+
bool basic_regex_parser<charT, traits>::add_emacs_code(bool negate)
|
2913
|
+
{
|
2914
|
+
//
|
2915
|
+
// parses an emacs style \sx or \Sx construct.
|
2916
|
+
//
|
2917
|
+
if(++m_position == m_end)
|
2918
|
+
{
|
2919
|
+
// Rewind to start of sequence:
|
2920
|
+
--m_position;
|
2921
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_escape) --m_position;
|
2922
|
+
fail(regex_constants::error_escape, m_position - m_base);
|
2923
|
+
return false;
|
2924
|
+
}
|
2925
|
+
basic_char_set<charT, traits> char_set;
|
2926
|
+
if(negate)
|
2927
|
+
char_set.negate();
|
2928
|
+
|
2929
|
+
static const charT s_punct[5] = { 'p', 'u', 'n', 'c', 't', };
|
2930
|
+
|
2931
|
+
switch(*m_position)
|
2932
|
+
{
|
2933
|
+
case 's':
|
2934
|
+
case ' ':
|
2935
|
+
char_set.add_class(this->m_mask_space);
|
2936
|
+
break;
|
2937
|
+
case 'w':
|
2938
|
+
char_set.add_class(this->m_word_mask);
|
2939
|
+
break;
|
2940
|
+
case '_':
|
2941
|
+
char_set.add_single(digraph<charT>(charT('$')));
|
2942
|
+
char_set.add_single(digraph<charT>(charT('&')));
|
2943
|
+
char_set.add_single(digraph<charT>(charT('*')));
|
2944
|
+
char_set.add_single(digraph<charT>(charT('+')));
|
2945
|
+
char_set.add_single(digraph<charT>(charT('-')));
|
2946
|
+
char_set.add_single(digraph<charT>(charT('_')));
|
2947
|
+
char_set.add_single(digraph<charT>(charT('<')));
|
2948
|
+
char_set.add_single(digraph<charT>(charT('>')));
|
2949
|
+
break;
|
2950
|
+
case '.':
|
2951
|
+
char_set.add_class(this->m_traits.lookup_classname(s_punct, s_punct+5));
|
2952
|
+
break;
|
2953
|
+
case '(':
|
2954
|
+
char_set.add_single(digraph<charT>(charT('(')));
|
2955
|
+
char_set.add_single(digraph<charT>(charT('[')));
|
2956
|
+
char_set.add_single(digraph<charT>(charT('{')));
|
2957
|
+
break;
|
2958
|
+
case ')':
|
2959
|
+
char_set.add_single(digraph<charT>(charT(')')));
|
2960
|
+
char_set.add_single(digraph<charT>(charT(']')));
|
2961
|
+
char_set.add_single(digraph<charT>(charT('}')));
|
2962
|
+
break;
|
2963
|
+
case '"':
|
2964
|
+
char_set.add_single(digraph<charT>(charT('"')));
|
2965
|
+
char_set.add_single(digraph<charT>(charT('\'')));
|
2966
|
+
char_set.add_single(digraph<charT>(charT('`')));
|
2967
|
+
break;
|
2968
|
+
case '\'':
|
2969
|
+
char_set.add_single(digraph<charT>(charT('\'')));
|
2970
|
+
char_set.add_single(digraph<charT>(charT(',')));
|
2971
|
+
char_set.add_single(digraph<charT>(charT('#')));
|
2972
|
+
break;
|
2973
|
+
case '<':
|
2974
|
+
char_set.add_single(digraph<charT>(charT(';')));
|
2975
|
+
break;
|
2976
|
+
case '>':
|
2977
|
+
char_set.add_single(digraph<charT>(charT('\n')));
|
2978
|
+
char_set.add_single(digraph<charT>(charT('\f')));
|
2979
|
+
break;
|
2980
|
+
default:
|
2981
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
2982
|
+
return false;
|
2983
|
+
}
|
2984
|
+
if(0 == this->append_set(char_set))
|
2985
|
+
{
|
2986
|
+
fail(regex_constants::error_ctype, m_position - m_base);
|
2987
|
+
return false;
|
2988
|
+
}
|
2989
|
+
++m_position;
|
2990
|
+
return true;
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
template <class charT, class traits>
|
2994
|
+
regex_constants::syntax_option_type basic_regex_parser<charT, traits>::parse_options()
|
2995
|
+
{
|
2996
|
+
// we have a (?imsx-imsx) group, convert it into a set of flags:
|
2997
|
+
regex_constants::syntax_option_type f = this->flags();
|
2998
|
+
bool breakout = false;
|
2999
|
+
do
|
3000
|
+
{
|
3001
|
+
switch(*m_position)
|
3002
|
+
{
|
3003
|
+
case 's':
|
3004
|
+
f |= regex_constants::mod_s;
|
3005
|
+
f &= ~regex_constants::no_mod_s;
|
3006
|
+
break;
|
3007
|
+
case 'm':
|
3008
|
+
f &= ~regex_constants::no_mod_m;
|
3009
|
+
break;
|
3010
|
+
case 'i':
|
3011
|
+
f |= regex_constants::icase;
|
3012
|
+
break;
|
3013
|
+
case 'x':
|
3014
|
+
f |= regex_constants::mod_x;
|
3015
|
+
break;
|
3016
|
+
default:
|
3017
|
+
breakout = true;
|
3018
|
+
continue;
|
3019
|
+
}
|
3020
|
+
if(++m_position == m_end)
|
3021
|
+
{
|
3022
|
+
// Rewind to start of (? sequence:
|
3023
|
+
--m_position;
|
3024
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
3025
|
+
fail(regex_constants::error_paren, m_position - m_base);
|
3026
|
+
return false;
|
3027
|
+
}
|
3028
|
+
}
|
3029
|
+
while(!breakout);
|
3030
|
+
|
3031
|
+
breakout = false;
|
3032
|
+
|
3033
|
+
if(*m_position == static_cast<charT>('-'))
|
3034
|
+
{
|
3035
|
+
if(++m_position == m_end)
|
3036
|
+
{
|
3037
|
+
// Rewind to start of (? sequence:
|
3038
|
+
--m_position;
|
3039
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
3040
|
+
fail(regex_constants::error_paren, m_position - m_base);
|
3041
|
+
return false;
|
3042
|
+
}
|
3043
|
+
do
|
3044
|
+
{
|
3045
|
+
switch(*m_position)
|
3046
|
+
{
|
3047
|
+
case 's':
|
3048
|
+
f &= ~regex_constants::mod_s;
|
3049
|
+
f |= regex_constants::no_mod_s;
|
3050
|
+
break;
|
3051
|
+
case 'm':
|
3052
|
+
f |= regex_constants::no_mod_m;
|
3053
|
+
break;
|
3054
|
+
case 'i':
|
3055
|
+
f &= ~regex_constants::icase;
|
3056
|
+
break;
|
3057
|
+
case 'x':
|
3058
|
+
f &= ~regex_constants::mod_x;
|
3059
|
+
break;
|
3060
|
+
default:
|
3061
|
+
breakout = true;
|
3062
|
+
continue;
|
3063
|
+
}
|
3064
|
+
if(++m_position == m_end)
|
3065
|
+
{
|
3066
|
+
// Rewind to start of (? sequence:
|
3067
|
+
--m_position;
|
3068
|
+
while(this->m_traits.syntax_type(*m_position) != regex_constants::syntax_open_mark) --m_position;
|
3069
|
+
fail(regex_constants::error_paren, m_position - m_base);
|
3070
|
+
return false;
|
3071
|
+
}
|
3072
|
+
}
|
3073
|
+
while(!breakout);
|
3074
|
+
}
|
3075
|
+
return f;
|
3076
|
+
}
|
3077
|
+
|
3078
|
+
template <class charT, class traits>
|
3079
|
+
bool basic_regex_parser<charT, traits>::unwind_alts(std::ptrdiff_t last_paren_start)
|
3080
|
+
{
|
3081
|
+
//
|
3082
|
+
// If we didn't actually add any states after the last
|
3083
|
+
// alternative then that's an error:
|
3084
|
+
//
|
3085
|
+
if((this->m_alt_insert_point == static_cast<std::ptrdiff_t>(this->m_pdata->m_data.size()))
|
3086
|
+
&& (!m_alt_jumps.empty()) && (m_alt_jumps.back() > last_paren_start)
|
3087
|
+
&&
|
3088
|
+
!(
|
3089
|
+
((this->flags() & regbase::main_option_type) == regbase::perl_syntax_group)
|
3090
|
+
&&
|
3091
|
+
((this->flags() & regbase::no_empty_expressions) == 0)
|
3092
|
+
)
|
3093
|
+
)
|
3094
|
+
{
|
3095
|
+
fail(regex_constants::error_empty, this->m_position - this->m_base, "Can't terminate a sub-expression with an alternation operator |.");
|
3096
|
+
return false;
|
3097
|
+
}
|
3098
|
+
//
|
3099
|
+
// Fix up our alternatives:
|
3100
|
+
//
|
3101
|
+
while((!m_alt_jumps.empty()) && (m_alt_jumps.back() > last_paren_start))
|
3102
|
+
{
|
3103
|
+
//
|
3104
|
+
// fix up the jump to point to the end of the states
|
3105
|
+
// that we've just added:
|
3106
|
+
//
|
3107
|
+
std::ptrdiff_t jump_offset = m_alt_jumps.back();
|
3108
|
+
m_alt_jumps.pop_back();
|
3109
|
+
this->m_pdata->m_data.align();
|
3110
|
+
re_jump* jmp = static_cast<re_jump*>(this->getaddress(jump_offset));
|
3111
|
+
if (jmp->type != syntax_element_jump)
|
3112
|
+
{
|
3113
|
+
// Something really bad happened, this used to be an assert,
|
3114
|
+
// but we'll make it an error just in case we should ever get here.
|
3115
|
+
fail(regex_constants::error_unknown, this->m_position - this->m_base, "Internal logic failed while compiling the expression, probably you added a repeat to something non-repeatable!");
|
3116
|
+
return false;
|
3117
|
+
}
|
3118
|
+
jmp->alt.i = this->m_pdata->m_data.size() - jump_offset;
|
3119
|
+
}
|
3120
|
+
return true;
|
3121
|
+
}
|
3122
|
+
|
3123
|
+
#ifdef BOOST_REGEX_MSVC
|
3124
|
+
#pragma warning(pop)
|
3125
|
+
#endif
|
3126
|
+
|
3127
|
+
} // namespace BOOST_REGEX_DETAIL_NS
|
3128
|
+
} // namespace boost
|
3129
|
+
|
3130
|
+
#endif
|