passenger 6.0.11 → 6.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +24 -1
  3. data/CONTRIBUTORS +3 -0
  4. data/src/agent/Core/Config.h +1 -1
  5. data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
  6. data/src/agent/Core/Controller/Config.h +1 -1
  7. data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
  8. data/src/agent/Core/Controller.h +4 -1
  9. data/src/agent/Watchdog/Config.h +1 -1
  10. data/src/cxx_supportlib/Constants.h +1 -1
  11. data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
  12. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
  13. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
  14. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
  15. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +53 -1
  16. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +179 -0
  17. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +57 -1
  18. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
  19. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +789 -106
  20. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +1 -1
  21. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +80 -0
  22. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +10 -0
  23. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +80 -0
  24. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +30 -0
  25. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +20 -0
  26. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +90 -0
  27. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +60 -0
  28. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +10 -0
  29. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +723 -0
  30. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +191 -12
  31. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +361 -0
  32. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
  33. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
  34. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +30 -2
  35. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +60 -0
  36. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
  37. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +209 -76
  38. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +149 -60
  39. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +40 -0
  40. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +8 -4
  41. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +14 -4
  42. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +6 -0
  43. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +14 -10
  44. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +21 -18
  45. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +30 -19
  46. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +8 -0
  47. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +14 -0
  48. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +20 -0
  49. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +30 -0
  50. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +20 -0
  51. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +29 -0
  52. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +24 -0
  53. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +19 -0
  54. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +3 -1
  55. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +6 -0
  56. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +15 -5
  57. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +60 -0
  58. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +8 -0
  59. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +27 -0
  60. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +93 -0
  61. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +77 -0
  62. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +111 -0
  63. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +4 -0
  64. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +44 -0
  65. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +2 -1
  66. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +2 -2
  67. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +14 -4
  68. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +90 -24
  69. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +30 -1
  70. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +4 -0
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +5 -1
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +5 -2
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +12 -12
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +10 -8
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +8 -8
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +7 -7
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +7 -7
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +7 -7
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +7 -7
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +13 -13
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +7 -7
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +8 -8
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +73 -0
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +133 -0
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +1057 -0
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +607 -0
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +160 -0
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_traits.hpp +185 -0
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +181 -0
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/append.hpp +219 -0
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +14 -28
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_tuple.hpp +248 -0
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/deferred.hpp +106 -0
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +434 -0
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/prepend.hpp +219 -0
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +100 -0
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +217 -0
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +73 -0
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +608 -0
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +284 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +344 -20
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +23 -54
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +23 -54
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +66 -18
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +55 -5
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +68 -80
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +8 -4
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +8 -4
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +3 -2
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +8 -4
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +98 -113
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +71 -82
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +210 -266
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +248 -30
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +11 -21
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +15 -3
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +71 -87
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +46 -68
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +4 -4
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +2 -7
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +10 -0
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +23 -3
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +21 -21
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +9 -9
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +88 -0
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +44 -0
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +132 -0
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +21 -21
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +9 -9
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +5 -0
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +1 -1
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +14 -0
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +36 -27
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +2 -2
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +37 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +14 -7
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +73 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +4 -4
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +235 -0
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +4 -4
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +7 -10
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +20 -0
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +20 -0
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +88 -0
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +44 -0
  153. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +6 -0
  154. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +17 -13
  156. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
  157. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +2 -5
  158. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +2 -5
  159. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +2 -2
  160. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +2 -2
  161. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +56 -0
  162. data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +1 -5
  163. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +31 -11
  164. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +20 -4
  165. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
  166. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +81 -0
  167. data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
  168. data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +17 -0
  169. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +26 -0
  170. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +49 -0
  171. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +46 -4
  172. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +2 -2
  173. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
  175. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
  176. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
  177. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2 -2
  178. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +6 -6
  181. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +4 -4
  182. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +45 -38
  183. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +24 -0
  184. data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
  185. data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
  186. data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
  187. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
  188. data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
  189. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
  190. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
  191. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +31 -31
  192. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
  193. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +68 -68
  194. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +72 -62
  195. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +19 -20
  196. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +19 -19
  197. data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
  198. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +2 -2
  199. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +3 -3
  200. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +5 -5
  201. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
  202. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
  203. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +2 -4
  204. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +1 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +2 -50
  206. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +1 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +71 -70
  208. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +15 -14
  209. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +84 -82
  210. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
  211. data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
  212. data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
  213. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
  214. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +18 -18
  215. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
  216. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +26 -26
  217. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
  218. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
  219. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
  220. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +51 -51
  221. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +24 -24
  222. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +104 -104
  223. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
  224. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
  225. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
  226. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +31 -31
  227. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
  228. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +18 -18
  229. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
  230. data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
  231. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +63 -63
  232. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +15 -15
  233. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +4 -1
  234. data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
  235. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +1 -0
  236. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
  237. data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
  238. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +1 -1
  239. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +3 -0
  240. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +112 -31
  241. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3 -0
  242. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +4 -8
  243. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +0 -2
  244. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +6 -2
  245. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +1 -1
  246. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +22 -2
  247. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +59 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +9 -11
  249. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +27 -21
  250. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +34 -3
  251. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +378 -36
  252. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +97 -21
  253. data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
  254. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
  255. data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +70 -0
  256. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{to_std_category.hpp → std_category.hpp} +5 -55
  257. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +2 -12
  258. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +0 -33
  259. data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
  260. data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +20 -9
  261. data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +3 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  263. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
  264. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
  265. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
  266. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
  267. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
  268. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
  269. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
  270. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
  271. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
  272. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +8 -1
  273. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
  274. data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
  275. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
  276. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +8 -0
  277. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
  278. data/src/ruby_supportlib/phusion_passenger.rb +1 -1
  279. metadata +39 -4
  280. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_generic_value.hpp +0 -125
@@ -145,22 +145,22 @@ struct bstbase3
145
145
  BOOST_INTRUSIVE_FORCEINLINE const_value_traits_ptr priv_value_traits_ptr() const
146
146
  { return pointer_traits<const_value_traits_ptr>::pointer_to(this->get_value_traits()); }
147
147
 
148
- iterator begin()
148
+ BOOST_INTRUSIVE_FORCEINLINE iterator begin() BOOST_NOEXCEPT
149
149
  { return iterator(node_algorithms::begin_node(this->header_ptr()), this->priv_value_traits_ptr()); }
150
150
 
151
- BOOST_INTRUSIVE_FORCEINLINE const_iterator begin() const
151
+ BOOST_INTRUSIVE_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT
152
152
  { return cbegin(); }
153
153
 
154
- const_iterator cbegin() const
154
+ BOOST_INTRUSIVE_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT
155
155
  { return const_iterator(node_algorithms::begin_node(this->header_ptr()), this->priv_value_traits_ptr()); }
156
156
 
157
- iterator end()
157
+ BOOST_INTRUSIVE_FORCEINLINE iterator end() BOOST_NOEXCEPT
158
158
  { return iterator(node_algorithms::end_node(this->header_ptr()), this->priv_value_traits_ptr()); }
159
159
 
160
- BOOST_INTRUSIVE_FORCEINLINE const_iterator end() const
160
+ BOOST_INTRUSIVE_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT
161
161
  { return cend(); }
162
162
 
163
- BOOST_INTRUSIVE_FORCEINLINE const_iterator cend() const
163
+ BOOST_INTRUSIVE_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT
164
164
  { return const_iterator(node_algorithms::end_node(this->header_ptr()), this->priv_value_traits_ptr()); }
165
165
 
166
166
  BOOST_INTRUSIVE_FORCEINLINE iterator root()
@@ -195,32 +195,32 @@ struct bstbase3
195
195
  node_algorithms::replace_node( get_value_traits().to_node_ptr(*replace_this)
196
196
  , this->header_ptr()
197
197
  , get_value_traits().to_node_ptr(with_this));
198
- if(safemode_or_autounlink)
198
+ BOOST_IF_CONSTEXPR(safemode_or_autounlink)
199
199
  node_algorithms::init(replace_this.pointed_node());
200
200
  }
201
201
 
202
- BOOST_INTRUSIVE_FORCEINLINE void rebalance()
202
+ BOOST_INTRUSIVE_FORCEINLINE void rebalance() BOOST_NOEXCEPT
203
203
  { node_algorithms::rebalance(this->header_ptr()); }
204
204
 
205
- iterator rebalance_subtree(iterator root)
205
+ iterator rebalance_subtree(iterator root) BOOST_NOEXCEPT
206
206
  { return iterator(node_algorithms::rebalance_subtree(root.pointed_node()), this->priv_value_traits_ptr()); }
207
207
 
208
- static iterator s_iterator_to(reference value)
208
+ static iterator s_iterator_to(reference value) BOOST_NOEXCEPT
209
209
  {
210
210
  BOOST_STATIC_ASSERT((!stateful_value_traits));
211
211
  return iterator (value_traits::to_node_ptr(value), const_value_traits_ptr());
212
212
  }
213
213
 
214
- static const_iterator s_iterator_to(const_reference value)
214
+ static const_iterator s_iterator_to(const_reference value) BOOST_NOEXCEPT
215
215
  {
216
216
  BOOST_STATIC_ASSERT((!stateful_value_traits));
217
217
  return const_iterator (value_traits::to_node_ptr(*pointer_traits<pointer>::const_cast_from(pointer_traits<const_pointer>::pointer_to(value))), const_value_traits_ptr());
218
218
  }
219
219
 
220
- iterator iterator_to(reference value)
220
+ iterator iterator_to(reference value) BOOST_NOEXCEPT
221
221
  { return iterator (this->get_value_traits().to_node_ptr(value), this->priv_value_traits_ptr()); }
222
222
 
223
- const_iterator iterator_to(const_reference value) const
223
+ const_iterator iterator_to(const_reference value) const BOOST_NOEXCEPT
224
224
  { return const_iterator (this->get_value_traits().to_node_ptr(*pointer_traits<pointer>::const_cast_from(pointer_traits<const_pointer>::pointer_to(value))), this->priv_value_traits_ptr()); }
225
225
 
226
226
  BOOST_INTRUSIVE_FORCEINLINE static void init_node(reference value)
@@ -761,42 +761,42 @@ class bstree_impl
761
761
  //! <b>Complexity</b>: Constant.
762
762
  //!
763
763
  //! <b>Throws</b>: Nothing.
764
- iterator begin();
764
+ iterator begin() BOOST_NOEXCEPT;
765
765
 
766
766
  //! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the container.
767
767
  //!
768
768
  //! <b>Complexity</b>: Constant.
769
769
  //!
770
770
  //! <b>Throws</b>: Nothing.
771
- const_iterator begin() const;
771
+ const_iterator begin() const BOOST_NOEXCEPT;
772
772
 
773
773
  //! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the container.
774
774
  //!
775
775
  //! <b>Complexity</b>: Constant.
776
776
  //!
777
777
  //! <b>Throws</b>: Nothing.
778
- const_iterator cbegin() const;
778
+ const_iterator cbegin() const BOOST_NOEXCEPT;
779
779
 
780
780
  //! <b>Effects</b>: Returns an iterator pointing to the end of the container.
781
781
  //!
782
782
  //! <b>Complexity</b>: Constant.
783
783
  //!
784
784
  //! <b>Throws</b>: Nothing.
785
- iterator end();
785
+ iterator end() BOOST_NOEXCEPT;
786
786
 
787
787
  //! <b>Effects</b>: Returns a const_iterator pointing to the end of the container.
788
788
  //!
789
789
  //! <b>Complexity</b>: Constant.
790
790
  //!
791
791
  //! <b>Throws</b>: Nothing.
792
- const_iterator end() const;
792
+ const_iterator end() const BOOST_NOEXCEPT;
793
793
 
794
794
  //! <b>Effects</b>: Returns a const_iterator pointing to the end of the container.
795
795
  //!
796
796
  //! <b>Complexity</b>: Constant.
797
797
  //!
798
798
  //! <b>Throws</b>: Nothing.
799
- const_iterator cend() const;
799
+ const_iterator cend() const BOOST_NOEXCEPT;
800
800
 
801
801
  //! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning of the
802
802
  //! reversed container.
@@ -804,7 +804,7 @@ class bstree_impl
804
804
  //! <b>Complexity</b>: Constant.
805
805
  //!
806
806
  //! <b>Throws</b>: Nothing.
807
- reverse_iterator rbegin();
807
+ reverse_iterator rbegin() BOOST_NOEXCEPT;
808
808
 
809
809
  //! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
810
810
  //! of the reversed container.
@@ -812,7 +812,7 @@ class bstree_impl
812
812
  //! <b>Complexity</b>: Constant.
813
813
  //!
814
814
  //! <b>Throws</b>: Nothing.
815
- const_reverse_iterator rbegin() const;
815
+ const_reverse_iterator rbegin() const BOOST_NOEXCEPT;
816
816
 
817
817
  //! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
818
818
  //! of the reversed container.
@@ -820,7 +820,7 @@ class bstree_impl
820
820
  //! <b>Complexity</b>: Constant.
821
821
  //!
822
822
  //! <b>Throws</b>: Nothing.
823
- const_reverse_iterator crbegin() const;
823
+ const_reverse_iterator crbegin() const BOOST_NOEXCEPT;
824
824
 
825
825
  //! <b>Effects</b>: Returns a reverse_iterator pointing to the end
826
826
  //! of the reversed container.
@@ -828,7 +828,7 @@ class bstree_impl
828
828
  //! <b>Complexity</b>: Constant.
829
829
  //!
830
830
  //! <b>Throws</b>: Nothing.
831
- reverse_iterator rend();
831
+ reverse_iterator rend() BOOST_NOEXCEPT;
832
832
 
833
833
  //! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
834
834
  //! of the reversed container.
@@ -836,7 +836,7 @@ class bstree_impl
836
836
  //! <b>Complexity</b>: Constant.
837
837
  //!
838
838
  //! <b>Throws</b>: Nothing.
839
- const_reverse_iterator rend() const;
839
+ const_reverse_iterator rend() const BOOST_NOEXCEPT;
840
840
 
841
841
  //! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
842
842
  //! of the reversed container.
@@ -844,28 +844,28 @@ class bstree_impl
844
844
  //! <b>Complexity</b>: Constant.
845
845
  //!
846
846
  //! <b>Throws</b>: Nothing.
847
- const_reverse_iterator crend() const;
847
+ const_reverse_iterator crend() const BOOST_NOEXCEPT;
848
848
 
849
849
  //! <b>Effects</b>: Returns a iterator pointing to the root node of the container or end() if not present.
850
850
  //!
851
851
  //! <b>Complexity</b>: Constant.
852
852
  //!
853
853
  //! <b>Throws</b>: Nothing.
854
- iterator root();
854
+ iterator root() BOOST_NOEXCEPT;
855
855
 
856
856
  //! <b>Effects</b>: Returns a const_iterator pointing to the root node of the container or cend() if not present.
857
857
  //!
858
858
  //! <b>Complexity</b>: Constant.
859
859
  //!
860
860
  //! <b>Throws</b>: Nothing.
861
- const_iterator root() const;
861
+ const_iterator root() const BOOST_NOEXCEPT;
862
862
 
863
863
  //! <b>Effects</b>: Returns a const_iterator pointing to the root node of the container or cend() if not present.
864
864
  //!
865
865
  //! <b>Complexity</b>: Constant.
866
866
  //!
867
867
  //! <b>Throws</b>: Nothing.
868
- const_iterator croot() const;
868
+ const_iterator croot() const BOOST_NOEXCEPT;
869
869
 
870
870
  #endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
871
871
 
@@ -877,7 +877,7 @@ class bstree_impl
877
877
  //! <b>Throws</b>: Nothing.
878
878
  //!
879
879
  //! <b>Complexity</b>: Constant.
880
- static bstree_impl &container_from_end_iterator(iterator end_iterator)
880
+ static bstree_impl &container_from_end_iterator(iterator end_iterator) BOOST_NOEXCEPT
881
881
  {
882
882
  return static_cast<bstree_impl&>
883
883
  (data_type::get_tree_base_from_end_iterator(end_iterator));
@@ -891,7 +891,7 @@ class bstree_impl
891
891
  //! <b>Throws</b>: Nothing.
892
892
  //!
893
893
  //! <b>Complexity</b>: Constant.
894
- static const bstree_impl &container_from_end_iterator(const_iterator end_iterator)
894
+ static const bstree_impl &container_from_end_iterator(const_iterator end_iterator) BOOST_NOEXCEPT
895
895
  {
896
896
  return static_cast<bstree_impl&>
897
897
  (data_type::get_tree_base_from_end_iterator(end_iterator));
@@ -905,7 +905,7 @@ class bstree_impl
905
905
  //! <b>Throws</b>: Nothing.
906
906
  //!
907
907
  //! <b>Complexity</b>: Logarithmic.
908
- static bstree_impl &container_from_iterator(iterator it)
908
+ static bstree_impl &container_from_iterator(iterator it) BOOST_NOEXCEPT
909
909
  { return container_from_end_iterator(it.end_iterator_from_it()); }
910
910
 
911
911
  //! <b>Precondition</b>: it must be a valid end const_iterator
@@ -916,7 +916,7 @@ class bstree_impl
916
916
  //! <b>Throws</b>: Nothing.
917
917
  //!
918
918
  //! <b>Complexity</b>: Logarithmic.
919
- static const bstree_impl &container_from_iterator(const_iterator it)
919
+ static const bstree_impl &container_from_iterator(const_iterator it) BOOST_NOEXCEPT
920
920
  { return container_from_end_iterator(it.end_iterator_from_it()); }
921
921
 
922
922
  #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
@@ -942,7 +942,7 @@ class bstree_impl
942
942
  //! <b>Complexity</b>: Constant.
943
943
  //!
944
944
  //! <b>Throws</b>: Nothing.
945
- bool empty() const
945
+ bool empty() const BOOST_NOEXCEPT
946
946
  {
947
947
  if(ConstantTimeSize){
948
948
  return !this->data_type::sz_traits().get_size();
@@ -958,9 +958,9 @@ class bstree_impl
958
958
  //! if constant-time size option is disabled. Constant time otherwise.
959
959
  //!
960
960
  //! <b>Throws</b>: Nothing.
961
- size_type size() const
961
+ size_type size() const BOOST_NOEXCEPT
962
962
  {
963
- if(constant_time_size)
963
+ BOOST_IF_CONSTEXPR(constant_time_size)
964
964
  return this->sz_traits().get_size();
965
965
  else{
966
966
  return (size_type)node_algorithms::size(this->header_ptr());
@@ -1103,7 +1103,7 @@ class bstree_impl
1103
1103
  //! size of the range. However, it is linear in N if the range is already sorted
1104
1104
  //! by value_comp().
1105
1105
  //!
1106
- //! <b>Throws</b>: Nothing.
1106
+ //! <b>Throws</b>: If the comparison functor call throws.
1107
1107
  //!
1108
1108
  //! <b>Note</b>: Does not affect the validity of iterators and references.
1109
1109
  //! No copy-constructors are called.
@@ -1123,7 +1123,7 @@ class bstree_impl
1123
1123
  //! <b>Complexity</b>: Average complexity for insert element is at
1124
1124
  //! most logarithmic.
1125
1125
  //!
1126
- //! <b>Throws</b>: Nothing.
1126
+ //! <b>Throws</b>: If the comparison functor call throws.
1127
1127
  //!
1128
1128
  //! <b>Note</b>: Does not affect the validity of iterators and references.
1129
1129
  //! No copy-constructors are called.
@@ -1149,7 +1149,7 @@ class bstree_impl
1149
1149
  //! constant time (two comparisons in the worst case)
1150
1150
  //! if t is inserted immediately before hint.
1151
1151
  //!
1152
- //! <b>Throws</b>: Nothing.
1152
+ //! <b>Throws</b>: If the comparison functor call throws.
1153
1153
  //!
1154
1154
  //! <b>Note</b>: Does not affect the validity of iterators and references.
1155
1155
  //! No copy-constructors are called.
@@ -1172,7 +1172,7 @@ class bstree_impl
1172
1172
  //! size of the range. However, it is linear in N if the range is already sorted
1173
1173
  //! by value_comp().
1174
1174
  //!
1175
- //! <b>Throws</b>: Nothing.
1175
+ //! <b>Throws</b>: If the comparison functor call throws.
1176
1176
  //!
1177
1177
  //! <b>Note</b>: Does not affect the validity of iterators and references.
1178
1178
  //! No copy-constructors are called.
@@ -1312,7 +1312,7 @@ class bstree_impl
1312
1312
  //! <b>Notes</b>: This function has only sense if a "insert_check" has been
1313
1313
  //! previously executed to fill "commit_data". No value should be inserted or
1314
1314
  //! erased between the "insert_check" and "insert_commit" calls.
1315
- iterator insert_unique_commit(reference value, const insert_commit_data &commit_data)
1315
+ iterator insert_unique_commit(reference value, const insert_commit_data &commit_data) BOOST_NOEXCEPT
1316
1316
  {
1317
1317
  node_ptr to_insert(this->get_value_traits().to_node_ptr(value));
1318
1318
  BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT(!safemode_or_autounlink || node_algorithms::unique(to_insert));
@@ -1349,7 +1349,7 @@ class bstree_impl
1349
1349
  //! the successor of "value" container ordering invariant will be broken.
1350
1350
  //! This is a low-level function to be used only for performance reasons
1351
1351
  //! by advanced users.
1352
- iterator insert_before(const_iterator pos, reference value)
1352
+ iterator insert_before(const_iterator pos, reference value) BOOST_NOEXCEPT
1353
1353
  {
1354
1354
  node_ptr to_insert(this->get_value_traits().to_node_ptr(value));
1355
1355
  BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT(!safemode_or_autounlink || node_algorithms::unique(to_insert));
@@ -1372,7 +1372,7 @@ class bstree_impl
1372
1372
  //! This function is slightly more efficient than using "insert_before".
1373
1373
  //! This is a low-level function to be used only for performance reasons
1374
1374
  //! by advanced users.
1375
- void push_back(reference value)
1375
+ void push_back(reference value) BOOST_NOEXCEPT
1376
1376
  {
1377
1377
  node_ptr to_insert(this->get_value_traits().to_node_ptr(value));
1378
1378
  BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT(!safemode_or_autounlink || node_algorithms::unique(to_insert));
@@ -1394,7 +1394,7 @@ class bstree_impl
1394
1394
  //! This function is slightly more efficient than using "insert_before".
1395
1395
  //! This is a low-level function to be used only for performance reasons
1396
1396
  //! by advanced users.
1397
- void push_front(reference value)
1397
+ void push_front(reference value) BOOST_NOEXCEPT
1398
1398
  {
1399
1399
  node_ptr to_insert(this->get_value_traits().to_node_ptr(value));
1400
1400
  BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT(!safemode_or_autounlink || node_algorithms::unique(to_insert));
@@ -1410,7 +1410,7 @@ class bstree_impl
1410
1410
  //!
1411
1411
  //! <b>Note</b>: Invalidates the iterators (but not the references)
1412
1412
  //! to the erased elements. No destructors are called.
1413
- iterator erase(const_iterator i)
1413
+ iterator erase(const_iterator i) BOOST_NOEXCEPT
1414
1414
  {
1415
1415
  const_iterator ret(i);
1416
1416
  ++ret;
@@ -1418,7 +1418,7 @@ class bstree_impl
1418
1418
  BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT(!safemode_or_autounlink || !node_algorithms::unique(to_erase));
1419
1419
  node_algorithms::erase(this->header_ptr(), to_erase);
1420
1420
  this->sz_traits().decrement();
1421
- if(safemode_or_autounlink)
1421
+ BOOST_IF_CONSTEXPR(safemode_or_autounlink)
1422
1422
  node_algorithms::init(to_erase);
1423
1423
  return ret.unconst();
1424
1424
  }
@@ -1432,7 +1432,7 @@ class bstree_impl
1432
1432
  //!
1433
1433
  //! <b>Note</b>: Invalidates the iterators (but not the references)
1434
1434
  //! to the erased elements. No destructors are called.
1435
- iterator erase(const_iterator b, const_iterator e)
1435
+ iterator erase(const_iterator b, const_iterator e) BOOST_NOEXCEPT
1436
1436
  { size_type n; return this->private_erase(b, e, n); }
1437
1437
 
1438
1438
  //! <b>Effects</b>: Erases all the elements with the given value.
@@ -1445,7 +1445,7 @@ class bstree_impl
1445
1445
  //!
1446
1446
  //! <b>Note</b>: Invalidates the iterators (but not the references)
1447
1447
  //! to the erased elements. No destructors are called.
1448
- size_type erase(const key_type &key)
1448
+ size_type erase(const key_type &key) BOOST_NOEXCEPT
1449
1449
  { return this->erase(key, this->key_comp()); }
1450
1450
 
1451
1451
  //! <b>Requires</b>: key is a value such that `*this` is partitioned with respect to
@@ -1486,7 +1486,7 @@ class bstree_impl
1486
1486
  //! <b>Note</b>: Invalidates the iterators
1487
1487
  //! to the erased elements.
1488
1488
  template<class Disposer>
1489
- iterator erase_and_dispose(const_iterator i, Disposer disposer)
1489
+ iterator erase_and_dispose(const_iterator i, Disposer disposer) BOOST_NOEXCEPT
1490
1490
  {
1491
1491
  node_ptr to_erase(i.pointed_node());
1492
1492
  iterator ret(this->erase(i));
@@ -1529,7 +1529,7 @@ class bstree_impl
1529
1529
  //! <b>Note</b>: Invalidates the iterators
1530
1530
  //! to the erased elements.
1531
1531
  template<class Disposer>
1532
- iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer)
1532
+ iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer) BOOST_NOEXCEPT
1533
1533
  { size_type n; return this->private_erase(b, e, n, disposer); }
1534
1534
 
1535
1535
  //! <b>Requires</b>: key is a value such that `*this` is partitioned with respect to
@@ -1570,9 +1570,9 @@ class bstree_impl
1570
1570
  //!
1571
1571
  //! <b>Note</b>: Invalidates the iterators (but not the references)
1572
1572
  //! to the erased elements. No destructors are called.
1573
- void clear()
1573
+ void clear() BOOST_NOEXCEPT
1574
1574
  {
1575
- if(safemode_or_autounlink){
1575
+ BOOST_IF_CONSTEXPR(safemode_or_autounlink){
1576
1576
  this->clear_and_dispose(detail::null_disposer());
1577
1577
  }
1578
1578
  else{
@@ -1591,7 +1591,7 @@ class bstree_impl
1591
1591
  //! <b>Note</b>: Invalidates the iterators (but not the references)
1592
1592
  //! to the erased elements. Calls N times to disposer functor.
1593
1593
  template<class Disposer>
1594
- void clear_and_dispose(Disposer disposer)
1594
+ void clear_and_dispose(Disposer disposer) BOOST_NOEXCEPT
1595
1595
  {
1596
1596
  node_algorithms::clear_and_dispose(this->header_ptr()
1597
1597
  , detail::node_disposer<Disposer, value_traits, AlgoType>(disposer, &this->get_value_traits()));
@@ -1834,7 +1834,7 @@ class bstree_impl
1834
1834
  //!
1835
1835
  //! <b>Note</b>: This static function is available only if the <i>value traits</i>
1836
1836
  //! is stateless.
1837
- static iterator s_iterator_to(reference value);
1837
+ static iterator s_iterator_to(reference value) BOOST_NOEXCEPT;
1838
1838
 
1839
1839
  //! <b>Requires</b>: value must be an lvalue and shall be in a set of
1840
1840
  //! appropriate type. Otherwise the behavior is undefined.
@@ -1848,7 +1848,7 @@ class bstree_impl
1848
1848
  //!
1849
1849
  //! <b>Note</b>: This static function is available only if the <i>value traits</i>
1850
1850
  //! is stateless.
1851
- static const_iterator s_iterator_to(const_reference value);
1851
+ static const_iterator s_iterator_to(const_reference value) BOOST_NOEXCEPT;
1852
1852
 
1853
1853
  //! <b>Requires</b>: value must be an lvalue and shall be in a set of
1854
1854
  //! appropriate type. Otherwise the behavior is undefined.
@@ -1859,7 +1859,7 @@ class bstree_impl
1859
1859
  //! <b>Complexity</b>: Constant.
1860
1860
  //!
1861
1861
  //! <b>Throws</b>: Nothing.
1862
- iterator iterator_to(reference value);
1862
+ iterator iterator_to(reference value) BOOST_NOEXCEPT;
1863
1863
 
1864
1864
  //! <b>Requires</b>: value must be an lvalue and shall be in a set of
1865
1865
  //! appropriate type. Otherwise the behavior is undefined.
@@ -1870,7 +1870,7 @@ class bstree_impl
1870
1870
  //! <b>Complexity</b>: Constant.
1871
1871
  //!
1872
1872
  //! <b>Throws</b>: Nothing.
1873
- const_iterator iterator_to(const_reference value) const;
1873
+ const_iterator iterator_to(const_reference value) const BOOST_NOEXCEPT;
1874
1874
 
1875
1875
  //! <b>Requires</b>: value shall not be in a container.
1876
1876
  //!
@@ -1883,7 +1883,7 @@ class bstree_impl
1883
1883
  //!
1884
1884
  //! <b>Note</b>: This function puts the hook in the well-known default state
1885
1885
  //! used by auto_unlink and safe hooks.
1886
- static void init_node(reference value);
1886
+ static void init_node(reference value) BOOST_NOEXCEPT;
1887
1887
 
1888
1888
  #endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
1889
1889
 
@@ -1897,14 +1897,14 @@ class bstree_impl
1897
1897
  //! only be used for more unlink_leftmost_without_rebalance calls.
1898
1898
  //! This function is normally used to achieve a step by step
1899
1899
  //! controlled destruction of the container.
1900
- pointer unlink_leftmost_without_rebalance()
1900
+ pointer unlink_leftmost_without_rebalance() BOOST_NOEXCEPT
1901
1901
  {
1902
1902
  node_ptr to_be_disposed(node_algorithms::unlink_leftmost_without_rebalance
1903
1903
  (this->header_ptr()));
1904
1904
  if(!to_be_disposed)
1905
1905
  return 0;
1906
1906
  this->sz_traits().decrement();
1907
- if(safemode_or_autounlink)//If this is commented does not work with normal_link
1907
+ BOOST_IF_CONSTEXPR(safemode_or_autounlink)//If this is commented does not work with normal_link
1908
1908
  node_algorithms::init(to_be_disposed);
1909
1909
  return this->get_value_traits().to_value_ptr(to_be_disposed);
1910
1910
  }
@@ -1925,14 +1925,14 @@ class bstree_impl
1925
1925
  //! with_this is not equivalent to *replace_this according to the
1926
1926
  //! ordering rules. This function is faster than erasing and inserting
1927
1927
  //! the node, since no rebalancing or comparison is needed.
1928
- void replace_node(iterator replace_this, reference with_this);
1928
+ void replace_node(iterator replace_this, reference with_this) BOOST_NOEXCEPT;
1929
1929
 
1930
1930
  //! <b>Effects</b>: Rebalances the tree.
1931
1931
  //!
1932
1932
  //! <b>Throws</b>: Nothing.
1933
1933
  //!
1934
1934
  //! <b>Complexity</b>: Linear.
1935
- void rebalance();
1935
+ void rebalance() BOOST_NOEXCEPT;
1936
1936
 
1937
1937
  //! <b>Requires</b>: old_root is a node of a tree.
1938
1938
  //!
@@ -1943,7 +1943,7 @@ class bstree_impl
1943
1943
  //! <b>Throws</b>: Nothing.
1944
1944
  //!
1945
1945
  //! <b>Complexity</b>: Linear to the elements in the subtree.
1946
- iterator rebalance_subtree(iterator root);
1946
+ iterator rebalance_subtree(iterator root) BOOST_NOEXCEPT;
1947
1947
 
1948
1948
  #endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
1949
1949
 
@@ -1959,12 +1959,12 @@ class bstree_impl
1959
1959
  //! If the user calls
1960
1960
  //! this function with a constant time size container or stateful comparison
1961
1961
  //! functor a compilation error will be issued.
1962
- static void remove_node(reference value)
1962
+ static void remove_node(reference value) BOOST_NOEXCEPT
1963
1963
  {
1964
1964
  BOOST_STATIC_ASSERT((!constant_time_size));
1965
1965
  node_ptr to_remove(value_traits::to_node_ptr(value));
1966
1966
  node_algorithms::unlink(to_remove);
1967
- if(safemode_or_autounlink)
1967
+ BOOST_IF_CONSTEXPR(safemode_or_autounlink)
1968
1968
  node_algorithms::init(to_remove);
1969
1969
  }
1970
1970
 
@@ -2216,16 +2216,16 @@ class bstree
2216
2216
  BOOST_INTRUSIVE_FORCEINLINE void clone_from(BOOST_RV_REF(bstree) src, Cloner cloner, Disposer disposer)
2217
2217
  { Base::clone_from(BOOST_MOVE_BASE(Base, src), cloner, disposer); }
2218
2218
 
2219
- BOOST_INTRUSIVE_FORCEINLINE static bstree &container_from_end_iterator(iterator end_iterator)
2219
+ BOOST_INTRUSIVE_FORCEINLINE static bstree &container_from_end_iterator(iterator end_iterator) BOOST_NOEXCEPT
2220
2220
  { return static_cast<bstree &>(Base::container_from_end_iterator(end_iterator)); }
2221
2221
 
2222
- BOOST_INTRUSIVE_FORCEINLINE static const bstree &container_from_end_iterator(const_iterator end_iterator)
2222
+ BOOST_INTRUSIVE_FORCEINLINE static const bstree &container_from_end_iterator(const_iterator end_iterator) BOOST_NOEXCEPT
2223
2223
  { return static_cast<const bstree &>(Base::container_from_end_iterator(end_iterator)); }
2224
2224
 
2225
- BOOST_INTRUSIVE_FORCEINLINE static bstree &container_from_iterator(iterator it)
2225
+ BOOST_INTRUSIVE_FORCEINLINE static bstree &container_from_iterator(iterator it) BOOST_NOEXCEPT
2226
2226
  { return static_cast<bstree &>(Base::container_from_iterator(it)); }
2227
2227
 
2228
- BOOST_INTRUSIVE_FORCEINLINE static const bstree &container_from_iterator(const_iterator it)
2228
+ BOOST_INTRUSIVE_FORCEINLINE static const bstree &container_from_iterator(const_iterator it) BOOST_NOEXCEPT
2229
2229
  { return static_cast<const bstree &>(Base::container_from_iterator(it)); }
2230
2230
  };
2231
2231