passenger 6.0.16 → 6.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +22 -1
  3. data/build/integration_tests.rb +6 -6
  4. data/build/ruby_tests.rb +1 -1
  5. data/build/test_basics.rb +0 -1
  6. data/src/agent/Core/Config.h +1 -1
  7. data/src/agent/Core/Controller/Config.h +1 -1
  8. data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
  9. data/src/agent/Watchdog/Config.h +1 -1
  10. data/src/cxx_supportlib/Constants.h +1 -1
  11. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +1 -1
  12. data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
  13. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
  14. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +686 -0
  15. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +56 -0
  16. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +81 -25
  17. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +68 -8
  18. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +46 -11
  19. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +4 -4
  20. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +2 -2
  21. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +1 -1
  22. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +2 -2
  23. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +4 -4
  24. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +2 -2
  25. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +2 -2
  26. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +3 -3
  27. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +2 -2
  28. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +3 -3
  29. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +4 -4
  30. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +2 -2
  31. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +2 -2
  32. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +2 -2
  33. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +2 -2
  34. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +13 -3
  35. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +14 -3
  36. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +13 -3
  37. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +30 -305
  38. data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
  39. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +17 -18
  40. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +98 -24
  41. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
  42. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +81 -15
  43. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +4 -4
  44. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +19 -11
  45. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +37 -0
  46. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +3 -1
  47. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +1 -1
  48. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +10 -2
  49. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +14 -1
  50. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +18 -0
  51. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +1 -2
  52. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +7 -3
  53. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +4 -14
  54. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +22 -3
  55. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +447 -142
  56. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +57 -8
  57. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +51 -6
  58. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +5 -0
  59. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +41 -4
  60. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +5 -0
  61. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +13 -2
  62. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +13 -2
  63. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +4 -0
  64. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +9 -2
  65. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +11 -1
  66. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +52 -8
  67. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +13 -2
  68. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +5 -0
  69. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +39 -6
  70. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +5 -0
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +39 -6
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +5 -0
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +5 -0
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +5 -0
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +5 -0
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +5 -0
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +5 -0
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +5 -0
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +5 -0
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +6 -9
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +3 -3
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +3 -3
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +70 -0
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +146 -0
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +35 -5
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +13 -3
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +7 -0
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +180 -0
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +89 -66
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +66 -45
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +13 -3
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1134 -0
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +130 -106
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +377 -3
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +168 -29
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +149 -203
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +256 -0
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +76 -80
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +40 -14
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +12 -0
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +12 -3
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +12 -3
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +25 -6
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +25 -6
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +34 -45
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +28 -6
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +33 -1
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +13 -3
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +21 -9
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +1 -1
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +33 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +12 -3
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +40 -9
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +27 -6
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +104 -24
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +12 -3
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +70 -15
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +1 -0
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +25 -0
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +38 -30
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +27 -6
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -13
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +3 -1
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +3 -1
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +2 -2
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +2 -2
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +17 -18
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +3 -1
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +13 -3
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +11 -7
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -13
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +23 -18
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +2 -2
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +1 -1
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +2 -2
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +2 -2
  143. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +4 -0
  144. data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +1 -1
  145. data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +1 -0
  146. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
  147. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
  148. data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +2 -2
  149. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +3 -3
  150. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
  151. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
  152. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +2 -2
  153. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
  154. data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
  156. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +10 -3
  157. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +9 -3
  158. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +9 -3
  159. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +6 -0
  160. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +8 -0
  161. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +4 -0
  162. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +33 -0
  163. data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
  164. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +9 -0
  165. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +4 -2
  166. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
  167. data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +29 -0
  168. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +13 -13
  169. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +80 -95
  170. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +10 -0
  171. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
  172. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +738 -34
  173. data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +38 -10
  174. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +1 -0
  175. data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +2 -0
  176. data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +3 -4
  177. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +1150 -1213
  178. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +104 -12
  180. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +1 -0
  181. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +11 -1
  182. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +31 -331
  183. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
  184. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +173 -0
  185. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple.hpp +133 -0
  186. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +461 -566
  187. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +24 -24
  188. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +91 -0
  189. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
  190. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +73 -0
  191. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
  192. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +32 -4
  193. data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +16 -0
  194. data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +16 -16
  195. data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
  196. data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
  197. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
  198. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
  199. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
  200. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
  201. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +2 -2
  202. data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
  203. data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
  204. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
  205. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
  206. data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
  209. data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
  210. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
  211. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
  212. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
  213. data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +159 -0
  214. data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
  215. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +9 -9
  216. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +45 -45
  217. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +8 -8
  218. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +37 -38
  219. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +16 -0
  220. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +1 -1
  221. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +145 -90
  222. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +2 -0
  223. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +7 -7
  224. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +5 -5
  225. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +11 -9
  226. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +7 -7
  227. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
  228. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +1 -1
  229. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +8 -5
  230. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
  231. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +4 -2
  232. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +2 -1
  233. data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +8 -4
  234. data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
  235. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
  236. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
  237. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
  238. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
  239. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +6 -2
  240. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
  241. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +1 -1
  242. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +7 -1
  243. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +2 -2
  244. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +10 -1
  245. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +38 -43
  246. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +52 -0
  247. data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +1 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
  249. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
  250. data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
  251. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +37 -7
  252. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa.hpp +1921 -0
  253. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +66 -82
  254. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +6 -0
  255. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +109 -0
  256. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
  257. data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
  258. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +732 -0
  259. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +49 -0
  260. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +586 -0
  261. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +49 -0
  262. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +166 -66
  263. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +145 -28
  264. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  265. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +1 -1
  266. data/src/ruby_native_extension/extconf.rb +1 -1
  267. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
  268. data/src/ruby_supportlib/phusion_passenger.rb +5 -5
  269. metadata +36 -19
  270. data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +0 -19
  271. data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp +0 -54
  272. data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp +0 -20
  273. data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +0 -21
  274. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp +0 -52
  275. data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp +0 -31
  276. data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp +0 -23
  277. data/src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp +0 -91
  278. data/src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp +0 -53
  279. data/src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp +0 -26
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +0 -196
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -709
  282. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
  283. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
  284. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
  285. data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -361
  286. data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
@@ -193,6 +193,12 @@ template <int I = 0>
193
193
  struct mapping_t
194
194
  {
195
195
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
196
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
197
+ template <typename T>
198
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
199
+ is_applicable_property_v = (
200
+ is_executor<T>::value));
201
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
196
202
  template <typename T>
197
203
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
198
204
  is_applicable_property_v = (
@@ -206,7 +212,9 @@ struct mapping_t
206
212
  is_executor<T>::value,
207
213
  false_type,
208
214
  is_scheduler<T>
209
- >::type::value));
215
+ >::type::value
216
+ ));
217
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
210
218
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
211
219
 
212
220
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = false);
@@ -495,6 +503,12 @@ template <int I = 0>
495
503
  struct thread_t
496
504
  {
497
505
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
506
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
507
+ template <typename T>
508
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
509
+ is_applicable_property_v = (
510
+ is_executor<T>::value));
511
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
498
512
  template <typename T>
499
513
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
500
514
  is_applicable_property_v = (
@@ -508,7 +522,9 @@ struct thread_t
508
522
  is_executor<T>::value,
509
523
  false_type,
510
524
  is_scheduler<T>
511
- >::type::value));
525
+ >::type::value
526
+ ));
527
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
512
528
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
513
529
 
514
530
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -597,6 +613,12 @@ template <int I = 0>
597
613
  struct new_thread_t
598
614
  {
599
615
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
616
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
617
+ template <typename T>
618
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
619
+ is_applicable_property_v = (
620
+ is_executor<T>::value));
621
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
600
622
  template <typename T>
601
623
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
602
624
  is_applicable_property_v = (
@@ -610,7 +632,9 @@ struct new_thread_t
610
632
  is_executor<T>::value,
611
633
  false_type,
612
634
  is_scheduler<T>
613
- >::type::value));
635
+ >::type::value
636
+ ));
637
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
614
638
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
615
639
 
616
640
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -678,6 +702,12 @@ template <int I>
678
702
  struct other_t
679
703
  {
680
704
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
705
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
706
+ template <typename T>
707
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
708
+ is_applicable_property_v = (
709
+ is_executor<T>::value));
710
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
681
711
  template <typename T>
682
712
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
683
713
  is_applicable_property_v = (
@@ -691,7 +721,9 @@ struct other_t
691
721
  is_executor<T>::value,
692
722
  false_type,
693
723
  is_scheduler<T>
694
- >::type::value));
724
+ >::type::value
725
+ ));
726
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
695
727
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
696
728
 
697
729
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -774,6 +806,7 @@ template <typename T>
774
806
  struct is_applicable_property<T, execution::mapping_t>
775
807
  : integral_constant<bool,
776
808
  execution::is_executor<T>::value
809
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
777
810
  || conditional<
778
811
  execution::is_executor<T>::value,
779
812
  false_type,
@@ -783,7 +816,9 @@ struct is_applicable_property<T, execution::mapping_t>
783
816
  execution::is_executor<T>::value,
784
817
  false_type,
785
818
  execution::is_scheduler<T>
786
- >::type::value>
819
+ >::type::value
820
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
821
+ >
787
822
  {
788
823
  };
789
824
 
@@ -791,6 +826,7 @@ template <typename T>
791
826
  struct is_applicable_property<T, execution::mapping_t::thread_t>
792
827
  : integral_constant<bool,
793
828
  execution::is_executor<T>::value
829
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
794
830
  || conditional<
795
831
  execution::is_executor<T>::value,
796
832
  false_type,
@@ -800,7 +836,9 @@ struct is_applicable_property<T, execution::mapping_t::thread_t>
800
836
  execution::is_executor<T>::value,
801
837
  false_type,
802
838
  execution::is_scheduler<T>
803
- >::type::value>
839
+ >::type::value
840
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
841
+ >
804
842
  {
805
843
  };
806
844
 
@@ -808,6 +846,7 @@ template <typename T>
808
846
  struct is_applicable_property<T, execution::mapping_t::new_thread_t>
809
847
  : integral_constant<bool,
810
848
  execution::is_executor<T>::value
849
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
811
850
  || conditional<
812
851
  execution::is_executor<T>::value,
813
852
  false_type,
@@ -817,7 +856,9 @@ struct is_applicable_property<T, execution::mapping_t::new_thread_t>
817
856
  execution::is_executor<T>::value,
818
857
  false_type,
819
858
  execution::is_scheduler<T>
820
- >::type::value>
859
+ >::type::value
860
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
861
+ >
821
862
  {
822
863
  };
823
864
 
@@ -825,6 +866,7 @@ template <typename T>
825
866
  struct is_applicable_property<T, execution::mapping_t::other_t>
826
867
  : integral_constant<bool,
827
868
  execution::is_executor<T>::value
869
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
828
870
  || conditional<
829
871
  execution::is_executor<T>::value,
830
872
  false_type,
@@ -834,7 +876,9 @@ struct is_applicable_property<T, execution::mapping_t::other_t>
834
876
  execution::is_executor<T>::value,
835
877
  false_type,
836
878
  execution::is_scheduler<T>
837
- >::type::value>
879
+ >::type::value
880
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
881
+ >
838
882
  {
839
883
  };
840
884
 
@@ -66,6 +66,12 @@ template <int I = 0>
66
66
  struct occupancy_t
67
67
  {
68
68
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
69
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
70
+ template <typename T>
71
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
72
+ is_applicable_property_v = (
73
+ is_executor<T>::value));
74
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
69
75
  template <typename T>
70
76
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
71
77
  is_applicable_property_v = (
@@ -79,7 +85,9 @@ struct occupancy_t
79
85
  is_executor<T>::value,
80
86
  false_type,
81
87
  is_scheduler<T>
82
- >::type::value));
88
+ >::type::value
89
+ ));
90
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
83
91
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
84
92
 
85
93
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = false);
@@ -173,6 +181,7 @@ template <typename T>
173
181
  struct is_applicable_property<T, execution::occupancy_t>
174
182
  : integral_constant<bool,
175
183
  execution::is_executor<T>::value
184
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
176
185
  || conditional<
177
186
  execution::is_executor<T>::value,
178
187
  false_type,
@@ -182,7 +191,9 @@ struct is_applicable_property<T, execution::occupancy_t>
182
191
  execution::is_executor<T>::value,
183
192
  false_type,
184
193
  execution::is_scheduler<T>
185
- >::type::value>
194
+ >::type::value
195
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
196
+ >
186
197
  {
187
198
  };
188
199
 
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/execution/start.hpp>
21
24
 
@@ -93,4 +96,6 @@ BOOST_ASIO_CONCEPT operation_state = is_operation_state<T>::value;
93
96
 
94
97
  #include <boost/asio/detail/pop_options.hpp>
95
98
 
99
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
100
+
96
101
  #endif // BOOST_ASIO_EXECUTION_OPERATION_STATE_HPP
@@ -159,6 +159,12 @@ template <int I = 0>
159
159
  struct outstanding_work_t
160
160
  {
161
161
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
162
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
163
+ template <typename T>
164
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
165
+ is_applicable_property_v = (
166
+ is_executor<T>::value));
167
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
162
168
  template <typename T>
163
169
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
164
170
  is_applicable_property_v = (
@@ -172,7 +178,9 @@ struct outstanding_work_t
172
178
  is_executor<T>::value,
173
179
  false_type,
174
180
  is_scheduler<T>
175
- >::type::value));
181
+ >::type::value
182
+ ));
183
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
176
184
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
177
185
 
178
186
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = false);
@@ -410,6 +418,12 @@ template <int I = 0>
410
418
  struct untracked_t
411
419
  {
412
420
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
421
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
422
+ template <typename T>
423
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
424
+ is_applicable_property_v = (
425
+ is_executor<T>::value));
426
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
413
427
  template <typename T>
414
428
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
415
429
  is_applicable_property_v = (
@@ -423,7 +437,9 @@ struct untracked_t
423
437
  is_executor<T>::value,
424
438
  false_type,
425
439
  is_scheduler<T>
426
- >::type::value));
440
+ >::type::value
441
+ ));
442
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
427
443
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
428
444
 
429
445
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -510,6 +526,12 @@ template <int I = 0>
510
526
  struct tracked_t
511
527
  {
512
528
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
529
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
530
+ template <typename T>
531
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
532
+ is_applicable_property_v = (
533
+ is_executor<T>::value));
534
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
513
535
  template <typename T>
514
536
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
515
537
  is_applicable_property_v = (
@@ -523,7 +545,9 @@ struct tracked_t
523
545
  is_executor<T>::value,
524
546
  false_type,
525
547
  is_scheduler<T>
526
- >::type::value));
548
+ >::type::value
549
+ ));
550
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
527
551
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
528
552
 
529
553
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -608,6 +632,7 @@ template <typename T>
608
632
  struct is_applicable_property<T, execution::outstanding_work_t>
609
633
  : integral_constant<bool,
610
634
  execution::is_executor<T>::value
635
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
611
636
  || conditional<
612
637
  execution::is_executor<T>::value,
613
638
  false_type,
@@ -617,7 +642,9 @@ struct is_applicable_property<T, execution::outstanding_work_t>
617
642
  execution::is_executor<T>::value,
618
643
  false_type,
619
644
  execution::is_scheduler<T>
620
- >::type::value>
645
+ >::type::value
646
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
647
+ >
621
648
  {
622
649
  };
623
650
 
@@ -625,6 +652,7 @@ template <typename T>
625
652
  struct is_applicable_property<T, execution::outstanding_work_t::untracked_t>
626
653
  : integral_constant<bool,
627
654
  execution::is_executor<T>::value
655
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
628
656
  || conditional<
629
657
  execution::is_executor<T>::value,
630
658
  false_type,
@@ -634,7 +662,9 @@ struct is_applicable_property<T, execution::outstanding_work_t::untracked_t>
634
662
  execution::is_executor<T>::value,
635
663
  false_type,
636
664
  execution::is_scheduler<T>
637
- >::type::value>
665
+ >::type::value
666
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
667
+ >
638
668
  {
639
669
  };
640
670
 
@@ -642,6 +672,7 @@ template <typename T>
642
672
  struct is_applicable_property<T, execution::outstanding_work_t::tracked_t>
643
673
  : integral_constant<bool,
644
674
  execution::is_executor<T>::value
675
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
645
676
  || conditional<
646
677
  execution::is_executor<T>::value,
647
678
  false_type,
@@ -651,7 +682,9 @@ struct is_applicable_property<T, execution::outstanding_work_t::tracked_t>
651
682
  execution::is_executor<T>::value,
652
683
  false_type,
653
684
  execution::is_scheduler<T>
654
- >::type::value>
685
+ >::type::value
686
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
687
+ >
655
688
  {
656
689
  };
657
690
 
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/detail/variadic_templates.hpp>
21
24
  #include <boost/asio/execution/set_done.hpp>
@@ -279,4 +282,6 @@ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_NOTHROW_RECEIVER_OF_TRAITS_DEF)
279
282
 
280
283
  #include <boost/asio/detail/pop_options.hpp>
281
284
 
285
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
286
+
282
287
  #endif // BOOST_ASIO_EXECUTION_RECEIVER_HPP
@@ -158,6 +158,12 @@ template <int I = 0>
158
158
  struct relationship_t
159
159
  {
160
160
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
161
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
162
+ template <typename T>
163
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
164
+ is_applicable_property_v = (
165
+ is_executor<T>::value));
166
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
161
167
  template <typename T>
162
168
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
163
169
  is_applicable_property_v = (
@@ -171,7 +177,9 @@ struct relationship_t
171
177
  is_executor<T>::value,
172
178
  false_type,
173
179
  is_scheduler<T>
174
- >::type::value));
180
+ >::type::value
181
+ ));
182
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
175
183
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
176
184
 
177
185
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = false);
@@ -408,6 +416,12 @@ template <int I = 0>
408
416
  struct fork_t
409
417
  {
410
418
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
419
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
420
+ template <typename T>
421
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
422
+ is_applicable_property_v = (
423
+ is_executor<T>::value));
424
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
411
425
  template <typename T>
412
426
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
413
427
  is_applicable_property_v = (
@@ -421,7 +435,9 @@ struct fork_t
421
435
  is_executor<T>::value,
422
436
  false_type,
423
437
  is_scheduler<T>
424
- >::type::value));
438
+ >::type::value
439
+ ));
440
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
425
441
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
426
442
 
427
443
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -507,6 +523,12 @@ template <int I = 0>
507
523
  struct continuation_t
508
524
  {
509
525
  #if defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
526
+ # if defined(BOOST_ASIO_NO_DEPRECATED)
527
+ template <typename T>
528
+ BOOST_ASIO_STATIC_CONSTEXPR(bool,
529
+ is_applicable_property_v = (
530
+ is_executor<T>::value));
531
+ # else // defined(BOOST_ASIO_NO_DEPRECATED)
510
532
  template <typename T>
511
533
  BOOST_ASIO_STATIC_CONSTEXPR(bool,
512
534
  is_applicable_property_v = (
@@ -520,7 +542,9 @@ struct continuation_t
520
542
  is_executor<T>::value,
521
543
  false_type,
522
544
  is_scheduler<T>
523
- >::type::value));
545
+ >::type::value
546
+ ));
547
+ # endif // defined(BOOST_ASIO_NO_DEPRECATED)
524
548
  #endif // defined(BOOST_ASIO_HAS_VARIABLE_TEMPLATES)
525
549
 
526
550
  BOOST_ASIO_STATIC_CONSTEXPR(bool, is_requirable = true);
@@ -606,6 +630,7 @@ template <typename T>
606
630
  struct is_applicable_property<T, execution::relationship_t>
607
631
  : integral_constant<bool,
608
632
  execution::is_executor<T>::value
633
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
609
634
  || conditional<
610
635
  execution::is_executor<T>::value,
611
636
  false_type,
@@ -615,7 +640,9 @@ struct is_applicable_property<T, execution::relationship_t>
615
640
  execution::is_executor<T>::value,
616
641
  false_type,
617
642
  execution::is_scheduler<T>
618
- >::type::value>
643
+ >::type::value
644
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
645
+ >
619
646
  {
620
647
  };
621
648
 
@@ -623,6 +650,7 @@ template <typename T>
623
650
  struct is_applicable_property<T, execution::relationship_t::fork_t>
624
651
  : integral_constant<bool,
625
652
  execution::is_executor<T>::value
653
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
626
654
  || conditional<
627
655
  execution::is_executor<T>::value,
628
656
  false_type,
@@ -632,7 +660,9 @@ struct is_applicable_property<T, execution::relationship_t::fork_t>
632
660
  execution::is_executor<T>::value,
633
661
  false_type,
634
662
  execution::is_scheduler<T>
635
- >::type::value>
663
+ >::type::value
664
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
665
+ >
636
666
  {
637
667
  };
638
668
 
@@ -640,6 +670,7 @@ template <typename T>
640
670
  struct is_applicable_property<T, execution::relationship_t::continuation_t>
641
671
  : integral_constant<bool,
642
672
  execution::is_executor<T>::value
673
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
643
674
  || conditional<
644
675
  execution::is_executor<T>::value,
645
676
  false_type,
@@ -649,7 +680,9 @@ struct is_applicable_property<T, execution::relationship_t::continuation_t>
649
680
  execution::is_executor<T>::value,
650
681
  false_type,
651
682
  execution::is_scheduler<T>
652
- >::type::value>
683
+ >::type::value
684
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
685
+ >
653
686
  {
654
687
  };
655
688
 
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/execution/executor.hpp>
21
24
  #include <boost/asio/traits/schedule_member.hpp>
@@ -288,4 +291,6 @@ constexpr bool is_nothrow_schedule_v
288
291
 
289
292
  #include <boost/asio/detail/pop_options.hpp>
290
293
 
294
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
295
+
291
296
  #endif // BOOST_ASIO_EXECUTION_SCHEDULE_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/execution/schedule.hpp>
21
24
  #include <boost/asio/traits/equality_comparable.hpp>
@@ -85,4 +88,6 @@ BOOST_ASIO_CONCEPT scheduler = is_scheduler<T>::value;
85
88
 
86
89
  #include <boost/asio/detail/pop_options.hpp>
87
90
 
91
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
92
+
88
93
  #endif // BOOST_ASIO_EXECUTION_SCHEDULER_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/execution/detail/as_invocable.hpp>
21
24
  #include <boost/asio/execution/detail/void_receiver.hpp>
@@ -310,4 +313,6 @@ BOOST_ASIO_CONCEPT typed_sender = is_typed_sender<T>::value;
310
313
 
311
314
  #include <boost/asio/execution/connect.hpp>
312
315
 
316
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
317
+
313
318
  #endif // BOOST_ASIO_EXECUTION_SENDER_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/traits/set_done_member.hpp>
21
24
  #include <boost/asio/traits/set_done_free.hpp>
@@ -251,4 +254,6 @@ constexpr bool is_nothrow_set_done_v
251
254
 
252
255
  #include <boost/asio/detail/pop_options.hpp>
253
256
 
257
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
258
+
254
259
  #endif // BOOST_ASIO_EXECUTION_SET_DONE_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/traits/set_error_member.hpp>
21
24
  #include <boost/asio/traits/set_error_free.hpp>
@@ -251,4 +254,6 @@ constexpr bool is_nothrow_set_error_v
251
254
 
252
255
  #include <boost/asio/detail/pop_options.hpp>
253
256
 
257
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
258
+
254
259
  #endif // BOOST_ASIO_EXECUTION_SET_ERROR_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/detail/variadic_templates.hpp>
21
24
  #include <boost/asio/traits/set_value_member.hpp>
@@ -484,4 +487,6 @@ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_SET_VALUE_TRAITS_DEF)
484
487
 
485
488
  #include <boost/asio/detail/pop_options.hpp>
486
489
 
490
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
491
+
487
492
  #endif // BOOST_ASIO_EXECUTION_SET_VALUE_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/traits/start_member.hpp>
21
24
  #include <boost/asio/traits/start_free.hpp>
@@ -248,4 +251,6 @@ constexpr bool is_nothrow_start_v
248
251
 
249
252
  #include <boost/asio/detail/pop_options.hpp>
250
253
 
254
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
255
+
251
256
  #endif // BOOST_ASIO_EXECUTION_START_HPP
@@ -16,6 +16,9 @@
16
16
  #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
17
 
18
18
  #include <boost/asio/detail/config.hpp>
19
+
20
+ #if !defined(BOOST_ASIO_NO_DEPRECATED)
21
+
19
22
  #include <boost/asio/detail/type_traits.hpp>
20
23
  #include <boost/asio/execution/detail/submit_receiver.hpp>
21
24
  #include <boost/asio/execution/executor.hpp>
@@ -451,4 +454,6 @@ void submit_helper(BOOST_ASIO_MOVE_ARG(S) s, BOOST_ASIO_MOVE_ARG(R) r)
451
454
 
452
455
  #include <boost/asio/detail/pop_options.hpp>
453
456
 
457
+ #endif // !defined(BOOST_ASIO_NO_DEPRECATED)
458
+
454
459
  #endif // BOOST_ASIO_EXECUTION_SUBMIT_HPP
@@ -289,17 +289,14 @@ make_work_guard(ExecutionContext& ctx,
289
289
  */
290
290
  template <typename T>
291
291
  BOOST_ASIO_NODISCARD inline
292
- executor_work_guard<typename associated_executor<T>::type>
293
- make_work_guard(const T& t,
292
+ executor_work_guard<
294
293
  typename constraint<
295
294
  !is_executor<T>::value
296
- >::type = 0,
297
- typename constraint<
298
- !execution::is_executor<T>::value
299
- >::type = 0,
300
- typename constraint<
301
- !is_convertible<T&, execution_context&>::value
302
- >::type = 0)
295
+ && !execution::is_executor<T>::value
296
+ && !is_convertible<T&, execution_context&>::value,
297
+ associated_executor<T>
298
+ >::type::type>
299
+ make_work_guard(const T& t)
303
300
  {
304
301
  return executor_work_guard<typename associated_executor<T>::type>(
305
302
  associated_executor<T>::get(t));
@@ -283,7 +283,7 @@ public:
283
283
  }
284
284
 
285
285
  /// Get the executor associated with the object.
286
- executor_type get_executor() BOOST_ASIO_NOEXCEPT
286
+ const executor_type& get_executor() BOOST_ASIO_NOEXCEPT
287
287
  {
288
288
  return executor_;
289
289
  }
@@ -427,7 +427,7 @@ private:
427
427
  {
428
428
  }
429
429
 
430
- executor_type get_executor() const BOOST_ASIO_NOEXCEPT
430
+ const executor_type& get_executor() const BOOST_ASIO_NOEXCEPT
431
431
  {
432
432
  return self_->get_executor();
433
433
  }
@@ -456,7 +456,7 @@ private:
456
456
  {
457
457
  }
458
458
 
459
- executor_type get_executor() const BOOST_ASIO_NOEXCEPT
459
+ const executor_type& get_executor() const BOOST_ASIO_NOEXCEPT
460
460
  {
461
461
  return self_->get_executor();
462
462
  }