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
@@ -19,6 +19,7 @@
19
19
  #include <boost/functional/hash.hpp>
20
20
  #include <boost/move/move.hpp>
21
21
  #include <boost/unordered/detail/set.hpp>
22
+ #include <boost/unordered/detail/type_traits.hpp>
22
23
 
23
24
  #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
24
25
  #include <initializer_list>
@@ -121,6 +122,9 @@ namespace boost {
121
122
 
122
123
  explicit unordered_set(size_type, const hasher&, const allocator_type&);
123
124
 
125
+ template <class InputIterator>
126
+ unordered_set(InputIterator, InputIterator, const allocator_type&);
127
+
124
128
  template <class InputIt>
125
129
  unordered_set(InputIt, InputIt, size_type, const allocator_type&);
126
130
 
@@ -129,6 +133,8 @@ namespace boost {
129
133
  InputIt, InputIt, size_type, const hasher&, const allocator_type&);
130
134
 
131
135
  #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
136
+ unordered_set(std::initializer_list<value_type>, const allocator_type&);
137
+
132
138
  unordered_set(
133
139
  std::initializer_list<value_type>, size_type, const allocator_type&);
134
140
 
@@ -616,41 +622,70 @@ namespace boost {
616
622
  class Pred =
617
623
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
618
624
  class Allocator = std::allocator<
619
- typename std::iterator_traits<InputIterator>::value_type> >
625
+ typename std::iterator_traits<InputIterator>::value_type>,
626
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
627
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
628
+ class = boost::enable_if_t<detail::is_pred_v<Pred> >,
629
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
620
630
  unordered_set(InputIterator, InputIterator,
621
631
  std::size_t = boost::unordered::detail::default_bucket_count,
622
632
  Hash = Hash(), Pred = Pred(), Allocator = Allocator())
623
- ->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
633
+ -> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
624
634
  Hash, Pred, Allocator>;
625
635
 
626
636
  template <class T, class Hash = boost::hash<T>,
627
- class Pred = std::equal_to<T>, class Allocator = std::allocator<T> >
637
+ class Pred = std::equal_to<T>, class Allocator = std::allocator<T>,
638
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
639
+ class = boost::enable_if_t<detail::is_pred_v<Pred> >,
640
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
628
641
  unordered_set(std::initializer_list<T>,
629
642
  std::size_t = boost::unordered::detail::default_bucket_count,
630
643
  Hash = Hash(), Pred = Pred(), Allocator = Allocator())
631
- ->unordered_set<T, Hash, Pred, Allocator>;
644
+ -> unordered_set<T, Hash, Pred, Allocator>;
632
645
 
633
- template <class InputIterator, class Allocator>
646
+ template <class InputIterator, class Allocator,
647
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
648
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
634
649
  unordered_set(InputIterator, InputIterator, std::size_t, Allocator)
635
- ->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
650
+ -> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
636
651
  boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
637
652
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
638
653
  Allocator>;
639
654
 
640
- template <class InputIterator, class Hash, class Allocator>
655
+ template <class InputIterator, class Hash, class Allocator,
656
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
657
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
658
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
641
659
  unordered_set(InputIterator, InputIterator, std::size_t, Hash, Allocator)
642
- ->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
660
+ -> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
643
661
  Hash,
644
662
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
645
663
  Allocator>;
646
664
 
647
- template <class T, class Allocator>
665
+ template <class T, class Allocator,
666
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
648
667
  unordered_set(std::initializer_list<T>, std::size_t, Allocator)
649
- ->unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
668
+ -> unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
650
669
 
651
- template <class T, class Hash, class Allocator>
670
+ template <class T, class Hash, class Allocator,
671
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
672
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
652
673
  unordered_set(std::initializer_list<T>, std::size_t, Hash, Allocator)
653
- ->unordered_set<T, Hash, std::equal_to<T>, Allocator>;
674
+ -> unordered_set<T, Hash, std::equal_to<T>, Allocator>;
675
+
676
+ template <class InputIterator, class Allocator,
677
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
678
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
679
+ unordered_set(InputIterator, InputIterator, Allocator)
680
+ -> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
681
+ boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
682
+ std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
683
+ Allocator>;
684
+
685
+ template <class T, class Allocator,
686
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
687
+ unordered_set(std::initializer_list<T>, Allocator)
688
+ -> unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
654
689
 
655
690
  #endif
656
691
 
@@ -739,6 +774,9 @@ namespace boost {
739
774
  explicit unordered_multiset(
740
775
  size_type, const hasher&, const allocator_type&);
741
776
 
777
+ template <class InputIterator>
778
+ unordered_multiset(InputIterator, InputIterator, const allocator_type&);
779
+
742
780
  template <class InputIt>
743
781
  unordered_multiset(InputIt, InputIt, size_type, const allocator_type&);
744
782
 
@@ -747,6 +785,9 @@ namespace boost {
747
785
  InputIt, InputIt, size_type, const hasher&, const allocator_type&);
748
786
 
749
787
  #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
788
+ unordered_multiset(
789
+ std::initializer_list<value_type>, const allocator_type&);
790
+
750
791
  unordered_multiset(
751
792
  std::initializer_list<value_type>, size_type, const allocator_type&);
752
793
 
@@ -1222,52 +1263,80 @@ namespace boost {
1222
1263
  class Pred =
1223
1264
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
1224
1265
  class Allocator = std::allocator<
1225
- typename std::iterator_traits<InputIterator>::value_type> >
1266
+ typename std::iterator_traits<InputIterator>::value_type>,
1267
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
1268
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
1269
+ class = boost::enable_if_t<detail::is_pred_v<Pred> >,
1270
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1226
1271
  unordered_multiset(InputIterator, InputIterator,
1227
1272
  std::size_t = boost::unordered::detail::default_bucket_count,
1228
1273
  Hash = Hash(), Pred = Pred(), Allocator = Allocator())
1229
- ->unordered_multiset<
1274
+ -> unordered_multiset<
1230
1275
  typename std::iterator_traits<InputIterator>::value_type, Hash, Pred,
1231
1276
  Allocator>;
1232
1277
 
1233
1278
  template <class T, class Hash = boost::hash<T>,
1234
- class Pred = std::equal_to<T>, class Allocator = std::allocator<T> >
1279
+ class Pred = std::equal_to<T>, class Allocator = std::allocator<T>,
1280
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
1281
+ class = boost::enable_if_t<detail::is_pred_v<Pred> >,
1282
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1235
1283
  unordered_multiset(std::initializer_list<T>,
1236
1284
  std::size_t = boost::unordered::detail::default_bucket_count,
1237
1285
  Hash = Hash(), Pred = Pred(), Allocator = Allocator())
1238
- ->unordered_multiset<T, Hash, Pred, Allocator>;
1286
+ -> unordered_multiset<T, Hash, Pred, Allocator>;
1239
1287
 
1240
- template <class InputIterator, class Allocator>
1288
+ template <class InputIterator, class Allocator,
1289
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
1290
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1241
1291
  unordered_multiset(InputIterator, InputIterator, std::size_t, Allocator)
1242
- ->unordered_multiset<
1292
+ -> unordered_multiset<
1243
1293
  typename std::iterator_traits<InputIterator>::value_type,
1244
1294
  boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
1245
1295
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
1246
1296
  Allocator>;
1247
1297
 
1248
- template <class InputIterator, class Hash, class Allocator>
1298
+ template <class InputIterator, class Hash, class Allocator,
1299
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
1300
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
1301
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1249
1302
  unordered_multiset(
1250
1303
  InputIterator, InputIterator, std::size_t, Hash, Allocator)
1251
- ->unordered_multiset<
1304
+ -> unordered_multiset<
1252
1305
  typename std::iterator_traits<InputIterator>::value_type, Hash,
1253
1306
  std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
1254
1307
  Allocator>;
1255
1308
 
1256
- template <class T, class Allocator>
1309
+ template <class T, class Allocator,
1310
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1257
1311
  unordered_multiset(std::initializer_list<T>, std::size_t, Allocator)
1258
- ->unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
1312
+ -> unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
1259
1313
 
1260
- template <class T, class Hash, class Allocator>
1314
+ template <class T, class Hash, class Allocator,
1315
+ class = boost::enable_if_t<detail::is_hash_v<Hash> >,
1316
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1261
1317
  unordered_multiset(std::initializer_list<T>, std::size_t, Hash, Allocator)
1262
- ->unordered_multiset<T, Hash, std::equal_to<T>, Allocator>;
1318
+ -> unordered_multiset<T, Hash, std::equal_to<T>, Allocator>;
1319
+
1320
+ template <class InputIterator, class Allocator,
1321
+ class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
1322
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1323
+ unordered_multiset(InputIterator, InputIterator, Allocator)
1324
+ -> unordered_multiset<
1325
+ typename std::iterator_traits<InputIterator>::value_type,
1326
+ boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
1327
+ std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
1328
+ Allocator>;
1329
+
1330
+ template <class T, class Allocator,
1331
+ class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
1332
+ unordered_multiset(std::initializer_list<T>, Allocator)
1333
+ -> unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
1263
1334
 
1264
1335
  #endif
1265
1336
 
1266
1337
  ////////////////////////////////////////////////////////////////////////////
1267
1338
  template <class T, class H, class P, class A>
1268
1339
  unordered_set<T, H, P, A>::unordered_set()
1269
- : table_(boost::unordered::detail::default_bucket_count, hasher(),
1270
- key_equal(), allocator_type())
1271
1340
  {
1272
1341
  }
1273
1342
 
@@ -1354,6 +1423,17 @@ namespace boost {
1354
1423
  {
1355
1424
  }
1356
1425
 
1426
+ template <class T, class H, class P, class A>
1427
+ template <class InputIterator>
1428
+ unordered_set<T, H, P, A>::unordered_set(
1429
+ InputIterator f, InputIterator l, const allocator_type& a)
1430
+ : table_(boost::unordered::detail::initial_size(
1431
+ f, l, detail::default_bucket_count),
1432
+ hasher(), key_equal(), a)
1433
+ {
1434
+ this->insert(f, l);
1435
+ }
1436
+
1357
1437
  template <class T, class H, class P, class A>
1358
1438
  template <class InputIt>
1359
1439
  unordered_set<T, H, P, A>::unordered_set(
@@ -1376,6 +1456,16 @@ namespace boost {
1376
1456
 
1377
1457
  #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
1378
1458
 
1459
+ template <class T, class H, class P, class A>
1460
+ unordered_set<T, H, P, A>::unordered_set(
1461
+ std::initializer_list<value_type> list, const allocator_type& a)
1462
+ : table_(boost::unordered::detail::initial_size(
1463
+ list.begin(), list.end(), detail::default_bucket_count),
1464
+ hasher(), key_equal(), a)
1465
+ {
1466
+ this->insert(list.begin(), list.end());
1467
+ }
1468
+
1379
1469
  template <class T, class H, class P, class A>
1380
1470
  unordered_set<T, H, P, A>::unordered_set(
1381
1471
  std::initializer_list<value_type> list, size_type n,
@@ -1586,6 +1676,10 @@ namespace boost {
1586
1676
  template <class T, class H, class P, class A>
1587
1677
  float unordered_set<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
1588
1678
  {
1679
+ if (table_.size_ == 0) {
1680
+ return 0.0f;
1681
+ }
1682
+
1589
1683
  BOOST_ASSERT(table_.bucket_count() != 0);
1590
1684
  return static_cast<float>(table_.size_) /
1591
1685
  static_cast<float>(table_.bucket_count());
@@ -1660,8 +1754,6 @@ namespace boost {
1660
1754
 
1661
1755
  template <class T, class H, class P, class A>
1662
1756
  unordered_multiset<T, H, P, A>::unordered_multiset()
1663
- : table_(boost::unordered::detail::default_bucket_count, hasher(),
1664
- key_equal(), allocator_type())
1665
1757
  {
1666
1758
  }
1667
1759
 
@@ -1750,6 +1842,17 @@ namespace boost {
1750
1842
  {
1751
1843
  }
1752
1844
 
1845
+ template <class T, class H, class P, class A>
1846
+ template <class InputIterator>
1847
+ unordered_multiset<T, H, P, A>::unordered_multiset(
1848
+ InputIterator f, InputIterator l, const allocator_type& a)
1849
+ : table_(boost::unordered::detail::initial_size(
1850
+ f, l, detail::default_bucket_count),
1851
+ hasher(), key_equal(), a)
1852
+ {
1853
+ this->insert(f, l);
1854
+ }
1855
+
1753
1856
  template <class T, class H, class P, class A>
1754
1857
  template <class InputIt>
1755
1858
  unordered_multiset<T, H, P, A>::unordered_multiset(
@@ -1772,6 +1875,16 @@ namespace boost {
1772
1875
 
1773
1876
  #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
1774
1877
 
1878
+ template <class T, class H, class P, class A>
1879
+ unordered_multiset<T, H, P, A>::unordered_multiset(
1880
+ std::initializer_list<value_type> list, const allocator_type& a)
1881
+ : table_(boost::unordered::detail::initial_size(
1882
+ list.begin(), list.end(), detail::default_bucket_count),
1883
+ hasher(), key_equal(), a)
1884
+ {
1885
+ this->insert(list.begin(), list.end());
1886
+ }
1887
+
1775
1888
  template <class T, class H, class P, class A>
1776
1889
  unordered_multiset<T, H, P, A>::unordered_multiset(
1777
1890
  std::initializer_list<value_type> list, size_type n,
@@ -1986,6 +2099,10 @@ namespace boost {
1986
2099
  template <class T, class H, class P, class A>
1987
2100
  float unordered_multiset<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
1988
2101
  {
2102
+ if (table_.size_ == 0) {
2103
+ return 0.0f;
2104
+ }
2105
+
1989
2106
  BOOST_ASSERT(table_.bucket_count() != 0);
1990
2107
  return static_cast<float>(table_.size_) /
1991
2108
  static_cast<float>(table_.bucket_count());
@@ -19,7 +19,7 @@
19
19
  // BOOST_VERSION / 100 % 1000 is the minor version
20
20
  // BOOST_VERSION / 100000 is the major version
21
21
 
22
- #define BOOST_VERSION 108000
22
+ #define BOOST_VERSION 108100
23
23
 
24
24
  //
25
25
  // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
@@ -27,6 +27,6 @@
27
27
  // number, y is the minor version number, and z is the patch level if not 0.
28
28
  // This is used by <config/auto_link.hpp> to select which library version to link to.
29
29
 
30
- #define BOOST_LIB_VERSION "1_80"
30
+ #define BOOST_LIB_VERSION "1_81"
31
31
 
32
32
  #endif
@@ -198,7 +198,7 @@ static void md5_process(md5_state_t *pms, md5_byte_t const * data /*[64]*/) {
198
198
  * On little-endian machines, we can process properly aligned
199
199
  * data without copying it.
200
200
  */
201
- if (!((data - (md5_byte_t const *)0) & 3)) {
201
+ if (!((reinterpret_cast<uintptr_t>(data)) & 3)) {
202
202
  /* data are properly aligned */
203
203
  X = (md5_word_t const *)data;
204
204
  } else {
@@ -24,7 +24,7 @@
24
24
 
25
25
  # Apple has a habit of getting their Ruby headers wrong, so if we are building using system ruby we need to patch things up, sierra & mojave both did this.
26
26
  # eg https://openradar.appspot.com/46465917
27
- if RUBY_PLATFORM =~ /darwin/ && !File.exists?(RbConfig::CONFIG["rubyarchhdrdir"])
27
+ if RUBY_PLATFORM =~ /darwin/ && !File.exist?(RbConfig::CONFIG["rubyarchhdrdir"])
28
28
  RbConfig::CONFIG["rubyarchhdrdir"].sub!(RUBY_PLATFORM.split('-').last, Dir.entries(File.dirname(RbConfig::CONFIG["rubyarchhdrdir"])).reject{|d|d.start_with?(".","ruby")}.first.split('-').last)
29
29
  end
30
30
 
@@ -247,7 +247,7 @@ module PhusionPassenger
247
247
  memoize :supports_lfence_instruction?, true
248
248
 
249
249
  def self.requires_no_tls_direct_seg_refs?
250
- return File.exists?("/proc/xen/capabilities") && cpu_architectures[0] == "x86"
250
+ return File.exist?("/proc/xen/capabilities") && cpu_architectures[0] == "x86"
251
251
  end
252
252
  memoize :requires_no_tls_direct_seg_refs?, true
253
253
 
@@ -31,16 +31,16 @@ module PhusionPassenger
31
31
 
32
32
  PACKAGE_NAME = 'passenger'
33
33
  # Run 'rake src/cxx_supportlib/Constants.h configkit_schemas_inline_comments' after changing this number.
34
- VERSION_STRING = '6.0.16'
34
+ VERSION_STRING = '6.0.17'
35
35
 
36
36
  # Tip: find the SHA-256 with ./dev/nginx_version_sha2 <VERSION>
37
- PREFERRED_NGINX_VERSION = '1.20.2'
38
- NGINX_SHA256_CHECKSUM = '958876757782190a1653e14dc26dfc7ba263de310e04c113e11e97d1bef45a42'
37
+ PREFERRED_NGINX_VERSION = '1.22.1'
38
+ NGINX_SHA256_CHECKSUM = '9ebb333a9e82b952acd3e2b4aeb1d4ff6406f72491bab6cd9fe69f0dea737f31'
39
39
 
40
40
  # Packaging may be locked to an older version due to the specific module configuration being
41
41
  # incompatible with the version we prefer (latest stable).
42
- PACKAGING_PREFERRED_NGINX_VERSION = '1.20.2'
43
- PACKAGING_NGINX_SHA256_CHECKSUM = '958876757782190a1653e14dc26dfc7ba263de310e04c113e11e97d1bef45a42'
42
+ PACKAGING_PREFERRED_NGINX_VERSION = '1.22.1'
43
+ PACKAGING_NGINX_SHA256_CHECKSUM = '9ebb333a9e82b952acd3e2b4aeb1d4ff6406f72491bab6cd9fe69f0dea737f31'
44
44
 
45
45
  # sha256sum of the .tar.gz
46
46
  PREFERRED_PCRE_VERSION = '8.45'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.16
4
+ version: 6.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion - http://www.phusion.nl/
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -666,23 +666,15 @@ files:
666
666
  - src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim.hpp
667
667
  - src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim_all.hpp
668
668
  - src/cxx_supportlib/vendor-modified/boost/algorithm/string/yes_no_type.hpp
669
- - src/cxx_supportlib/vendor-modified/boost/align/align.hpp
670
669
  - src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp
671
- - src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp
672
- - src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp
673
- - src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp
674
- - src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp
675
670
  - src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp
676
671
  - src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp
677
- - src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp
678
- - src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp
679
- - src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp
680
- - src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp
681
672
  - src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp
682
- - src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp
683
673
  - src/cxx_supportlib/vendor-modified/boost/aligned_storage.hpp
684
674
  - src/cxx_supportlib/vendor-modified/boost/array.hpp
685
675
  - src/cxx_supportlib/vendor-modified/boost/asio.hpp
676
+ - src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp
677
+ - src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp
686
678
  - src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp
687
679
  - src/cxx_supportlib/vendor-modified/boost/asio/append.hpp
688
680
  - src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp
@@ -732,6 +724,7 @@ files:
732
724
  - src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp
733
725
  - src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp
734
726
  - src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp
727
+ - src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp
735
728
  - src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp
736
729
  - src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp
737
730
  - src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp
@@ -753,6 +746,7 @@ files:
753
746
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp
754
747
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp
755
748
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp
749
+ - src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp
756
750
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp
757
751
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp
758
752
  - src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp
@@ -1015,6 +1009,7 @@ files:
1015
1009
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp
1016
1010
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp
1017
1011
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp
1012
+ - src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp
1018
1013
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp
1019
1014
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp
1020
1015
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp
@@ -1028,21 +1023,24 @@ files:
1028
1023
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp
1029
1024
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp
1030
1025
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp
1031
- - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp
1026
+ - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp
1032
1027
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp
1033
1028
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp
1034
1029
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp
1035
1030
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp
1036
1031
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp
1037
1032
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp
1033
+ - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp
1038
1034
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp
1039
1035
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp
1040
1036
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp
1041
1037
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp
1038
+ - src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp
1042
1039
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp
1043
1040
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp
1044
1041
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp
1045
1042
  - src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp
1043
+ - src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp
1046
1044
  - src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp
1047
1045
  - src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp
1048
1046
  - src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp
@@ -1055,6 +1053,7 @@ files:
1055
1053
  - src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp
1056
1054
  - src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp
1057
1055
  - src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp
1056
+ - src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp
1058
1057
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp
1059
1058
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp
1060
1059
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp
@@ -1063,10 +1062,10 @@ files:
1063
1062
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp
1064
1063
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp
1065
1064
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp
1066
- - src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp
1067
1065
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp
1068
1066
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp
1069
1067
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp
1068
+ - src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp
1070
1069
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp
1071
1070
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp
1072
1071
  - src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp
@@ -1697,12 +1696,15 @@ files:
1697
1696
  - src/cxx_supportlib/vendor-modified/boost/container/uses_allocator.hpp
1698
1697
  - src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_fwd.hpp
1699
1698
  - src/cxx_supportlib/vendor-modified/boost/container/vector.hpp
1700
- - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp
1701
- - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp
1702
- - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp
1703
- - src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp
1699
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp
1700
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp
1701
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple.hpp
1704
1702
  - src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp
1705
1703
  - src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp
1704
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp
1705
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp
1706
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp
1707
+ - src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp
1706
1708
  - src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp
1707
1709
  - src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp
1708
1710
  - src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp
@@ -1718,6 +1720,7 @@ files:
1718
1720
  - src/cxx_supportlib/vendor-modified/boost/core/enable_if.hpp
1719
1721
  - src/cxx_supportlib/vendor-modified/boost/core/exchange.hpp
1720
1722
  - src/cxx_supportlib/vendor-modified/boost/core/explicit_operator_bool.hpp
1723
+ - src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp
1721
1724
  - src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp
1722
1725
  - src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp
1723
1726
  - src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp
@@ -1847,9 +1850,14 @@ files:
1847
1850
  - src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp
1848
1851
  - src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp
1849
1852
  - src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp
1853
+ - src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp
1854
+ - src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp
1855
+ - src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp
1856
+ - src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp
1857
+ - src/cxx_supportlib/vendor-modified/boost/describe/members.hpp
1858
+ - src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp
1850
1859
  - src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp
1851
1860
  - src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp
1852
- - src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp
1853
1861
  - src/cxx_supportlib/vendor-modified/boost/detail/fenv.hpp
1854
1862
  - src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp
1855
1863
  - src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp
@@ -2104,6 +2112,7 @@ files:
2104
2112
  - src/cxx_supportlib/vendor-modified/boost/move/utility.hpp
2105
2113
  - src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp
2106
2114
  - src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp
2115
+ - src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp
2107
2116
  - src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp
2108
2117
  - src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp
2109
2118
  - src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp
@@ -4634,11 +4643,19 @@ files:
4634
4643
  - src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp
4635
4644
  - src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp
4636
4645
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp
4646
+ - src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa.hpp
4637
4647
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp
4638
4648
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp
4639
4649
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp
4640
4650
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp
4641
4651
  - src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp
4652
+ - src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp
4653
+ - src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp
4654
+ - src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp
4655
+ - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp
4656
+ - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp
4657
+ - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp
4658
+ - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp
4642
4659
  - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp
4643
4660
  - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp
4644
4661
  - src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp
@@ -1,19 +0,0 @@
1
- /*
2
- Copyright 2014-2015 Glen Joseph Fernandes
3
- (glenjofe@gmail.com)
4
-
5
- Distributed under the Boost Software License, Version 1.0.
6
- (http://www.boost.org/LICENSE_1_0.txt)
7
- */
8
- #ifndef BOOST_ALIGN_ALIGN_HPP
9
- #define BOOST_ALIGN_ALIGN_HPP
10
-
11
- #include <boost/config.hpp>
12
-
13
- #if !defined(BOOST_NO_CXX11_STD_ALIGN) && !defined(BOOST_LIBSTDCXX_VERSION)
14
- #include <boost/align/detail/align_cxx11.hpp>
15
- #else
16
- #include <boost/align/detail/align.hpp>
17
- #endif
18
-
19
- #endif
@@ -1,54 +0,0 @@
1
- /*
2
- Copyright 2014-2016 Glen Joseph Fernandes
3
- (glenjofe@gmail.com)
4
-
5
- Distributed under the Boost Software License, Version 1.0.
6
- (http://www.boost.org/LICENSE_1_0.txt)
7
- */
8
- #ifndef BOOST_ALIGN_ALIGNMENT_OF_HPP
9
- #define BOOST_ALIGN_ALIGNMENT_OF_HPP
10
-
11
- #include <boost/align/detail/element_type.hpp>
12
- #include <boost/align/alignment_of_forward.hpp>
13
-
14
- #if defined(_MSC_VER) && defined(__clang__)
15
- #include <boost/align/detail/alignment_of_cxx11.hpp>
16
- #elif defined(BOOST_MSVC)
17
- #include <boost/align/detail/alignment_of_msvc.hpp>
18
- #elif defined(__GNUC__) && defined(__unix__) && !defined(__LP64__)
19
- #include <boost/align/detail/alignment_of.hpp>
20
- #elif defined(BOOST_CLANG) && !defined(__x86_64__)
21
- #include <boost/align/detail/alignment_of.hpp>
22
- #elif !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
23
- #include <boost/align/detail/alignment_of_cxx11.hpp>
24
- #elif defined(__ghs__) && (__GHS_VERSION_NUMBER >= 600)
25
- #include <boost/align/detail/alignment_of_gcc.hpp>
26
- #elif defined(BOOST_CODEGEARC)
27
- #include <boost/align/detail/alignment_of_codegear.hpp>
28
- #elif defined(BOOST_CLANG)
29
- #include <boost/align/detail/alignment_of_clang.hpp>
30
- #elif __GNUC__ > 4
31
- #include <boost/align/detail/alignment_of_gcc.hpp>
32
- #elif (__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)
33
- #include <boost/align/detail/alignment_of_gcc.hpp>
34
- #else
35
- #include <boost/align/detail/alignment_of.hpp>
36
- #endif
37
-
38
- namespace boost {
39
- namespace alignment {
40
-
41
- template<class T>
42
- struct alignment_of
43
- : detail::alignment_of<typename
44
- detail::element_type<T>::type>::type { };
45
-
46
- #if !defined(BOOST_NO_CXX14_VARIABLE_TEMPLATES)
47
- template<class T>
48
- constexpr std::size_t alignment_of_v = alignment_of<T>::value;
49
- #endif
50
-
51
- } /* alignment */
52
- } /* boost */
53
-
54
- #endif