passenger 6.0.8 → 6.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1145) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +29 -0
  3. data/CONTRIBUTORS +5 -0
  4. data/src/agent/Core/Config.h +1 -1
  5. data/src/agent/Core/Controller/Config.h +1 -1
  6. data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
  7. data/src/agent/Watchdog/Config.h +1 -1
  8. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +27 -27
  9. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
  10. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +2 -2
  11. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
  12. data/src/cxx_supportlib/Constants.h +1 -1
  13. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
  14. data/src/cxx_supportlib/FileDescriptor.h +8 -0
  15. data/src/cxx_supportlib/StaticString.h +2 -0
  16. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  17. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
  18. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
  19. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
  20. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +1 -1
  21. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +240 -11
  22. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +1 -1
  23. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +5 -5
  24. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +9 -9
  25. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +1 -1
  26. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +21 -13
  27. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +13 -13
  28. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
  29. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +21 -13
  30. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +20 -13
  31. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +18 -18
  32. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +29 -21
  33. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +22 -21
  34. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +58 -51
  35. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
  36. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
  37. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +20 -13
  38. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
  39. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
  40. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +16 -16
  41. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +5 -5
  42. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +25 -25
  43. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +1 -1
  44. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
  45. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +1 -1
  46. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
  47. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +1 -1
  48. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
  49. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
  50. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +13 -13
  51. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
  52. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +1 -1
  53. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +19 -19
  54. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
  55. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
  56. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +5 -5
  57. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +3 -3
  58. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
  59. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
  60. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
  61. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +1 -1
  62. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
  63. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +5 -1
  64. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +1 -1
  65. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
  66. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +1 -1
  67. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
  68. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +1 -1
  69. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
  70. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +58 -15
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +1 -1
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +1 -1
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +1 -1
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +1 -1
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +1 -1
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +1 -1
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +1 -1
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +1 -1
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +1 -1
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +1 -1
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +3 -3
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +1 -1
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +88 -12
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +1 -1
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +1 -1
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +1 -1
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +1 -1
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +1 -1
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +1 -1
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +1 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +1 -1
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +1 -1
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +1 -1
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +1 -1
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +6 -1
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +1 -1
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +1 -1
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +1 -1
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +13 -11
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +1 -1
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +7 -40
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +1 -1
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +4 -7
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +1 -1
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +1 -1
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +1 -1
  153. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
  154. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
  156. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
  157. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
  158. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
  159. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -1
  160. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +1 -1
  161. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
  162. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +1 -1
  163. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
  164. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
  165. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
  166. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
  167. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
  168. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
  169. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
  170. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
  171. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +1 -1
  172. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
  173. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
  175. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
  176. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
  177. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
  178. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +7 -1
  181. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +1 -1
  182. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +1 -1
  183. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +1 -1
  184. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +1 -1
  185. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +1 -1
  186. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +1 -1
  187. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +1 -1
  188. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +1 -1
  189. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +1 -1
  190. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +1 -1
  191. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +1 -1
  192. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +1 -1
  193. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +1 -1
  194. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +1 -1
  195. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +1 -1
  196. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +1 -1
  197. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +1 -1
  198. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +3 -5
  199. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
  200. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +1 -1
  201. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
  202. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +3 -3
  203. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +7 -7
  204. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +2 -5
  206. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
  209. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
  210. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
  211. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +1 -1
  212. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
  213. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
  214. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
  215. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
  216. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +1 -1
  217. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +1 -1
  218. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
  219. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +1 -1
  220. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
  221. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +1 -1
  222. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +2 -1
  223. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
  224. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +1 -1
  225. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
  226. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
  227. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
  228. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
  229. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
  230. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
  231. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
  232. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
  233. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
  234. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
  235. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
  236. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
  237. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
  238. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +9 -2
  239. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +1 -1
  240. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +1 -1
  241. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +1 -1
  242. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
  243. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +1 -1
  244. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
  245. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +1 -1
  246. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +1 -1
  247. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +9 -1
  249. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
  250. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
  251. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +1 -1
  252. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
  253. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +1 -1
  254. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
  255. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +5 -5
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +1 -1
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +107 -19
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +194 -112
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +283 -83
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +218 -70
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +47 -42
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +287 -90
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +39 -36
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +62 -14
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +29 -9
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +1 -1
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +67 -48
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +39 -25
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +281 -82
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +62 -14
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +1 -1
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +216 -70
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +1 -1
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +215 -70
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +14 -17
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +1 -1
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +1 -1
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +7 -10
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +7 -10
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +7 -10
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +7 -10
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +21 -21
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +34 -19
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +137 -0
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +245 -0
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +4 -4
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +3 -1
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +3 -1
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +13 -13
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +4 -2
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +19 -19
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +13 -9
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +13 -9
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +3 -3
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +6 -2
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +1 -1
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +13 -9
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +56 -44
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +2 -2
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +106 -70
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +2 -1
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +8 -7
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +2 -1
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +1 -1
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +1 -1
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +14 -14
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +1 -1
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +56 -44
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +2 -2
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +21 -1
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +1 -1
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +21 -1
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +47 -6
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +1 -1
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +51 -5
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +1 -1
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +1 -1
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +1 -1
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +1 -1
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +1 -1
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +1 -1
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +1 -1
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +11 -10
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +17 -6
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +5 -5
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +235 -157
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +79 -51
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +55 -43
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +1 -1
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +106 -70
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +1 -1
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +136 -89
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +100 -58
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +7 -7
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +1 -1
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +1 -1
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +1 -1
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +1 -1
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +1 -1
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +1 -1
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +2 -1
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +1 -1
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +1 -1
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +1 -1
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +1 -1
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +1 -1
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +1 -1
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +1 -1
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +55 -23
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +23 -1
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +1 -1
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +21 -1
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +3 -3
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +1 -1
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +10 -10
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +10 -10
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +6 -6
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +6 -6
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +55 -43
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +1 -1
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
  520. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +6 -0
  521. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
  522. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
  523. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
  524. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
  525. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
  526. data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
  527. data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +3 -23
  528. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
  529. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +154 -0
  530. data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
  531. data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +52 -8
  532. data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +39 -0
  533. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
  534. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
  535. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
  536. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
  537. data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
  538. data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
  539. data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
  540. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +214 -0
  541. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +215 -0
  542. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
  543. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +59 -0
  544. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
  545. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +1 -1
  546. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +11 -0
  547. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +186 -0
  548. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +37 -2
  549. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +11 -4
  550. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +21 -1
  551. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +45 -1
  552. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +8 -0
  553. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +10 -7
  554. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
  555. data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +6 -0
  556. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +123 -71
  557. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +4 -3
  558. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +117 -45
  559. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
  560. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +1 -0
  561. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
  562. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
  563. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +142 -36
  564. data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +100 -31
  565. data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +24 -24
  566. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +141 -90
  567. data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
  568. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
  569. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
  570. data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +12 -8
  571. data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +4 -15
  572. data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +22 -1
  573. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
  574. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +126 -92
  575. data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +2 -0
  576. data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +4 -14
  577. data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +30 -0
  578. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3000 -0
  579. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +237 -169
  580. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +10 -28
  581. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +58 -29
  582. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +84 -80
  583. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +41 -0
  584. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
  585. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +1 -1
  586. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +2 -3
  587. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +21 -35
  588. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +51 -26
  589. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +1 -1
  590. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +109 -57
  591. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +4 -1
  592. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +184 -105
  593. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +123 -15
  594. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +368 -384
  595. data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -3
  596. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +1 -1
  597. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
  598. data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +102 -134
  599. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +581 -0
  600. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +199 -0
  601. data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
  602. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +42 -0
  603. data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +36 -0
  604. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
  605. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
  606. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
  607. data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
  608. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +55 -37
  609. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
  610. data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +0 -3
  611. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
  612. data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
  613. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
  614. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
  615. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
  616. data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
  617. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +1 -1
  618. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
  619. data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
  620. data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
  621. data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
  622. data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
  623. data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
  624. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +8 -16
  625. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +4 -5
  626. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +2 -1
  627. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +1 -2
  628. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +94 -0
  629. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +2 -2
  630. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +2 -0
  631. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
  632. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +42 -0
  633. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1 -1
  634. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +11 -5
  635. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +11 -11
  636. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +7 -15
  637. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +18 -22
  638. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +2 -4
  639. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +2 -2
  640. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
  641. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
  642. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +38 -38
  643. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +1 -1
  644. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
  645. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
  646. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
  647. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +10 -10
  648. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
  649. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
  650. data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
  651. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +3 -7
  652. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
  653. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
  654. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +4 -8
  655. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +2 -4
  656. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +3 -2
  657. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +31 -14
  658. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +4 -48
  659. data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
  660. data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
  661. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +224 -0
  662. data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +253 -43
  663. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
  664. data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
  665. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
  666. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
  667. data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +2 -2
  668. data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
  669. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
  670. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
  671. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
  672. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
  673. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
  674. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
  675. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +2 -2
  676. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
  677. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +8 -1
  678. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +5 -5
  679. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
  680. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
  681. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
  682. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
  683. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
  684. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +2 -2
  685. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
  686. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
  687. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
  688. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
  689. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
  690. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
  691. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +2 -2
  692. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
  693. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +3 -3
  694. data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
  695. data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
  696. data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +1 -1
  697. data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
  698. data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
  699. data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
  700. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +1 -1
  701. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +5 -0
  702. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
  703. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
  704. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
  705. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
  706. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
  707. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
  708. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
  709. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
  710. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
  711. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
  712. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
  713. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
  714. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
  715. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
  716. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
  717. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
  718. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
  719. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
  720. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
  721. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
  722. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
  723. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
  724. data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
  725. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
  726. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
  727. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
  728. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
  729. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
  730. data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
  731. data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +7 -10
  732. data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
  733. data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
  734. data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
  735. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
  736. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
  737. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
  738. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
  739. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
  740. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
  741. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
  742. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
  743. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
  744. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
  745. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
  746. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
  747. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
  748. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
  749. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
  750. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
  751. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
  752. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
  753. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
  754. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
  755. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
  756. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
  757. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
  758. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
  759. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
  760. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
  761. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
  762. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
  763. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
  764. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
  765. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
  766. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
  767. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
  768. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
  769. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
  770. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
  771. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
  772. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
  773. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
  774. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
  775. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
  776. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
  777. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
  778. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
  779. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
  780. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
  781. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
  782. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
  783. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
  784. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
  785. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
  786. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
  787. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
  788. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
  789. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
  790. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
  791. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
  792. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
  793. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
  794. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
  795. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
  796. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
  797. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
  798. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
  799. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
  800. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
  801. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
  802. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
  803. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
  804. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
  805. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
  806. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
  807. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
  808. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
  809. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
  810. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
  811. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
  812. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
  813. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
  814. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
  815. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
  816. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
  817. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
  818. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
  819. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
  820. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
  821. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
  822. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
  823. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
  824. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
  825. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
  826. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
  827. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
  828. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
  829. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
  830. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
  831. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
  832. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
  833. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
  834. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
  835. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
  836. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
  837. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
  838. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
  839. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
  840. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
  841. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
  842. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
  843. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
  844. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
  845. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
  846. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
  847. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
  848. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
  849. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
  850. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
  851. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
  852. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
  853. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
  854. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
  855. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
  856. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
  857. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
  858. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
  859. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
  860. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
  861. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
  862. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
  863. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
  864. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
  865. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
  866. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
  867. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
  868. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
  869. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
  870. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
  871. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
  872. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
  873. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
  874. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
  875. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
  876. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
  877. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
  878. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
  879. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
  880. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
  881. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
  882. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
  883. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
  884. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
  885. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
  886. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
  887. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
  888. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
  889. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
  890. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
  891. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
  892. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
  893. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
  894. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
  895. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
  896. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
  897. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
  898. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
  899. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
  900. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
  901. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
  902. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
  903. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
  904. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
  905. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
  906. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
  907. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
  908. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
  909. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
  910. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
  911. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
  912. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
  913. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
  914. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
  915. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
  916. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
  917. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
  918. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
  919. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
  920. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
  921. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
  922. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
  923. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
  924. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
  925. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
  926. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
  927. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
  928. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
  929. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
  930. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
  931. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
  932. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
  933. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
  934. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
  935. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
  936. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
  937. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
  938. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
  939. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
  940. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
  941. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
  942. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
  943. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
  944. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
  945. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
  946. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +1 -1
  947. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
  948. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
  949. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
  950. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
  951. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
  952. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
  953. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
  954. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
  955. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
  956. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
  957. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
  958. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
  959. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
  960. data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
  961. data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
  962. data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
  963. data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
  964. data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
  965. data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
  966. data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
  967. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
  968. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
  969. data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
  970. data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
  971. data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
  972. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
  973. data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
  974. data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
  975. data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
  976. data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
  977. data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
  978. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
  979. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
  980. data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
  981. data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
  982. data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
  983. data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
  984. data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
  985. data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
  986. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
  987. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
  988. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
  989. data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
  990. data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
  991. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
  992. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +78 -73
  993. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
  994. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
  995. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
  996. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
  997. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
  998. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
  999. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
  1000. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
  1001. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +13 -13
  1002. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
  1003. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
  1004. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
  1005. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
  1006. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
  1007. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
  1008. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
  1009. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
  1010. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +127 -0
  1011. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
  1012. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
  1013. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +39 -41
  1014. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
  1015. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
  1016. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
  1017. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
  1018. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
  1019. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
  1020. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
  1021. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
  1022. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
  1023. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +790 -0
  1024. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
  1025. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
  1026. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1575 -0
  1027. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3117 -0
  1028. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
  1029. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
  1030. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
  1031. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
  1032. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
  1033. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
  1034. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/indexed_bit_flag.hpp +54 -0
  1035. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
  1036. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
  1037. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
  1038. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
  1039. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +175 -0
  1040. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
  1041. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +105 -0
  1042. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
  1043. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +915 -0
  1044. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1872 -0
  1045. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
  1046. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
  1047. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
  1048. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
  1049. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
  1050. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
  1051. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
  1052. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
  1053. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
  1054. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
  1055. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
  1056. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
  1057. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
  1058. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
  1059. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
  1060. data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
  1061. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
  1062. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
  1063. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
  1064. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
  1065. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
  1066. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
  1067. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +864 -0
  1068. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1176 -0
  1069. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
  1070. data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +1 -1
  1071. data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
  1072. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +16 -0
  1073. data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
  1074. data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
  1075. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +189 -0
  1076. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +108 -0
  1077. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +215 -0
  1078. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +163 -0
  1079. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
  1080. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
  1081. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{system_category_posix.hpp → is_generic_value.hpp} +7 -14
  1082. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
  1083. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +83 -0
  1084. data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
  1085. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{std_interoperability.hpp → to_std_category.hpp} +11 -2
  1086. data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +50 -0
  1087. data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
  1088. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -925
  1089. data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
  1090. data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
  1091. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
  1092. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
  1093. data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
  1094. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
  1095. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
  1096. data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +37 -39
  1097. data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
  1098. data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +1 -1
  1099. data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +1 -1
  1100. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
  1101. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
  1102. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
  1103. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
  1104. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
  1105. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
  1106. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
  1107. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
  1108. data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
  1109. data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
  1110. data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
  1111. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
  1112. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
  1113. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
  1114. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
  1115. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +1 -1
  1116. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +8 -8
  1117. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +8 -8
  1118. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  1119. data/src/ruby_supportlib/phusion_passenger.rb +5 -5
  1120. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
  1121. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
  1122. metadata +223 -28
  1123. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
  1124. data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
  1125. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
  1126. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
  1127. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
  1128. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
  1129. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
  1130. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
  1131. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
  1132. data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
  1133. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
  1134. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
  1135. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
  1136. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
  1137. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
  1138. data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
  1139. data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
  1140. data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
  1141. data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
  1142. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
  1143. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
  1144. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
  1145. data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
@@ -0,0 +1,255 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2003
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 regex_token_iterator.hpp
15
+ * VERSION see <boost/version.hpp>
16
+ * DESCRIPTION: Provides regex_token_iterator implementation.
17
+ */
18
+
19
+ #ifndef BOOST_REGEX_V5_REGEX_TOKEN_ITERATOR_HPP
20
+ #define BOOST_REGEX_V5_REGEX_TOKEN_ITERATOR_HPP
21
+
22
+ #include <memory>
23
+
24
+ namespace boost{
25
+
26
+ template <class BidirectionalIterator,
27
+ class charT,
28
+ class traits>
29
+ class regex_token_iterator_implementation
30
+ {
31
+ typedef basic_regex<charT, traits> regex_type;
32
+ typedef sub_match<BidirectionalIterator> value_type;
33
+
34
+ match_results<BidirectionalIterator> what; // current match
35
+ BidirectionalIterator base; // start of search area
36
+ BidirectionalIterator end; // end of search area
37
+ const regex_type re; // the expression
38
+ match_flag_type flags; // match flags
39
+ value_type result; // the current string result
40
+ int N; // the current sub-expression being enumerated
41
+ std::vector<int> subs; // the sub-expressions to enumerate
42
+
43
+ public:
44
+ regex_token_iterator_implementation(const regex_type* p, BidirectionalIterator last, int sub, match_flag_type f)
45
+ : end(last), re(*p), flags(f), N(0){ subs.push_back(sub); }
46
+ regex_token_iterator_implementation(const regex_type* p, BidirectionalIterator last, const std::vector<int>& v, match_flag_type f)
47
+ : end(last), re(*p), flags(f), N(0), subs(v){}
48
+ template <std::size_t CN>
49
+ regex_token_iterator_implementation(const regex_type* p, BidirectionalIterator last, const int (&submatches)[CN], match_flag_type f)
50
+ : end(last), re(*p), flags(f), N(0)
51
+ {
52
+ for(std::size_t i = 0; i < CN; ++i)
53
+ {
54
+ subs.push_back(submatches[i]);
55
+ }
56
+ }
57
+ regex_token_iterator_implementation(const regex_token_iterator_implementation& other) = default;
58
+ bool init(BidirectionalIterator first)
59
+ {
60
+ N = 0;
61
+ base = first;
62
+ if(regex_search(first, end, what, re, flags, base) == true)
63
+ {
64
+ N = 0;
65
+ result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]);
66
+ return true;
67
+ }
68
+ else if((subs[N] == -1) && (first != end))
69
+ {
70
+ result.first = first;
71
+ result.second = end;
72
+ result.matched = (first != end);
73
+ N = -1;
74
+ return true;
75
+ }
76
+ return false;
77
+ }
78
+ bool compare(const regex_token_iterator_implementation& that)
79
+ {
80
+ if(this == &that) return true;
81
+ return (&re.get_data() == &that.re.get_data())
82
+ && (end == that.end)
83
+ && (flags == that.flags)
84
+ && (N == that.N)
85
+ && (what[0].first == that.what[0].first)
86
+ && (what[0].second == that.what[0].second);
87
+ }
88
+ const value_type& get()
89
+ { return result; }
90
+ bool next()
91
+ {
92
+ if(N == -1)
93
+ return false;
94
+ if(N+1 < (int)subs.size())
95
+ {
96
+ ++N;
97
+ result =((subs[N] == -1) ? what.prefix() : what[subs[N]]);
98
+ return true;
99
+ }
100
+ //if(what.prefix().first != what[0].second)
101
+ // flags |= /*match_prev_avail |*/ regex_constants::match_not_bob;
102
+ BidirectionalIterator last_end(what[0].second);
103
+ if(regex_search(last_end, end, what, re, ((what[0].first == what[0].second) ? flags | regex_constants::match_not_initial_null : flags), base))
104
+ {
105
+ N =0;
106
+ result =((subs[N] == -1) ? what.prefix() : what[subs[N]]);
107
+ return true;
108
+ }
109
+ else if((last_end != end) && (subs[0] == -1))
110
+ {
111
+ N =-1;
112
+ result.first = last_end;
113
+ result.second = end;
114
+ result.matched = (last_end != end);
115
+ return true;
116
+ }
117
+ return false;
118
+ }
119
+ private:
120
+ regex_token_iterator_implementation& operator=(const regex_token_iterator_implementation&);
121
+ };
122
+
123
+ template <class BidirectionalIterator,
124
+ class charT = typename std::iterator_traits<BidirectionalIterator>::value_type,
125
+ class traits = regex_traits<charT> >
126
+ class regex_token_iterator
127
+ {
128
+ private:
129
+ typedef regex_token_iterator_implementation<BidirectionalIterator, charT, traits> impl;
130
+ typedef std::shared_ptr<impl> pimpl;
131
+ public:
132
+ typedef basic_regex<charT, traits> regex_type;
133
+ typedef sub_match<BidirectionalIterator> value_type;
134
+ typedef typename std::iterator_traits<BidirectionalIterator>::difference_type
135
+ difference_type;
136
+ typedef const value_type* pointer;
137
+ typedef const value_type& reference;
138
+ typedef std::forward_iterator_tag iterator_category;
139
+
140
+ regex_token_iterator(){}
141
+ regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b, const regex_type& re,
142
+ int submatch = 0, match_flag_type m = match_default)
143
+ : pdata(new impl(&re, b, submatch, m))
144
+ {
145
+ if(!pdata->init(a))
146
+ pdata.reset();
147
+ }
148
+ regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b, const regex_type& re,
149
+ const std::vector<int>& submatches, match_flag_type m = match_default)
150
+ : pdata(new impl(&re, b, submatches, m))
151
+ {
152
+ if(!pdata->init(a))
153
+ pdata.reset();
154
+ }
155
+ template <std::size_t N>
156
+ regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b, const regex_type& re,
157
+ const int (&submatches)[N], match_flag_type m = match_default)
158
+ : pdata(new impl(&re, b, submatches, m))
159
+ {
160
+ if(!pdata->init(a))
161
+ pdata.reset();
162
+ }
163
+ regex_token_iterator(const regex_token_iterator& that)
164
+ : pdata(that.pdata) {}
165
+ regex_token_iterator& operator=(const regex_token_iterator& that)
166
+ {
167
+ pdata = that.pdata;
168
+ return *this;
169
+ }
170
+ bool operator==(const regex_token_iterator& that)const
171
+ {
172
+ if((pdata.get() == 0) || (that.pdata.get() == 0))
173
+ return pdata.get() == that.pdata.get();
174
+ return pdata->compare(*(that.pdata.get()));
175
+ }
176
+ bool operator!=(const regex_token_iterator& that)const
177
+ { return !(*this == that); }
178
+ const value_type& operator*()const
179
+ { return pdata->get(); }
180
+ const value_type* operator->()const
181
+ { return &(pdata->get()); }
182
+ regex_token_iterator& operator++()
183
+ {
184
+ cow();
185
+ if(0 == pdata->next())
186
+ {
187
+ pdata.reset();
188
+ }
189
+ return *this;
190
+ }
191
+ regex_token_iterator operator++(int)
192
+ {
193
+ regex_token_iterator result(*this);
194
+ ++(*this);
195
+ return result;
196
+ }
197
+ private:
198
+
199
+ pimpl pdata;
200
+
201
+ void cow()
202
+ {
203
+ // copy-on-write
204
+ if(pdata.get() && (pdata.use_count() > 1))
205
+ {
206
+ pdata.reset(new impl(*(pdata.get())));
207
+ }
208
+ }
209
+ };
210
+
211
+ typedef regex_token_iterator<const char*> cregex_token_iterator;
212
+ typedef regex_token_iterator<std::string::const_iterator> sregex_token_iterator;
213
+ #ifndef BOOST_NO_WREGEX
214
+ typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;
215
+ typedef regex_token_iterator<std::wstring::const_iterator> wsregex_token_iterator;
216
+ #endif
217
+
218
+ template <class charT, class traits>
219
+ inline regex_token_iterator<const charT*, charT, traits> make_regex_token_iterator(const charT* p, const basic_regex<charT, traits>& e, int submatch = 0, regex_constants::match_flag_type m = regex_constants::match_default)
220
+ {
221
+ return regex_token_iterator<const charT*, charT, traits>(p, p+traits::length(p), e, submatch, m);
222
+ }
223
+ template <class charT, class traits, class ST, class SA>
224
+ inline regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits> make_regex_token_iterator(const std::basic_string<charT, ST, SA>& p, const basic_regex<charT, traits>& e, int submatch = 0, regex_constants::match_flag_type m = regex_constants::match_default)
225
+ {
226
+ return regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits>(p.begin(), p.end(), e, submatch, m);
227
+ }
228
+ template <class charT, class traits, std::size_t N>
229
+ inline regex_token_iterator<const charT*, charT, traits> make_regex_token_iterator(const charT* p, const basic_regex<charT, traits>& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_constants::match_default)
230
+ {
231
+ return regex_token_iterator<const charT*, charT, traits>(p, p+traits::length(p), e, submatch, m);
232
+ }
233
+ template <class charT, class traits, class ST, class SA, std::size_t N>
234
+ inline regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits> make_regex_token_iterator(const std::basic_string<charT, ST, SA>& p, const basic_regex<charT, traits>& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_constants::match_default)
235
+ {
236
+ return regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits>(p.begin(), p.end(), e, submatch, m);
237
+ }
238
+ template <class charT, class traits>
239
+ inline regex_token_iterator<const charT*, charT, traits> make_regex_token_iterator(const charT* p, const basic_regex<charT, traits>& e, const std::vector<int>& submatch, regex_constants::match_flag_type m = regex_constants::match_default)
240
+ {
241
+ return regex_token_iterator<const charT*, charT, traits>(p, p+traits::length(p), e, submatch, m);
242
+ }
243
+ template <class charT, class traits, class ST, class SA>
244
+ inline regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits> make_regex_token_iterator(const std::basic_string<charT, ST, SA>& p, const basic_regex<charT, traits>& e, const std::vector<int>& submatch, regex_constants::match_flag_type m = regex_constants::match_default)
245
+ {
246
+ return regex_token_iterator<typename std::basic_string<charT, ST, SA>::const_iterator, charT, traits>(p.begin(), p.end(), e, submatch, m);
247
+ }
248
+
249
+ } // namespace boost
250
+
251
+ #endif // BOOST_REGEX_V5_REGEX_TOKEN_ITERATOR_HPP
252
+
253
+
254
+
255
+
@@ -0,0 +1,130 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2003
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 regex_traits.hpp
15
+ * VERSION see <boost/version.hpp>
16
+ * DESCRIPTION: Declares regular expression traits classes.
17
+ */
18
+
19
+ #ifndef BOOST_REGEX_TRAITS_HPP_INCLUDED
20
+ #define BOOST_REGEX_TRAITS_HPP_INCLUDED
21
+
22
+ #include <boost/regex/config.hpp>
23
+ #include <boost/regex/v5/regex_workaround.hpp>
24
+ #include <boost/regex/v5/syntax_type.hpp>
25
+ #include <boost/regex/v5/error_type.hpp>
26
+ #include <boost/regex/v5/regex_traits_defaults.hpp>
27
+ #include <boost/regex/v5/cpp_regex_traits.hpp>
28
+ #include <boost/regex/v5/c_regex_traits.hpp>
29
+ #if defined(_WIN32) && !defined(BOOST_REGEX_NO_W32)
30
+ # include <boost/regex/v5/w32_regex_traits.hpp>
31
+ #endif
32
+ #include <boost/regex_fwd.hpp>
33
+
34
+ namespace boost{
35
+
36
+ template <class charT, class implementationT >
37
+ struct regex_traits : public implementationT
38
+ {
39
+ regex_traits() : implementationT() {}
40
+ };
41
+
42
+ //
43
+ // class regex_traits_wrapper.
44
+ // this is what our implementation will actually store;
45
+ // it provides default implementations of the "optional"
46
+ // interfaces that we support, in addition to the
47
+ // required "standard" ones:
48
+ //
49
+ namespace BOOST_REGEX_DETAIL_NS{
50
+
51
+ template <class T>
52
+ struct has_boost_extensions_tag
53
+ {
54
+ template <class U>
55
+ static double checker(U*, typename U::boost_extensions_tag* = nullptr);
56
+ static char checker(...);
57
+ static T* get();
58
+
59
+ static const bool value = sizeof(checker(get())) > 1;
60
+ };
61
+
62
+
63
+ template <class BaseT>
64
+ struct default_wrapper : public BaseT
65
+ {
66
+ typedef typename BaseT::char_type char_type;
67
+ std::string error_string(::boost::regex_constants::error_type e)const
68
+ {
69
+ return ::boost::BOOST_REGEX_DETAIL_NS::get_default_error_string(e);
70
+ }
71
+ ::boost::regex_constants::syntax_type syntax_type(char_type c)const
72
+ {
73
+ return (char_type(c & 0x7f) == c) ? get_default_syntax_type(static_cast<char>(c)) : ::boost::regex_constants::syntax_char;
74
+ }
75
+ ::boost::regex_constants::escape_syntax_type escape_syntax_type(char_type c)const
76
+ {
77
+ return (char_type(c & 0x7f) == c) ? get_default_escape_syntax_type(static_cast<char>(c)) : ::boost::regex_constants::escape_type_identity;
78
+ }
79
+ std::intmax_t toi(const char_type*& p1, const char_type* p2, int radix)const
80
+ {
81
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_toi(p1, p2, radix, *this);
82
+ }
83
+ char_type translate(char_type c, bool icase)const
84
+ {
85
+ return (icase ? this->translate_nocase(c) : this->translate(c));
86
+ }
87
+ char_type translate(char_type c)const
88
+ {
89
+ return BaseT::translate(c);
90
+ }
91
+ char_type tolower(char_type c)const
92
+ {
93
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_lower(c);
94
+ }
95
+ char_type toupper(char_type c)const
96
+ {
97
+ return ::boost::BOOST_REGEX_DETAIL_NS::global_upper(c);
98
+ }
99
+ };
100
+
101
+ template <class BaseT, bool has_extensions>
102
+ struct compute_wrapper_base
103
+ {
104
+ typedef BaseT type;
105
+ };
106
+ template <class BaseT>
107
+ struct compute_wrapper_base<BaseT, false>
108
+ {
109
+ typedef default_wrapper<BaseT> type;
110
+ };
111
+
112
+ } // namespace BOOST_REGEX_DETAIL_NS
113
+
114
+ template <class BaseT>
115
+ struct regex_traits_wrapper
116
+ : public ::boost::BOOST_REGEX_DETAIL_NS::compute_wrapper_base<
117
+ BaseT,
118
+ ::boost::BOOST_REGEX_DETAIL_NS::has_boost_extensions_tag<BaseT>::value
119
+ >::type
120
+ {
121
+ regex_traits_wrapper(){}
122
+ private:
123
+ regex_traits_wrapper(const regex_traits_wrapper&);
124
+ regex_traits_wrapper& operator=(const regex_traits_wrapper&);
125
+ };
126
+
127
+ } // namespace boost
128
+
129
+ #endif // include
130
+
@@ -3,42 +3,50 @@
3
3
  * Copyright (c) 2004
4
4
  * John Maddock
5
5
  *
6
- * Use, modification and distribution are subject to the
7
- * Boost Software License, Version 1.0. (See accompanying file
6
+ * Use, modification and distribution are subject to the
7
+ * Boost Software License, Version 1.0. (See accompanying file
8
8
  * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
9
  *
10
10
  */
11
-
11
+
12
12
  /*
13
13
  * LOCATION: see http://www.boost.org for most recent version.
14
- * FILE regex_traits_defaults.cpp
14
+ * FILE regex_traits_defaults.hpp
15
15
  * VERSION see <boost/version.hpp>
16
16
  * DESCRIPTION: Declares API's for access to regex_traits default properties.
17
17
  */
18
18
 
19
- #define BOOST_REGEX_SOURCE
20
- #include <boost/regex/regex_traits.hpp>
19
+ #ifndef BOOST_REGEX_TRAITS_DEFAULTS_HPP_INCLUDED
20
+ #define BOOST_REGEX_TRAITS_DEFAULTS_HPP_INCLUDED
21
+
22
+ #include <boost/regex/config.hpp>
21
23
 
24
+ #include <boost/regex/v5/syntax_type.hpp>
25
+ #include <boost/regex/v5/error_type.hpp>
26
+ #include <boost/regex/v5/regex_workaround.hpp>
27
+ #include <type_traits>
28
+ #include <cstdint>
22
29
  #include <cctype>
23
- #ifndef BOOST_NO_WREGEX
30
+ #include <locale>
24
31
  #include <cwctype>
25
- #endif
32
+ #include <limits>
26
33
 
27
- #if defined(BOOST_NO_STDC_NAMESPACE)
28
- namespace std{
29
- using ::tolower;
30
- using ::toupper;
31
- #ifndef BOOST_NO_WREGEX
32
- using ::towlower;
33
- using ::towupper;
34
- #endif
35
- }
36
- #endif
34
+ namespace boost{ namespace BOOST_REGEX_DETAIL_NS{
37
35
 
38
36
 
39
- namespace boost{ namespace BOOST_REGEX_DETAIL_NS{
37
+ //
38
+ // helpers to suppress warnings:
39
+ //
40
+ template <class charT>
41
+ inline bool is_extended(charT c)
42
+ {
43
+ typedef typename std::make_unsigned<charT>::type unsigned_type;
44
+ return (sizeof(charT) > 1) && (static_cast<unsigned_type>(c) >= 256u);
45
+ }
46
+ inline bool is_extended(char)
47
+ { return false; }
40
48
 
41
- BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_syntax(regex_constants::syntax_type n)
49
+ inline const char* get_default_syntax(regex_constants::syntax_type n)
42
50
  {
43
51
  // if the user hasn't supplied a message catalog, then this supplies
44
52
  // default "messages" for us to load in the range 1-100.
@@ -108,7 +116,7 @@ BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_syntax(regex_constants
108
116
  return ((n >= (sizeof(messages) / sizeof(messages[1]))) ? "" : messages[n]);
109
117
  }
110
118
 
111
- BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_error_string(regex_constants::error_type n)
119
+ inline const char* get_default_error_string(regex_constants::error_type n)
112
120
  {
113
121
  static const char* const s_default_error_messages[] = {
114
122
  "Success", /* REG_NOERROR 0 error_ok */
@@ -138,407 +146,56 @@ BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_error_string(regex_con
138
146
  "Unknown error.", /* REG_E_UNKNOWN 21 error_unknown */
139
147
  };
140
148
 
141
- return (n > ::boost::regex_constants::error_unknown) ? s_default_error_messages[ ::boost::regex_constants::error_unknown] : s_default_error_messages[n];
142
- }
143
-
144
- BOOST_REGEX_DECL bool BOOST_REGEX_CALL is_combining_implementation(boost::uint_least16_t c)
145
- {
146
- const boost::uint_least16_t combining_ranges[] = { 0x0300, 0x0361,
147
- 0x0483, 0x0486,
148
- 0x0903, 0x0903,
149
- 0x093E, 0x0940,
150
- 0x0949, 0x094C,
151
- 0x0982, 0x0983,
152
- 0x09BE, 0x09C0,
153
- 0x09C7, 0x09CC,
154
- 0x09D7, 0x09D7,
155
- 0x0A3E, 0x0A40,
156
- 0x0A83, 0x0A83,
157
- 0x0ABE, 0x0AC0,
158
- 0x0AC9, 0x0ACC,
159
- 0x0B02, 0x0B03,
160
- 0x0B3E, 0x0B3E,
161
- 0x0B40, 0x0B40,
162
- 0x0B47, 0x0B4C,
163
- 0x0B57, 0x0B57,
164
- 0x0B83, 0x0B83,
165
- 0x0BBE, 0x0BBF,
166
- 0x0BC1, 0x0BCC,
167
- 0x0BD7, 0x0BD7,
168
- 0x0C01, 0x0C03,
169
- 0x0C41, 0x0C44,
170
- 0x0C82, 0x0C83,
171
- 0x0CBE, 0x0CBE,
172
- 0x0CC0, 0x0CC4,
173
- 0x0CC7, 0x0CCB,
174
- 0x0CD5, 0x0CD6,
175
- 0x0D02, 0x0D03,
176
- 0x0D3E, 0x0D40,
177
- 0x0D46, 0x0D4C,
178
- 0x0D57, 0x0D57,
179
- 0x0F7F, 0x0F7F,
180
- 0x20D0, 0x20E1,
181
- 0x3099, 0x309A,
182
- 0xFE20, 0xFE23,
183
- 0xffff, 0xffff, };
184
-
185
- const boost::uint_least16_t* p = combining_ranges + 1;
186
- while(*p < c) p += 2;
187
- --p;
188
- if((c >= *p) && (c <= *(p+1)))
189
- return true;
190
- return false;
191
- }
192
-
193
- //
194
- // these are the POSIX collating names:
195
- //
196
- static const char* def_coll_names[] = {
197
- "NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "alert", "backspace", "tab", "newline",
198
- "vertical-tab", "form-feed", "carriage-return", "SO", "SI", "DLE", "DC1", "DC2", "DC3", "DC4", "NAK",
199
- "SYN", "ETB", "CAN", "EM", "SUB", "ESC", "IS4", "IS3", "IS2", "IS1", "space", "exclamation-mark",
200
- "quotation-mark", "number-sign", "dollar-sign", "percent-sign", "ampersand", "apostrophe",
201
- "left-parenthesis", "right-parenthesis", "asterisk", "plus-sign", "comma", "hyphen",
202
- "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine",
203
- "colon", "semicolon", "less-than-sign", "equals-sign", "greater-than-sign",
204
- "question-mark", "commercial-at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P",
205
- "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "left-square-bracket", "backslash",
206
- "right-square-bracket", "circumflex", "underscore", "grave-accent", "a", "b", "c", "d", "e", "f",
207
- "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "left-curly-bracket",
208
- "vertical-line", "right-curly-bracket", "tilde", "DEL", "",
209
- };
210
-
211
- // these multi-character collating elements
212
- // should keep most Western-European locales
213
- // happy - we should really localise these a
214
- // little more - but this will have to do for
215
- // now:
216
-
217
- static const char* def_multi_coll[] = {
218
- "ae",
219
- "Ae",
220
- "AE",
221
- "ch",
222
- "Ch",
223
- "CH",
224
- "ll",
225
- "Ll",
226
- "LL",
227
- "ss",
228
- "Ss",
229
- "SS",
230
- "nj",
231
- "Nj",
232
- "NJ",
233
- "dz",
234
- "Dz",
235
- "DZ",
236
- "lj",
237
- "Lj",
238
- "LJ",
239
- "",
240
- };
241
-
242
-
243
-
244
- BOOST_REGEX_DECL std::string BOOST_REGEX_CALL lookup_default_collate_name(const std::string& name)
245
- {
246
- unsigned int i = 0;
247
- while(*def_coll_names[i])
248
- {
249
- if(def_coll_names[i] == name)
250
- {
251
- return std::string(1, char(i));
252
- }
253
- ++i;
254
- }
255
- i = 0;
256
- while(*def_multi_coll[i])
257
- {
258
- if(def_multi_coll[i] == name)
259
- {
260
- return def_multi_coll[i];
261
- }
262
- ++i;
263
- }
264
- return std::string();
265
- }
266
-
267
- BOOST_REGEX_DECL char BOOST_REGEX_CALL do_global_lower(char c)
268
- {
269
- return static_cast<char>((std::tolower)((unsigned char)c));
270
- }
271
-
272
- BOOST_REGEX_DECL char BOOST_REGEX_CALL do_global_upper(char c)
273
- {
274
- return static_cast<char>((std::toupper)((unsigned char)c));
275
- }
276
- #ifndef BOOST_NO_WREGEX
277
- BOOST_REGEX_DECL wchar_t BOOST_REGEX_CALL do_global_lower(wchar_t c)
278
- {
279
- return (std::towlower)(c);
280
- }
281
-
282
- BOOST_REGEX_DECL wchar_t BOOST_REGEX_CALL do_global_upper(wchar_t c)
283
- {
284
- return (std::towupper)(c);
285
- }
286
- #ifdef BOOST_REGEX_HAS_OTHER_WCHAR_T
287
- BOOST_REGEX_DECL unsigned short BOOST_REGEX_CALL do_global_lower(unsigned short c)
288
- {
289
- return (std::towlower)(c);
290
- }
291
-
292
- BOOST_REGEX_DECL unsigned short BOOST_REGEX_CALL do_global_upper(unsigned short c)
293
- {
294
- return (std::towupper)(c);
149
+ return (n > ::boost::regex_constants::error_unknown) ? s_default_error_messages[::boost::regex_constants::error_unknown] : s_default_error_messages[n];
295
150
  }
296
- #endif
297
-
298
- #endif
299
151
 
300
- BOOST_REGEX_DECL regex_constants::escape_syntax_type BOOST_REGEX_CALL get_default_escape_syntax_type(char c)
152
+ inline regex_constants::syntax_type get_default_syntax_type(char c)
301
153
  {
302
154
  //
303
155
  // char_syntax determines how the compiler treats a given character
304
156
  // in a regular expression.
305
157
  //
306
- static regex_constants::escape_syntax_type char_syntax[] = {
307
- regex_constants::escape_type_identity, /**/
308
- regex_constants::escape_type_identity, /**/
309
- regex_constants::escape_type_identity, /**/
310
- regex_constants::escape_type_identity, /**/
311
- regex_constants::escape_type_identity, /**/
312
- regex_constants::escape_type_identity, /**/
313
- regex_constants::escape_type_identity, /**/
314
- regex_constants::escape_type_identity, /**/
315
- regex_constants::escape_type_identity, /**/
316
- regex_constants::escape_type_identity, /**/
317
- regex_constants::escape_type_identity, /**/
318
- regex_constants::escape_type_identity, /**/
319
- regex_constants::escape_type_identity, /**/
320
- regex_constants::escape_type_identity, /**/
321
- regex_constants::escape_type_identity, /**/
322
- regex_constants::escape_type_identity, /**/
323
- regex_constants::escape_type_identity, /**/
324
- regex_constants::escape_type_identity, /**/
325
- regex_constants::escape_type_identity, /**/
326
- regex_constants::escape_type_identity, /**/
327
- regex_constants::escape_type_identity, /**/
328
- regex_constants::escape_type_identity, /**/
329
- regex_constants::escape_type_identity, /**/
330
- regex_constants::escape_type_identity, /**/
331
- regex_constants::escape_type_identity, /**/
332
- regex_constants::escape_type_identity, /**/
333
- regex_constants::escape_type_identity, /**/
334
- regex_constants::escape_type_identity, /**/
335
- regex_constants::escape_type_identity, /**/
336
- regex_constants::escape_type_identity, /**/
337
- regex_constants::escape_type_identity, /**/
338
- regex_constants::escape_type_identity, /**/
339
- regex_constants::escape_type_identity, /* */ // 32
340
- regex_constants::escape_type_identity, /*!*/
341
- regex_constants::escape_type_identity, /*"*/
342
- regex_constants::escape_type_identity, /*#*/
343
- regex_constants::escape_type_identity, /*$*/
344
- regex_constants::escape_type_identity, /*%*/
345
- regex_constants::escape_type_identity, /*&*/
346
- regex_constants::escape_type_end_buffer, /*'*/
347
- regex_constants::syntax_open_mark, /*(*/
348
- regex_constants::syntax_close_mark, /*)*/
349
- regex_constants::escape_type_identity, /***/
350
- regex_constants::syntax_plus, /*+*/
351
- regex_constants::escape_type_identity, /*,*/
352
- regex_constants::escape_type_identity, /*-*/
353
- regex_constants::escape_type_identity, /*.*/
354
- regex_constants::escape_type_identity, /*/*/
355
- regex_constants::escape_type_decimal, /*0*/
356
- regex_constants::escape_type_backref, /*1*/
357
- regex_constants::escape_type_backref, /*2*/
358
- regex_constants::escape_type_backref, /*3*/
359
- regex_constants::escape_type_backref, /*4*/
360
- regex_constants::escape_type_backref, /*5*/
361
- regex_constants::escape_type_backref, /*6*/
362
- regex_constants::escape_type_backref, /*7*/
363
- regex_constants::escape_type_backref, /*8*/
364
- regex_constants::escape_type_backref, /*9*/
365
- regex_constants::escape_type_identity, /*:*/
366
- regex_constants::escape_type_identity, /*;*/
367
- regex_constants::escape_type_left_word, /*<*/
368
- regex_constants::escape_type_identity, /*=*/
369
- regex_constants::escape_type_right_word, /*>*/
370
- regex_constants::syntax_question, /*?*/
371
- regex_constants::escape_type_identity, /*@*/
372
- regex_constants::escape_type_start_buffer, /*A*/
373
- regex_constants::escape_type_not_word_assert, /*B*/
374
- regex_constants::escape_type_C, /*C*/
375
- regex_constants::escape_type_not_class, /*D*/
376
- regex_constants::escape_type_E, /*E*/
377
- regex_constants::escape_type_not_class, /*F*/
378
- regex_constants::escape_type_G, /*G*/
379
- regex_constants::escape_type_not_class, /*H*/
380
- regex_constants::escape_type_not_class, /*I*/
381
- regex_constants::escape_type_not_class, /*J*/
382
- regex_constants::escape_type_reset_start_mark, /*K*/
383
- regex_constants::escape_type_not_class, /*L*/
384
- regex_constants::escape_type_not_class, /*M*/
385
- regex_constants::escape_type_named_char, /*N*/
386
- regex_constants::escape_type_not_class, /*O*/
387
- regex_constants::escape_type_not_property, /*P*/
388
- regex_constants::escape_type_Q, /*Q*/
389
- regex_constants::escape_type_line_ending, /*R*/
390
- regex_constants::escape_type_not_class, /*S*/
391
- regex_constants::escape_type_not_class, /*T*/
392
- regex_constants::escape_type_not_class, /*U*/
393
- regex_constants::escape_type_not_class, /*V*/
394
- regex_constants::escape_type_not_class, /*W*/
395
- regex_constants::escape_type_X, /*X*/
396
- regex_constants::escape_type_not_class, /*Y*/
397
- regex_constants::escape_type_Z, /*Z*/
398
- regex_constants::escape_type_identity, /*[*/
399
- regex_constants::escape_type_identity, /*\*/
400
- regex_constants::escape_type_identity, /*]*/
401
- regex_constants::escape_type_identity, /*^*/
402
- regex_constants::escape_type_identity, /*_*/
403
- regex_constants::escape_type_start_buffer, /*`*/
404
- regex_constants::escape_type_control_a, /*a*/
405
- regex_constants::escape_type_word_assert, /*b*/
406
- regex_constants::escape_type_ascii_control, /*c*/
407
- regex_constants::escape_type_class, /*d*/
408
- regex_constants::escape_type_e, /*e*/
409
- regex_constants::escape_type_control_f, /*f*/
410
- regex_constants::escape_type_extended_backref, /*g*/
411
- regex_constants::escape_type_class, /*h*/
412
- regex_constants::escape_type_class, /*i*/
413
- regex_constants::escape_type_class, /*j*/
414
- regex_constants::escape_type_extended_backref, /*k*/
415
- regex_constants::escape_type_class, /*l*/
416
- regex_constants::escape_type_class, /*m*/
417
- regex_constants::escape_type_control_n, /*n*/
418
- regex_constants::escape_type_class, /*o*/
419
- regex_constants::escape_type_property, /*p*/
420
- regex_constants::escape_type_class, /*q*/
421
- regex_constants::escape_type_control_r, /*r*/
422
- regex_constants::escape_type_class, /*s*/
423
- regex_constants::escape_type_control_t, /*t*/
424
- regex_constants::escape_type_class, /*u*/
425
- regex_constants::escape_type_control_v, /*v*/
426
- regex_constants::escape_type_class, /*w*/
427
- regex_constants::escape_type_hex, /*x*/
428
- regex_constants::escape_type_class, /*y*/
429
- regex_constants::escape_type_end_buffer, /*z*/
430
- regex_constants::syntax_open_brace, /*{*/
431
- regex_constants::syntax_or, /*|*/
432
- regex_constants::syntax_close_brace, /*}*/
433
- regex_constants::escape_type_identity, /*~*/
434
- regex_constants::escape_type_identity, /**/
435
- regex_constants::escape_type_identity, /**/
436
- regex_constants::escape_type_identity, /**/
437
- regex_constants::escape_type_identity, /**/
438
- regex_constants::escape_type_identity, /**/
439
- regex_constants::escape_type_identity, /**/
440
- regex_constants::escape_type_identity, /**/
441
- regex_constants::escape_type_identity, /**/
442
- regex_constants::escape_type_identity, /**/
443
- regex_constants::escape_type_identity, /**/
444
- regex_constants::escape_type_identity, /**/
445
- regex_constants::escape_type_identity, /**/
446
- regex_constants::escape_type_identity, /**/
447
- regex_constants::escape_type_identity, /**/
448
- regex_constants::escape_type_identity, /**/
449
- regex_constants::escape_type_identity, /**/
450
- regex_constants::escape_type_identity, /**/
451
- regex_constants::escape_type_identity, /**/
452
- regex_constants::escape_type_identity, /**/
453
- regex_constants::escape_type_identity, /**/
454
- regex_constants::escape_type_identity, /**/
455
- regex_constants::escape_type_identity, /**/
456
- regex_constants::escape_type_identity, /**/
457
- regex_constants::escape_type_identity, /**/
458
- regex_constants::escape_type_identity, /**/
459
- regex_constants::escape_type_identity, /**/
460
- regex_constants::escape_type_identity, /**/
461
- regex_constants::escape_type_identity, /**/
462
- regex_constants::escape_type_identity, /**/
463
- regex_constants::escape_type_identity, /**/
464
- regex_constants::escape_type_identity, /**/
465
- regex_constants::escape_type_identity, /**/
466
- regex_constants::escape_type_identity, /**/
467
- regex_constants::escape_type_identity, /**/
468
- regex_constants::escape_type_identity, /**/
469
- regex_constants::escape_type_identity, /**/
470
- regex_constants::escape_type_identity, /**/
471
- regex_constants::escape_type_identity, /**/
472
- regex_constants::escape_type_identity, /**/
473
- regex_constants::escape_type_identity, /**/
474
- regex_constants::escape_type_identity, /**/
475
- regex_constants::escape_type_identity, /**/
476
- regex_constants::escape_type_identity, /**/
477
- regex_constants::escape_type_identity, /**/
478
- regex_constants::escape_type_identity, /**/
479
- regex_constants::escape_type_identity, /**/
480
- regex_constants::escape_type_identity, /**/
481
- regex_constants::escape_type_identity, /**/
482
- regex_constants::escape_type_identity, /**/
483
- regex_constants::escape_type_identity, /**/
484
- regex_constants::escape_type_identity, /**/
485
- regex_constants::escape_type_identity, /**/
486
- regex_constants::escape_type_identity, /**/
487
- regex_constants::escape_type_identity, /**/
488
- regex_constants::escape_type_identity, /**/
489
- regex_constants::escape_type_identity, /**/
490
- };
491
-
492
- return char_syntax[(unsigned char)c];
493
- }
494
-
495
- BOOST_REGEX_DECL regex_constants::syntax_type BOOST_REGEX_CALL get_default_syntax_type(char c)
496
- {
497
- //
498
- // char_syntax determines how the compiler treats a given character
499
- // in a regular expression.
500
- //
501
- static regex_constants::syntax_type char_syntax[] = {
502
- regex_constants::syntax_char, /**/
503
- regex_constants::syntax_char, /**/
504
- regex_constants::syntax_char, /**/
505
- regex_constants::syntax_char, /**/
506
- regex_constants::syntax_char, /**/
507
- regex_constants::syntax_char, /**/
508
- regex_constants::syntax_char, /**/
509
- regex_constants::syntax_char, /**/
510
- regex_constants::syntax_char, /**/
511
- regex_constants::syntax_char, /**/
512
- regex_constants::syntax_newline, /**/
513
- regex_constants::syntax_char, /**/
514
- regex_constants::syntax_char, /**/
515
- regex_constants::syntax_char, /**/
516
- regex_constants::syntax_char, /**/
517
- regex_constants::syntax_char, /**/
518
- regex_constants::syntax_char, /**/
519
- regex_constants::syntax_char, /**/
520
- regex_constants::syntax_char, /**/
521
- regex_constants::syntax_char, /**/
522
- regex_constants::syntax_char, /**/
523
- regex_constants::syntax_char, /**/
524
- regex_constants::syntax_char, /**/
525
- regex_constants::syntax_char, /**/
526
- regex_constants::syntax_char, /**/
527
- regex_constants::syntax_char, /**/
528
- regex_constants::syntax_char, /**/
529
- regex_constants::syntax_char, /**/
530
- regex_constants::syntax_char, /**/
531
- regex_constants::syntax_char, /**/
532
- regex_constants::syntax_char, /**/
533
- regex_constants::syntax_char, /**/
534
- regex_constants::syntax_char, /* */ // 32
535
- regex_constants::syntax_not, /*!*/
536
- regex_constants::syntax_char, /*"*/
537
- regex_constants::syntax_hash, /*#*/
538
- regex_constants::syntax_dollar, /*$*/
539
- regex_constants::syntax_char, /*%*/
540
- regex_constants::syntax_char, /*&*/
541
- regex_constants::escape_type_end_buffer, /*'*/
158
+ static regex_constants::syntax_type char_syntax[] = {
159
+ regex_constants::syntax_char, /**/
160
+ regex_constants::syntax_char, /**/
161
+ regex_constants::syntax_char, /**/
162
+ regex_constants::syntax_char, /**/
163
+ regex_constants::syntax_char, /**/
164
+ regex_constants::syntax_char, /**/
165
+ regex_constants::syntax_char, /**/
166
+ regex_constants::syntax_char, /**/
167
+ regex_constants::syntax_char, /**/
168
+ regex_constants::syntax_char, /**/
169
+ regex_constants::syntax_newline, /**/
170
+ regex_constants::syntax_char, /**/
171
+ regex_constants::syntax_char, /**/
172
+ regex_constants::syntax_char, /**/
173
+ regex_constants::syntax_char, /**/
174
+ regex_constants::syntax_char, /**/
175
+ regex_constants::syntax_char, /**/
176
+ regex_constants::syntax_char, /**/
177
+ regex_constants::syntax_char, /**/
178
+ regex_constants::syntax_char, /**/
179
+ regex_constants::syntax_char, /**/
180
+ regex_constants::syntax_char, /**/
181
+ regex_constants::syntax_char, /**/
182
+ regex_constants::syntax_char, /**/
183
+ regex_constants::syntax_char, /**/
184
+ regex_constants::syntax_char, /**/
185
+ regex_constants::syntax_char, /**/
186
+ regex_constants::syntax_char, /**/
187
+ regex_constants::syntax_char, /**/
188
+ regex_constants::syntax_char, /**/
189
+ regex_constants::syntax_char, /**/
190
+ regex_constants::syntax_char, /**/
191
+ regex_constants::syntax_char, /* */ // 32
192
+ regex_constants::syntax_not, /*!*/
193
+ regex_constants::syntax_char, /*"*/
194
+ regex_constants::syntax_hash, /*#*/
195
+ regex_constants::syntax_dollar, /*$*/
196
+ regex_constants::syntax_char, /*%*/
197
+ regex_constants::syntax_char, /*&*/
198
+ regex_constants::escape_type_end_buffer, /*'*/
542
199
  regex_constants::syntax_open_mark, /*(*/
543
200
  regex_constants::syntax_close_mark, /*)*/
544
201
  regex_constants::syntax_star, /***/
@@ -687,6 +344,653 @@ BOOST_REGEX_DECL regex_constants::syntax_type BOOST_REGEX_CALL get_default_synta
687
344
  return char_syntax[(unsigned char)c];
688
345
  }
689
346
 
347
+ inline regex_constants::escape_syntax_type get_default_escape_syntax_type(char c)
348
+ {
349
+ //
350
+ // char_syntax determines how the compiler treats a given character
351
+ // in a regular expression.
352
+ //
353
+ static regex_constants::escape_syntax_type char_syntax[] = {
354
+ regex_constants::escape_type_identity, /**/
355
+ regex_constants::escape_type_identity, /**/
356
+ regex_constants::escape_type_identity, /**/
357
+ regex_constants::escape_type_identity, /**/
358
+ regex_constants::escape_type_identity, /**/
359
+ regex_constants::escape_type_identity, /**/
360
+ regex_constants::escape_type_identity, /**/
361
+ regex_constants::escape_type_identity, /**/
362
+ regex_constants::escape_type_identity, /**/
363
+ regex_constants::escape_type_identity, /**/
364
+ regex_constants::escape_type_identity, /**/
365
+ regex_constants::escape_type_identity, /**/
366
+ regex_constants::escape_type_identity, /**/
367
+ regex_constants::escape_type_identity, /**/
368
+ regex_constants::escape_type_identity, /**/
369
+ regex_constants::escape_type_identity, /**/
370
+ regex_constants::escape_type_identity, /**/
371
+ regex_constants::escape_type_identity, /**/
372
+ regex_constants::escape_type_identity, /**/
373
+ regex_constants::escape_type_identity, /**/
374
+ regex_constants::escape_type_identity, /**/
375
+ regex_constants::escape_type_identity, /**/
376
+ regex_constants::escape_type_identity, /**/
377
+ regex_constants::escape_type_identity, /**/
378
+ regex_constants::escape_type_identity, /**/
379
+ regex_constants::escape_type_identity, /**/
380
+ regex_constants::escape_type_identity, /**/
381
+ regex_constants::escape_type_identity, /**/
382
+ regex_constants::escape_type_identity, /**/
383
+ regex_constants::escape_type_identity, /**/
384
+ regex_constants::escape_type_identity, /**/
385
+ regex_constants::escape_type_identity, /**/
386
+ regex_constants::escape_type_identity, /* */ // 32
387
+ regex_constants::escape_type_identity, /*!*/
388
+ regex_constants::escape_type_identity, /*"*/
389
+ regex_constants::escape_type_identity, /*#*/
390
+ regex_constants::escape_type_identity, /*$*/
391
+ regex_constants::escape_type_identity, /*%*/
392
+ regex_constants::escape_type_identity, /*&*/
393
+ regex_constants::escape_type_end_buffer, /*'*/
394
+ regex_constants::syntax_open_mark, /*(*/
395
+ regex_constants::syntax_close_mark, /*)*/
396
+ regex_constants::escape_type_identity, /***/
397
+ regex_constants::syntax_plus, /*+*/
398
+ regex_constants::escape_type_identity, /*,*/
399
+ regex_constants::escape_type_identity, /*-*/
400
+ regex_constants::escape_type_identity, /*.*/
401
+ regex_constants::escape_type_identity, /*/*/
402
+ regex_constants::escape_type_decimal, /*0*/
403
+ regex_constants::escape_type_backref, /*1*/
404
+ regex_constants::escape_type_backref, /*2*/
405
+ regex_constants::escape_type_backref, /*3*/
406
+ regex_constants::escape_type_backref, /*4*/
407
+ regex_constants::escape_type_backref, /*5*/
408
+ regex_constants::escape_type_backref, /*6*/
409
+ regex_constants::escape_type_backref, /*7*/
410
+ regex_constants::escape_type_backref, /*8*/
411
+ regex_constants::escape_type_backref, /*9*/
412
+ regex_constants::escape_type_identity, /*:*/
413
+ regex_constants::escape_type_identity, /*;*/
414
+ regex_constants::escape_type_left_word, /*<*/
415
+ regex_constants::escape_type_identity, /*=*/
416
+ regex_constants::escape_type_right_word, /*>*/
417
+ regex_constants::syntax_question, /*?*/
418
+ regex_constants::escape_type_identity, /*@*/
419
+ regex_constants::escape_type_start_buffer, /*A*/
420
+ regex_constants::escape_type_not_word_assert, /*B*/
421
+ regex_constants::escape_type_C, /*C*/
422
+ regex_constants::escape_type_not_class, /*D*/
423
+ regex_constants::escape_type_E, /*E*/
424
+ regex_constants::escape_type_not_class, /*F*/
425
+ regex_constants::escape_type_G, /*G*/
426
+ regex_constants::escape_type_not_class, /*H*/
427
+ regex_constants::escape_type_not_class, /*I*/
428
+ regex_constants::escape_type_not_class, /*J*/
429
+ regex_constants::escape_type_reset_start_mark, /*K*/
430
+ regex_constants::escape_type_not_class, /*L*/
431
+ regex_constants::escape_type_not_class, /*M*/
432
+ regex_constants::escape_type_named_char, /*N*/
433
+ regex_constants::escape_type_not_class, /*O*/
434
+ regex_constants::escape_type_not_property, /*P*/
435
+ regex_constants::escape_type_Q, /*Q*/
436
+ regex_constants::escape_type_line_ending, /*R*/
437
+ regex_constants::escape_type_not_class, /*S*/
438
+ regex_constants::escape_type_not_class, /*T*/
439
+ regex_constants::escape_type_not_class, /*U*/
440
+ regex_constants::escape_type_not_class, /*V*/
441
+ regex_constants::escape_type_not_class, /*W*/
442
+ regex_constants::escape_type_X, /*X*/
443
+ regex_constants::escape_type_not_class, /*Y*/
444
+ regex_constants::escape_type_Z, /*Z*/
445
+ regex_constants::escape_type_identity, /*[*/
446
+ regex_constants::escape_type_identity, /*\*/
447
+ regex_constants::escape_type_identity, /*]*/
448
+ regex_constants::escape_type_identity, /*^*/
449
+ regex_constants::escape_type_identity, /*_*/
450
+ regex_constants::escape_type_start_buffer, /*`*/
451
+ regex_constants::escape_type_control_a, /*a*/
452
+ regex_constants::escape_type_word_assert, /*b*/
453
+ regex_constants::escape_type_ascii_control, /*c*/
454
+ regex_constants::escape_type_class, /*d*/
455
+ regex_constants::escape_type_e, /*e*/
456
+ regex_constants::escape_type_control_f, /*f*/
457
+ regex_constants::escape_type_extended_backref, /*g*/
458
+ regex_constants::escape_type_class, /*h*/
459
+ regex_constants::escape_type_class, /*i*/
460
+ regex_constants::escape_type_class, /*j*/
461
+ regex_constants::escape_type_extended_backref, /*k*/
462
+ regex_constants::escape_type_class, /*l*/
463
+ regex_constants::escape_type_class, /*m*/
464
+ regex_constants::escape_type_control_n, /*n*/
465
+ regex_constants::escape_type_class, /*o*/
466
+ regex_constants::escape_type_property, /*p*/
467
+ regex_constants::escape_type_class, /*q*/
468
+ regex_constants::escape_type_control_r, /*r*/
469
+ regex_constants::escape_type_class, /*s*/
470
+ regex_constants::escape_type_control_t, /*t*/
471
+ regex_constants::escape_type_class, /*u*/
472
+ regex_constants::escape_type_control_v, /*v*/
473
+ regex_constants::escape_type_class, /*w*/
474
+ regex_constants::escape_type_hex, /*x*/
475
+ regex_constants::escape_type_class, /*y*/
476
+ regex_constants::escape_type_end_buffer, /*z*/
477
+ regex_constants::syntax_open_brace, /*{*/
478
+ regex_constants::syntax_or, /*|*/
479
+ regex_constants::syntax_close_brace, /*}*/
480
+ regex_constants::escape_type_identity, /*~*/
481
+ regex_constants::escape_type_identity, /**/
482
+ regex_constants::escape_type_identity, /**/
483
+ regex_constants::escape_type_identity, /**/
484
+ regex_constants::escape_type_identity, /**/
485
+ regex_constants::escape_type_identity, /**/
486
+ regex_constants::escape_type_identity, /**/
487
+ regex_constants::escape_type_identity, /**/
488
+ regex_constants::escape_type_identity, /**/
489
+ regex_constants::escape_type_identity, /**/
490
+ regex_constants::escape_type_identity, /**/
491
+ regex_constants::escape_type_identity, /**/
492
+ regex_constants::escape_type_identity, /**/
493
+ regex_constants::escape_type_identity, /**/
494
+ regex_constants::escape_type_identity, /**/
495
+ regex_constants::escape_type_identity, /**/
496
+ regex_constants::escape_type_identity, /**/
497
+ regex_constants::escape_type_identity, /**/
498
+ regex_constants::escape_type_identity, /**/
499
+ regex_constants::escape_type_identity, /**/
500
+ regex_constants::escape_type_identity, /**/
501
+ regex_constants::escape_type_identity, /**/
502
+ regex_constants::escape_type_identity, /**/
503
+ regex_constants::escape_type_identity, /**/
504
+ regex_constants::escape_type_identity, /**/
505
+ regex_constants::escape_type_identity, /**/
506
+ regex_constants::escape_type_identity, /**/
507
+ regex_constants::escape_type_identity, /**/
508
+ regex_constants::escape_type_identity, /**/
509
+ regex_constants::escape_type_identity, /**/
510
+ regex_constants::escape_type_identity, /**/
511
+ regex_constants::escape_type_identity, /**/
512
+ regex_constants::escape_type_identity, /**/
513
+ regex_constants::escape_type_identity, /**/
514
+ regex_constants::escape_type_identity, /**/
515
+ regex_constants::escape_type_identity, /**/
516
+ regex_constants::escape_type_identity, /**/
517
+ regex_constants::escape_type_identity, /**/
518
+ regex_constants::escape_type_identity, /**/
519
+ regex_constants::escape_type_identity, /**/
520
+ regex_constants::escape_type_identity, /**/
521
+ regex_constants::escape_type_identity, /**/
522
+ regex_constants::escape_type_identity, /**/
523
+ regex_constants::escape_type_identity, /**/
524
+ regex_constants::escape_type_identity, /**/
525
+ regex_constants::escape_type_identity, /**/
526
+ regex_constants::escape_type_identity, /**/
527
+ regex_constants::escape_type_identity, /**/
528
+ regex_constants::escape_type_identity, /**/
529
+ regex_constants::escape_type_identity, /**/
530
+ regex_constants::escape_type_identity, /**/
531
+ regex_constants::escape_type_identity, /**/
532
+ regex_constants::escape_type_identity, /**/
533
+ regex_constants::escape_type_identity, /**/
534
+ regex_constants::escape_type_identity, /**/
535
+ regex_constants::escape_type_identity, /**/
536
+ regex_constants::escape_type_identity, /**/
537
+ };
538
+
539
+ return char_syntax[(unsigned char)c];
540
+ }
541
+
542
+ // is charT c a combining character?
543
+ inline bool is_combining_implementation(std::uint_least16_t c)
544
+ {
545
+ const std::uint_least16_t combining_ranges[] = { 0x0300, 0x0361,
546
+ 0x0483, 0x0486,
547
+ 0x0903, 0x0903,
548
+ 0x093E, 0x0940,
549
+ 0x0949, 0x094C,
550
+ 0x0982, 0x0983,
551
+ 0x09BE, 0x09C0,
552
+ 0x09C7, 0x09CC,
553
+ 0x09D7, 0x09D7,
554
+ 0x0A3E, 0x0A40,
555
+ 0x0A83, 0x0A83,
556
+ 0x0ABE, 0x0AC0,
557
+ 0x0AC9, 0x0ACC,
558
+ 0x0B02, 0x0B03,
559
+ 0x0B3E, 0x0B3E,
560
+ 0x0B40, 0x0B40,
561
+ 0x0B47, 0x0B4C,
562
+ 0x0B57, 0x0B57,
563
+ 0x0B83, 0x0B83,
564
+ 0x0BBE, 0x0BBF,
565
+ 0x0BC1, 0x0BCC,
566
+ 0x0BD7, 0x0BD7,
567
+ 0x0C01, 0x0C03,
568
+ 0x0C41, 0x0C44,
569
+ 0x0C82, 0x0C83,
570
+ 0x0CBE, 0x0CBE,
571
+ 0x0CC0, 0x0CC4,
572
+ 0x0CC7, 0x0CCB,
573
+ 0x0CD5, 0x0CD6,
574
+ 0x0D02, 0x0D03,
575
+ 0x0D3E, 0x0D40,
576
+ 0x0D46, 0x0D4C,
577
+ 0x0D57, 0x0D57,
578
+ 0x0F7F, 0x0F7F,
579
+ 0x20D0, 0x20E1,
580
+ 0x3099, 0x309A,
581
+ 0xFE20, 0xFE23,
582
+ 0xffff, 0xffff, };
583
+
584
+ const std::uint_least16_t* p = combining_ranges + 1;
585
+ while (*p < c) p += 2;
586
+ --p;
587
+ if ((c >= *p) && (c <= *(p + 1)))
588
+ return true;
589
+ return false;
590
+ }
591
+
592
+ template <class charT>
593
+ inline bool is_combining(charT c)
594
+ {
595
+ return (c <= static_cast<charT>(0)) ? false : ((c >= static_cast<charT>((std::numeric_limits<uint_least16_t>::max)())) ? false : is_combining_implementation(static_cast<unsigned short>(c)));
596
+ }
597
+ template <>
598
+ inline bool is_combining<char>(char)
599
+ {
600
+ return false;
601
+ }
602
+ template <>
603
+ inline bool is_combining<signed char>(signed char)
604
+ {
605
+ return false;
606
+ }
607
+ template <>
608
+ inline bool is_combining<unsigned char>(unsigned char)
609
+ {
610
+ return false;
611
+ }
612
+ #ifdef _MSC_VER
613
+ template<>
614
+ inline bool is_combining<wchar_t>(wchar_t c)
615
+ {
616
+ return is_combining_implementation(static_cast<unsigned short>(c));
617
+ }
618
+ #elif !defined(__DECCXX) && !defined(__osf__) && !defined(__OSF__) && defined(WCHAR_MIN) && (WCHAR_MIN == 0) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
619
+ #if defined(WCHAR_MAX) && (WCHAR_MAX <= USHRT_MAX)
620
+ template<>
621
+ inline bool is_combining<wchar_t>(wchar_t c)
622
+ {
623
+ return is_combining_implementation(static_cast<unsigned short>(c));
624
+ }
625
+ #else
626
+ template<>
627
+ inline bool is_combining<wchar_t>(wchar_t c)
628
+ {
629
+ return (c >= (std::numeric_limits<uint_least16_t>::max)()) ? false : is_combining_implementation(static_cast<unsigned short>(c));
630
+ }
631
+ #endif
632
+ #endif
633
+
634
+ //
635
+ // is a charT c a line separator?
636
+ //
637
+ template <class charT>
638
+ inline bool is_separator(charT c)
639
+ {
640
+ return BOOST_REGEX_MAKE_BOOL(
641
+ (c == static_cast<charT>('\n'))
642
+ || (c == static_cast<charT>('\r'))
643
+ || (c == static_cast<charT>('\f'))
644
+ || (static_cast<std::uint16_t>(c) == 0x2028u)
645
+ || (static_cast<std::uint16_t>(c) == 0x2029u)
646
+ || (static_cast<std::uint16_t>(c) == 0x85u));
647
+ }
648
+ template <>
649
+ inline bool is_separator<char>(char c)
650
+ {
651
+ return BOOST_REGEX_MAKE_BOOL((c == '\n') || (c == '\r') || (c == '\f'));
652
+ }
653
+
654
+ //
655
+ // get a default collating element:
656
+ //
657
+ inline std::string lookup_default_collate_name(const std::string& name)
658
+ {
659
+ //
660
+ // these are the POSIX collating names:
661
+ //
662
+ static const char* def_coll_names[] = {
663
+ "NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "alert", "backspace", "tab", "newline",
664
+ "vertical-tab", "form-feed", "carriage-return", "SO", "SI", "DLE", "DC1", "DC2", "DC3", "DC4", "NAK",
665
+ "SYN", "ETB", "CAN", "EM", "SUB", "ESC", "IS4", "IS3", "IS2", "IS1", "space", "exclamation-mark",
666
+ "quotation-mark", "number-sign", "dollar-sign", "percent-sign", "ampersand", "apostrophe",
667
+ "left-parenthesis", "right-parenthesis", "asterisk", "plus-sign", "comma", "hyphen",
668
+ "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine",
669
+ "colon", "semicolon", "less-than-sign", "equals-sign", "greater-than-sign",
670
+ "question-mark", "commercial-at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P",
671
+ "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "left-square-bracket", "backslash",
672
+ "right-square-bracket", "circumflex", "underscore", "grave-accent", "a", "b", "c", "d", "e", "f",
673
+ "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "left-curly-bracket",
674
+ "vertical-line", "right-curly-bracket", "tilde", "DEL", "",
675
+ };
676
+
677
+ // these multi-character collating elements
678
+ // should keep most Western-European locales
679
+ // happy - we should really localise these a
680
+ // little more - but this will have to do for
681
+ // now:
682
+
683
+ static const char* def_multi_coll[] = {
684
+ "ae",
685
+ "Ae",
686
+ "AE",
687
+ "ch",
688
+ "Ch",
689
+ "CH",
690
+ "ll",
691
+ "Ll",
692
+ "LL",
693
+ "ss",
694
+ "Ss",
695
+ "SS",
696
+ "nj",
697
+ "Nj",
698
+ "NJ",
699
+ "dz",
700
+ "Dz",
701
+ "DZ",
702
+ "lj",
703
+ "Lj",
704
+ "LJ",
705
+ "",
706
+ };
707
+
708
+ unsigned int i = 0;
709
+ while (*def_coll_names[i])
710
+ {
711
+ if (def_coll_names[i] == name)
712
+ {
713
+ return std::string(1, char(i));
714
+ }
715
+ ++i;
716
+ }
717
+ i = 0;
718
+ while (*def_multi_coll[i])
719
+ {
720
+ if (def_multi_coll[i] == name)
721
+ {
722
+ return def_multi_coll[i];
723
+ }
724
+ ++i;
725
+ }
726
+ return std::string();
727
+ }
728
+
729
+ //
730
+ // get the state_id of a character classification, the individual
731
+ // traits classes then transform that state_id into a bitmask:
732
+ //
733
+ template <class charT>
734
+ struct character_pointer_range
735
+ {
736
+ const charT* p1;
737
+ const charT* p2;
738
+
739
+ bool operator < (const character_pointer_range& r)const
740
+ {
741
+ return std::lexicographical_compare(p1, p2, r.p1, r.p2);
742
+ }
743
+ bool operator == (const character_pointer_range& r)const
744
+ {
745
+ // Not only do we check that the ranges are of equal size before
746
+ // calling std::equal, but there is no other algorithm available:
747
+ // not even a non-standard MS one. So forward to unchecked_equal
748
+ // in the MS case.
749
+ #ifdef __cpp_lib_robust_nonmodifying_seq_ops
750
+ return std::equal(p1, p2, r.p1, r.p2);
751
+ #elif defined(BOOST_REGEX_MSVC)
752
+ if (((p2 - p1) != (r.p2 - r.p1)))
753
+ return false;
754
+ const charT* with = r.p1;
755
+ const charT* pos = p1;
756
+ while (pos != p2)
757
+ if (*pos++ != *with++) return false;
758
+ return true;
759
+
760
+ #else
761
+ return ((p2 - p1) == (r.p2 - r.p1)) && std::equal(p1, p2, r.p1);
762
+ #endif
763
+ }
764
+ };
765
+ template <class charT>
766
+ int get_default_class_id(const charT* p1, const charT* p2)
767
+ {
768
+ static const charT data[73] = {
769
+ 'a', 'l', 'n', 'u', 'm',
770
+ 'a', 'l', 'p', 'h', 'a',
771
+ 'b', 'l', 'a', 'n', 'k',
772
+ 'c', 'n', 't', 'r', 'l',
773
+ 'd', 'i', 'g', 'i', 't',
774
+ 'g', 'r', 'a', 'p', 'h',
775
+ 'l', 'o', 'w', 'e', 'r',
776
+ 'p', 'r', 'i', 'n', 't',
777
+ 'p', 'u', 'n', 'c', 't',
778
+ 's', 'p', 'a', 'c', 'e',
779
+ 'u', 'n', 'i', 'c', 'o', 'd', 'e',
780
+ 'u', 'p', 'p', 'e', 'r',
781
+ 'v',
782
+ 'w', 'o', 'r', 'd',
783
+ 'x', 'd', 'i', 'g', 'i', 't',
784
+ };
785
+
786
+ static const character_pointer_range<charT> ranges[21] =
787
+ {
788
+ {data+0, data+5,}, // alnum
789
+ {data+5, data+10,}, // alpha
790
+ {data+10, data+15,}, // blank
791
+ {data+15, data+20,}, // cntrl
792
+ {data+20, data+21,}, // d
793
+ {data+20, data+25,}, // digit
794
+ {data+25, data+30,}, // graph
795
+ {data+29, data+30,}, // h
796
+ {data+30, data+31,}, // l
797
+ {data+30, data+35,}, // lower
798
+ {data+35, data+40,}, // print
799
+ {data+40, data+45,}, // punct
800
+ {data+45, data+46,}, // s
801
+ {data+45, data+50,}, // space
802
+ {data+57, data+58,}, // u
803
+ {data+50, data+57,}, // unicode
804
+ {data+57, data+62,}, // upper
805
+ {data+62, data+63,}, // v
806
+ {data+63, data+64,}, // w
807
+ {data+63, data+67,}, // word
808
+ {data+67, data+73,}, // xdigit
809
+ };
810
+ const character_pointer_range<charT>* ranges_begin = ranges;
811
+ const character_pointer_range<charT>* ranges_end = ranges + (sizeof(ranges)/sizeof(ranges[0]));
812
+
813
+ character_pointer_range<charT> t = { p1, p2, };
814
+ const character_pointer_range<charT>* p = std::lower_bound(ranges_begin, ranges_end, t);
815
+ if((p != ranges_end) && (t == *p))
816
+ return static_cast<int>(p - ranges);
817
+ return -1;
818
+ }
819
+
820
+ //
821
+ // helper functions:
822
+ //
823
+ template <class charT>
824
+ std::ptrdiff_t global_length(const charT* p)
825
+ {
826
+ std::ptrdiff_t n = 0;
827
+ while(*p)
828
+ {
829
+ ++p;
830
+ ++n;
831
+ }
832
+ return n;
833
+ }
834
+ template<>
835
+ inline std::ptrdiff_t global_length<char>(const char* p)
836
+ {
837
+ return (std::strlen)(p);
838
+ }
839
+ #ifndef BOOST_NO_WREGEX
840
+ template<>
841
+ inline std::ptrdiff_t global_length<wchar_t>(const wchar_t* p)
842
+ {
843
+ return (std::ptrdiff_t)(std::wcslen)(p);
844
+ }
845
+ #endif
846
+ template <class charT>
847
+ inline charT global_lower(charT c)
848
+ {
849
+ return c;
850
+ }
851
+ template <class charT>
852
+ inline charT global_upper(charT c)
853
+ {
854
+ return c;
855
+ }
856
+
857
+ inline char do_global_lower(char c)
858
+ {
859
+ return static_cast<char>((std::tolower)((unsigned char)c));
860
+ }
861
+
862
+ inline char do_global_upper(char c)
863
+ {
864
+ return static_cast<char>((std::toupper)((unsigned char)c));
865
+ }
866
+ #ifndef BOOST_NO_WREGEX
867
+ inline wchar_t do_global_lower(wchar_t c)
868
+ {
869
+ return (std::towlower)(c);
870
+ }
871
+
872
+ inline wchar_t do_global_upper(wchar_t c)
873
+ {
874
+ return (std::towupper)(c);
875
+ }
876
+ #endif
877
+ //
878
+ // This sucks: declare template specialisations of global_lower/global_upper
879
+ // that just forward to the non-template implementation functions. We do
880
+ // this because there is one compiler (Compaq Tru64 C++) that doesn't seem
881
+ // to differentiate between templates and non-template overloads....
882
+ // what's more, the primary template, plus all overloads have to be
883
+ // defined in the same translation unit (if one is inline they all must be)
884
+ // otherwise the "local template instantiation" compiler option can pick
885
+ // the wrong instantiation when linking:
886
+ //
887
+ template<> inline char global_lower<char>(char c) { return do_global_lower(c); }
888
+ template<> inline char global_upper<char>(char c) { return do_global_upper(c); }
889
+ #ifndef BOOST_NO_WREGEX
890
+ template<> inline wchar_t global_lower<wchar_t>(wchar_t c) { return do_global_lower(c); }
891
+ template<> inline wchar_t global_upper<wchar_t>(wchar_t c) { return do_global_upper(c); }
892
+ #endif
893
+
894
+ template <class charT>
895
+ int global_value(charT c)
896
+ {
897
+ static const charT zero = '0';
898
+ static const charT nine = '9';
899
+ static const charT a = 'a';
900
+ static const charT f = 'f';
901
+ static const charT A = 'A';
902
+ static const charT F = 'F';
903
+
904
+ if(c > f) return -1;
905
+ if(c >= a) return 10 + (c - a);
906
+ if(c > F) return -1;
907
+ if(c >= A) return 10 + (c - A);
908
+ if(c > nine) return -1;
909
+ if(c >= zero) return c - zero;
910
+ return -1;
911
+ }
912
+ template <class charT, class traits>
913
+ std::intmax_t global_toi(const charT*& p1, const charT* p2, int radix, const traits& t)
914
+ {
915
+ (void)t; // warning suppression
916
+ std::intmax_t limit = (std::numeric_limits<std::intmax_t>::max)() / radix;
917
+ std::intmax_t next_value = t.value(*p1, radix);
918
+ if((p1 == p2) || (next_value < 0) || (next_value >= radix))
919
+ return -1;
920
+ std::intmax_t result = 0;
921
+ while(p1 != p2)
922
+ {
923
+ next_value = t.value(*p1, radix);
924
+ if((next_value < 0) || (next_value >= radix))
925
+ break;
926
+ result *= radix;
927
+ result += next_value;
928
+ ++p1;
929
+ if (result > limit)
930
+ return -1;
931
+ }
932
+ return result;
933
+ }
934
+
935
+ template <class charT>
936
+ inline typename std::enable_if<(sizeof(charT) > 1), const charT*>::type get_escape_R_string()
937
+ {
938
+ #ifdef BOOST_REGEX_MSVC
939
+ # pragma warning(push)
940
+ # pragma warning(disable:4309 4245)
941
+ #endif
942
+ static const charT e1[] = { '(', '?', '-', 'x', ':', '(', '?', '>', '\x0D', '\x0A', '?',
943
+ '|', '[', '\x0A', '\x0B', '\x0C', static_cast<charT>(0x85), static_cast<charT>(0x2028),
944
+ static_cast<charT>(0x2029), ']', ')', ')', '\0' };
945
+ static const charT e2[] = { '(', '?', '-', 'x', ':', '(', '?', '>', '\x0D', '\x0A', '?',
946
+ '|', '[', '\x0A', '\x0B', '\x0C', static_cast<charT>(0x85), ']', ')', ')', '\0' };
947
+
948
+ charT c = static_cast<charT>(0x2029u);
949
+ bool b = (static_cast<unsigned>(c) == 0x2029u);
950
+
951
+ return (b ? e1 : e2);
952
+ #ifdef BOOST_REGEX_MSVC
953
+ # pragma warning(pop)
954
+ #endif
955
+ }
956
+
957
+ template <class charT>
958
+ inline typename std::enable_if<(sizeof(charT) == 1), const charT*>::type get_escape_R_string()
959
+ {
960
+ #ifdef BOOST_REGEX_MSVC
961
+ # pragma warning(push)
962
+ # pragma warning(disable:4309 4245)
963
+ #endif
964
+ static const charT e2[] = {
965
+ static_cast<charT>('('),
966
+ static_cast<charT>('?'),
967
+ static_cast<charT>('-'),
968
+ static_cast<charT>('x'),
969
+ static_cast<charT>(':'),
970
+ static_cast<charT>('('),
971
+ static_cast<charT>('?'),
972
+ static_cast<charT>('>'),
973
+ static_cast<charT>('\x0D'),
974
+ static_cast<charT>('\x0A'),
975
+ static_cast<charT>('?'),
976
+ static_cast<charT>('|'),
977
+ static_cast<charT>('['),
978
+ static_cast<charT>('\x0A'),
979
+ static_cast<charT>('\x0B'),
980
+ static_cast<charT>('\x0C'),
981
+ static_cast<charT>('\x85'),
982
+ static_cast<charT>(']'),
983
+ static_cast<charT>(')'),
984
+ static_cast<charT>(')'),
985
+ static_cast<charT>('\0')
986
+ };
987
+ return e2;
988
+ #ifdef BOOST_REGEX_MSVC
989
+ # pragma warning(pop)
990
+ #endif
991
+ }
690
992
 
691
993
  } // BOOST_REGEX_DETAIL_NS
692
994
  } // boost
995
+
996
+ #endif