@swiftbrowser/wasm-sdk-cxx 0.0.0-stage → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1824) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +1822 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/adjacent_find.h +60 -0
  6. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/all_of.h +42 -0
  7. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/any_of.h +42 -0
  8. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/binary_search.h +38 -0
  9. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/clamp.h +44 -0
  10. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/comp.h +53 -0
  11. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/comp_ref_type.h +67 -0
  12. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/copy.h +254 -0
  13. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/copy_backward.h +270 -0
  14. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/copy_if.h +50 -0
  15. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/copy_move_common.h +113 -0
  16. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/copy_n.h +60 -0
  17. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/count.h +95 -0
  18. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/count_if.h +46 -0
  19. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/equal.h +292 -0
  20. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/equal_range.h +81 -0
  21. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/fill.h +45 -0
  22. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/fill_n.h +89 -0
  23. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h +184 -0
  24. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find_end.h +118 -0
  25. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find_first_of.h +54 -0
  26. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find_if.h +32 -0
  27. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find_if_not.h +32 -0
  28. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find_segment_if.h +62 -0
  29. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/for_each.h +65 -0
  30. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/for_each_n.h +102 -0
  31. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/for_each_n_segment.h +63 -0
  32. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/for_each_segment.h +53 -0
  33. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/generate.h +29 -0
  34. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/generate_n.h +33 -0
  35. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/half_positive.h +37 -0
  36. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_found_result.h +54 -0
  37. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_fun_result.h +54 -0
  38. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_in_out_result.h +59 -0
  39. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_in_result.h +56 -0
  40. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_out_out_result.h +57 -0
  41. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/in_out_result.h +56 -0
  42. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/includes.h +78 -0
  43. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/inplace_merge.h +243 -0
  44. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_heap.h +37 -0
  45. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_heap_until.h +62 -0
  46. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_partitioned.h +37 -0
  47. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_permutation.h +309 -0
  48. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_sorted.h +37 -0
  49. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/is_sorted_until.h +50 -0
  50. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/iter_swap.h +31 -0
  51. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/iterator_operations.h +226 -0
  52. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/lexicographical_compare.h +129 -0
  53. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/lexicographical_compare_three_way.h +125 -0
  54. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/lower_bound.h +108 -0
  55. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/make_heap.h +60 -0
  56. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/make_projected.h +104 -0
  57. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/max.h +58 -0
  58. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/max_element.h +54 -0
  59. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/merge.h +68 -0
  60. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/min.h +58 -0
  61. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/min_element.h +71 -0
  62. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/min_max_result.h +56 -0
  63. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/minmax.h +59 -0
  64. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/minmax_element.h +100 -0
  65. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/mismatch.h +218 -0
  66. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/move.h +139 -0
  67. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/move_backward.h +149 -0
  68. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/next_permutation.h +75 -0
  69. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/none_of.h +32 -0
  70. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/nth_element.h +261 -0
  71. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/out_value_result.h +56 -0
  72. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/partial_sort.h +91 -0
  73. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/partial_sort_copy.h +106 -0
  74. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/partition.h +91 -0
  75. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/partition_copy.h +43 -0
  76. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/partition_point.h +44 -0
  77. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/pop_heap.h +81 -0
  78. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/prev_permutation.h +75 -0
  79. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/pstl.h +663 -0
  80. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/push_heap.h +84 -0
  81. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/radix_sort.h +429 -0
  82. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_adjacent_find.h +66 -0
  83. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_all_of.h +64 -0
  84. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_any_of.h +63 -0
  85. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_binary_search.h +71 -0
  86. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_clamp.h +64 -0
  87. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_contains.h +64 -0
  88. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_contains_subrange.h +95 -0
  89. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_copy.h +68 -0
  90. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_copy_backward.h +67 -0
  91. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_copy_if.h +76 -0
  92. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_copy_n.h +80 -0
  93. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_count.h +64 -0
  94. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_count_if.h +67 -0
  95. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_ends_with.h +200 -0
  96. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_equal.h +107 -0
  97. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_equal_range.h +76 -0
  98. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_fill.h +60 -0
  99. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_fill_n.h +49 -0
  100. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find.h +78 -0
  101. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find_end.h +101 -0
  102. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find_first_of.h +104 -0
  103. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find_if.h +73 -0
  104. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find_if_not.h +67 -0
  105. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_find_last.h +170 -0
  106. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_fold.h +129 -0
  107. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_for_each.h +89 -0
  108. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_for_each_n.h +59 -0
  109. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_generate.h +69 -0
  110. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_generate_n.h +61 -0
  111. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_includes.h +94 -0
  112. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_inplace_merge.h +80 -0
  113. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_heap.h +77 -0
  114. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_heap_until.h +77 -0
  115. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_partitioned.h +84 -0
  116. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_permutation.h +105 -0
  117. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_sorted.h +65 -0
  118. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_is_sorted_until.h +80 -0
  119. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_iterator_concept.h +56 -0
  120. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_lexicographical_compare.h +107 -0
  121. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_lower_bound.h +71 -0
  122. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_make_heap.h +81 -0
  123. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_max.h +101 -0
  124. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_max_element.h +67 -0
  125. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_merge.h +134 -0
  126. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_min.h +93 -0
  127. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_min_element.h +66 -0
  128. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_minmax.h +174 -0
  129. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_minmax_element.h +76 -0
  130. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_mismatch.h +98 -0
  131. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_move.h +72 -0
  132. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_move_backward.h +74 -0
  133. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_next_permutation.h +74 -0
  134. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_none_of.h +73 -0
  135. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_nth_element.h +80 -0
  136. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_partial_sort.h +78 -0
  137. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_partial_sort_copy.h +110 -0
  138. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_partition.h +85 -0
  139. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_partition_copy.h +106 -0
  140. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_partition_point.h +89 -0
  141. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_pop_heap.h +82 -0
  142. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_prev_permutation.h +74 -0
  143. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_push_heap.h +81 -0
  144. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_remove.h +66 -0
  145. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_remove_copy.h +77 -0
  146. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_remove_copy_if.h +91 -0
  147. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_remove_if.h +87 -0
  148. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_replace.h +66 -0
  149. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_replace_copy.h +89 -0
  150. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_replace_copy_if.h +94 -0
  151. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_replace_if.h +79 -0
  152. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_reverse.h +77 -0
  153. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_reverse_copy.h +68 -0
  154. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_rotate.h +67 -0
  155. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_rotate_copy.h +66 -0
  156. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_sample.h +70 -0
  157. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_search.h +132 -0
  158. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_search_n.h +114 -0
  159. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_set_difference.h +104 -0
  160. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_set_intersection.h +110 -0
  161. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_set_symmetric_difference.h +109 -0
  162. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_set_union.h +110 -0
  163. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_shuffle.h +68 -0
  164. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_sort.h +80 -0
  165. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_sort_heap.h +81 -0
  166. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_stable_partition.h +89 -0
  167. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_stable_sort.h +80 -0
  168. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_starts_with.h +93 -0
  169. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_swap_ranges.h +68 -0
  170. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_transform.h +175 -0
  171. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_unique.h +78 -0
  172. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_unique_copy.h +116 -0
  173. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/ranges_upper_bound.h +72 -0
  174. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/remove.h +46 -0
  175. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/remove_copy.h +34 -0
  176. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/remove_copy_if.h +34 -0
  177. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/remove_if.h +45 -0
  178. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/replace.h +30 -0
  179. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/replace_copy.h +37 -0
  180. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/replace_copy_if.h +37 -0
  181. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/replace_if.h +30 -0
  182. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/reverse.h +62 -0
  183. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/reverse_copy.h +30 -0
  184. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/rotate.h +243 -0
  185. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/rotate_copy.h +29 -0
  186. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/sample.h +123 -0
  187. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/search.h +192 -0
  188. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/search_n.h +156 -0
  189. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/set_difference.h +76 -0
  190. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/set_intersection.h +218 -0
  191. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/set_symmetric_difference.h +108 -0
  192. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/set_union.h +104 -0
  193. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/shift_left.h +59 -0
  194. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/shift_right.h +105 -0
  195. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/shuffle.h +167 -0
  196. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/sift_down.h +118 -0
  197. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/simd_utils.h +164 -0
  198. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/sort.h +958 -0
  199. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/sort_heap.h +63 -0
  200. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/stable_partition.h +305 -0
  201. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/stable_sort.h +323 -0
  202. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/swap_ranges.h +224 -0
  203. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/three_way_comp_ref_type.h +74 -0
  204. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/transform.h +42 -0
  205. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/uniform_random_bit_generator_adaptor.h +58 -0
  206. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique.h +66 -0
  207. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h +127 -0
  208. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unwrap_iter.h +85 -0
  209. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unwrap_range.h +99 -0
  210. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/upper_bound.h +71 -0
  211. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__assert +118 -0
  212. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__assertion_handler +64 -0
  213. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h +111 -0
  214. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h +830 -0
  215. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic_flag.h +187 -0
  216. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic_init.h +25 -0
  217. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic_lock_free.h +48 -0
  218. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic_ref.h +380 -0
  219. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic_sync.h +195 -0
  220. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/check_memory_order.h +34 -0
  221. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/contention_t.h +32 -0
  222. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/fence.h +28 -0
  223. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/is_always_lock_free.h +28 -0
  224. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/kill_dependency.h +27 -0
  225. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/memory_order.h +65 -0
  226. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/support/c11.h +264 -0
  227. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/support/gcc.h +265 -0
  228. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/support.h +121 -0
  229. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/to_gcc_order.h +54 -0
  230. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/bit_cast.h +44 -0
  231. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/bit_ceil.h +54 -0
  232. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/bit_floor.h +33 -0
  233. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/bit_log2.h +33 -0
  234. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/bit_width.h +33 -0
  235. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/blsr.h +34 -0
  236. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/byteswap.h +53 -0
  237. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/countl.h +112 -0
  238. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/countr.h +99 -0
  239. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/endian.h +38 -0
  240. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/has_single_bit.h +37 -0
  241. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/invert_if.h +30 -0
  242. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/popcount.h +86 -0
  243. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit/rotate.h +71 -0
  244. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__bit_reference +546 -0
  245. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/chars_format.h +61 -0
  246. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/from_chars_floating_point.h +73 -0
  247. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/from_chars_integral.h +240 -0
  248. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/from_chars_result.h +39 -0
  249. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/tables.h +159 -0
  250. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/to_chars.h +25 -0
  251. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/to_chars_base_10.h +184 -0
  252. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/to_chars_floating_point.h +55 -0
  253. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/to_chars_integral.h +346 -0
  254. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/to_chars_result.h +48 -0
  255. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__charconv/traits.h +197 -0
  256. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/calendar.h +44 -0
  257. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/concepts.h +36 -0
  258. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/convert_to_timespec.h +51 -0
  259. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/convert_to_tm.h +238 -0
  260. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/day.h +99 -0
  261. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/duration.h +545 -0
  262. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/exception.h +135 -0
  263. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/file_clock.h +80 -0
  264. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/formatter.h +1035 -0
  265. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/gps_clock.h +90 -0
  266. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/hh_mm_ss.h +112 -0
  267. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/high_resolution_clock.h +35 -0
  268. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/leap_second.h +131 -0
  269. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/literals.h +45 -0
  270. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/local_info.h +50 -0
  271. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/month.h +115 -0
  272. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/month_weekday.h +105 -0
  273. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/monthday.h +133 -0
  274. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/ostream.h +354 -0
  275. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/parser_std_format_spec.h +421 -0
  276. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/statically_widen.h +52 -0
  277. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/steady_clock.h +42 -0
  278. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/sys_info.h +51 -0
  279. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/system_clock.h +52 -0
  280. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/tai_clock.h +108 -0
  281. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/time_point.h +231 -0
  282. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/time_zone.h +185 -0
  283. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/time_zone_link.h +79 -0
  284. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/tzdb.h +96 -0
  285. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/tzdb_list.h +108 -0
  286. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/utc_clock.h +163 -0
  287. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/weekday.h +167 -0
  288. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/year.h +118 -0
  289. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/year_month.h +123 -0
  290. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/year_month_day.h +337 -0
  291. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/year_month_weekday.h +287 -0
  292. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/zoned_time.h +228 -0
  293. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/common_comparison_category.h +86 -0
  294. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/compare_partial_order_fallback.h +75 -0
  295. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/compare_strong_order_fallback.h +72 -0
  296. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/compare_three_way.h +40 -0
  297. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/compare_three_way_result.h +46 -0
  298. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/compare_weak_order_fallback.h +73 -0
  299. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/is_eq.h +34 -0
  300. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/ordering.h +282 -0
  301. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/partial_order.h +77 -0
  302. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/strong_order.h +143 -0
  303. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/synth_three_way.h +53 -0
  304. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/three_way_comparable.h +55 -0
  305. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__compare/weak_order.h +105 -0
  306. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/arithmetic.h +43 -0
  307. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/assignable.h +41 -0
  308. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/boolean_testable.h +38 -0
  309. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/class_or_enum.h +34 -0
  310. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/common_reference_with.h +36 -0
  311. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/common_with.h +52 -0
  312. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/constructible.h +55 -0
  313. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/convertible_to.h +33 -0
  314. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/copyable.h +41 -0
  315. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/derived_from.h +33 -0
  316. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/destructible.h +32 -0
  317. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/different_from.h +31 -0
  318. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/equality_comparable.h +56 -0
  319. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/invocable.h +40 -0
  320. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/movable.h +35 -0
  321. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/predicate.h +34 -0
  322. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/regular.h +33 -0
  323. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/relation.h +43 -0
  324. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/same_as.h +35 -0
  325. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/semiregular.h +33 -0
  326. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/swappable.h +122 -0
  327. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__concepts/totally_ordered.h +59 -0
  328. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__condition_variable/condition_variable.h +232 -0
  329. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__config +1267 -0
  330. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__config_site +58 -0
  331. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__configuration/abi.h +152 -0
  332. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__configuration/availability.h +367 -0
  333. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__configuration/compiler.h +51 -0
  334. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__configuration/language.h +50 -0
  335. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__configuration/platform.h +63 -0
  336. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__coroutine/coroutine_handle.h +177 -0
  337. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__coroutine/coroutine_traits.h +48 -0
  338. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__coroutine/noop_coroutine_handle.h +99 -0
  339. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__coroutine/trivial_awaitables.h +40 -0
  340. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cstddef/byte.h +85 -0
  341. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cstddef/max_align_t.h +27 -0
  342. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cstddef/nullptr_t.h +24 -0
  343. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cstddef/ptrdiff_t.h +24 -0
  344. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cstddef/size_t.h +24 -0
  345. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/adjacent_find.h +57 -0
  346. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/all_of.h +32 -0
  347. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/any_of.h +32 -0
  348. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/binary_search.h +39 -0
  349. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/comp.h +49 -0
  350. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/comp_ref_type.h +66 -0
  351. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/copy.h +117 -0
  352. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/copy_backward.h +132 -0
  353. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/copy_if.h +34 -0
  354. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/copy_move_common.h +112 -0
  355. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/copy_n.h +58 -0
  356. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/count.h +92 -0
  357. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/count_if.h +34 -0
  358. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/equal.h +73 -0
  359. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/equal_range.h +85 -0
  360. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/fill.h +44 -0
  361. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/fill_n.h +94 -0
  362. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find.h +177 -0
  363. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find_end.h +225 -0
  364. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find_first_of.h +55 -0
  365. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find_if.h +32 -0
  366. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find_if_not.h +32 -0
  367. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/find_segment_if.h +62 -0
  368. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/for_each.h +39 -0
  369. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/for_each_segment.h +52 -0
  370. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/generate.h +28 -0
  371. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/generate_n.h +32 -0
  372. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/half_positive.h +37 -0
  373. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/includes.h +79 -0
  374. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/inplace_merge.h +240 -0
  375. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_heap.h +38 -0
  376. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_heap_until.h +62 -0
  377. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_partitioned.h +37 -0
  378. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_permutation.h +254 -0
  379. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_sorted.h +37 -0
  380. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/is_sorted_until.h +51 -0
  381. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/iter_swap.h +29 -0
  382. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/iterator_operations.h +192 -0
  383. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/lexicographical_compare.h +57 -0
  384. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/lower_bound.h +109 -0
  385. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/make_heap.h +59 -0
  386. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/make_projected.h +74 -0
  387. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/max.h +42 -0
  388. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/max_element.h +51 -0
  389. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/merge.h +69 -0
  390. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/min.h +42 -0
  391. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/min_element.h +70 -0
  392. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/minmax.h +39 -0
  393. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/minmax_element.h +99 -0
  394. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/mismatch.h +171 -0
  395. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/move.h +120 -0
  396. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/move_backward.h +133 -0
  397. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/next_permutation.h +74 -0
  398. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/none_of.h +32 -0
  399. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/nth_element.h +261 -0
  400. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/partial_sort.h +91 -0
  401. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/partial_sort_copy.h +106 -0
  402. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/partition.h +90 -0
  403. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/partition_copy.h +43 -0
  404. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/partition_point.h +44 -0
  405. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/pop_heap.h +80 -0
  406. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/prev_permutation.h +74 -0
  407. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/push_heap.h +83 -0
  408. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/remove.h +46 -0
  409. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/remove_copy.h +34 -0
  410. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/remove_copy_if.h +34 -0
  411. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/remove_if.h +45 -0
  412. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/replace.h +30 -0
  413. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/replace_copy.h +37 -0
  414. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/replace_copy_if.h +37 -0
  415. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/replace_if.h +30 -0
  416. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/reverse.h +61 -0
  417. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/reverse_copy.h +30 -0
  418. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/rotate.h +196 -0
  419. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/rotate_copy.h +29 -0
  420. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/search.h +182 -0
  421. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/search_n.h +153 -0
  422. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/set_difference.h +77 -0
  423. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/set_intersection.h +211 -0
  424. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/set_symmetric_difference.h +108 -0
  425. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/set_union.h +104 -0
  426. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/shuffle.h +157 -0
  427. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/sift_down.h +118 -0
  428. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/simd_utils.h +159 -0
  429. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/sort.h +989 -0
  430. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/sort_heap.h +62 -0
  431. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/stable_partition.h +307 -0
  432. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/stable_sort.h +273 -0
  433. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/swap_ranges.h +62 -0
  434. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/three_way_comp_ref_type.h +26 -0
  435. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/transform.h +42 -0
  436. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/uniform_random_bit_generator_adaptor.h +20 -0
  437. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/unique.h +64 -0
  438. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/unique_copy.h +127 -0
  439. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/unwrap_iter.h +74 -0
  440. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/unwrap_range.h +46 -0
  441. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__algorithm/upper_bound.h +68 -0
  442. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__assert +118 -0
  443. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/aliases.h +85 -0
  444. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic.h +486 -0
  445. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic_base.h +213 -0
  446. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic_flag.h +184 -0
  447. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic_init.h +21 -0
  448. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic_lock_free.h +48 -0
  449. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/atomic_sync.h +205 -0
  450. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/check_memory_order.h +34 -0
  451. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/contention_t.h +32 -0
  452. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/cxx_atomic_impl.h +498 -0
  453. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/fence.h +28 -0
  454. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/is_always_lock_free.h +28 -0
  455. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/kill_dependency.h +27 -0
  456. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/memory_order.h +40 -0
  457. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__atomic/to_gcc_order.h +54 -0
  458. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/blsr.h +30 -0
  459. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/countl.h +96 -0
  460. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/countr.h +67 -0
  461. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/invert_if.h +29 -0
  462. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/popcount.h +40 -0
  463. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit/rotate.h +57 -0
  464. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__bit_reference +965 -0
  465. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/convert_to_timespec.h +51 -0
  466. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/duration.h +418 -0
  467. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/high_resolution_clock.h +35 -0
  468. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/steady_clock.h +42 -0
  469. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/system_clock.h +43 -0
  470. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__chrono/time_point.h +177 -0
  471. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__condition_variable/condition_variable.h +244 -0
  472. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__config +1093 -0
  473. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/abi.h +172 -0
  474. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/availability.h +400 -0
  475. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/compiler.h +51 -0
  476. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/config_site_shim.h +80 -0
  477. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/language.h +27 -0
  478. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__configuration/platform.h +54 -0
  479. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__debug_utils/randomize_range.h +40 -0
  480. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__debug_utils/sanitizers.h +104 -0
  481. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__debug_utils/strict_weak_ordering_check.h +77 -0
  482. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__exception/exception.h +94 -0
  483. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__exception/exception_ptr.h +177 -0
  484. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__exception/nested_exception.h +99 -0
  485. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__exception/operations.h +38 -0
  486. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__exception/terminate.h +22 -0
  487. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/binary_function.h +43 -0
  488. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/binary_negate.h +45 -0
  489. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/bind.h +70 -0
  490. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/binder1st.h +49 -0
  491. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/binder2nd.h +49 -0
  492. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/hash.h +509 -0
  493. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/identity.h +45 -0
  494. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/mem_fn.h +51 -0
  495. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/mem_fun_ref.h +137 -0
  496. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/operations.h +181 -0
  497. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/pointer_to_binary_function.h +38 -0
  498. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/pointer_to_unary_function.h +38 -0
  499. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/reference_wrapper.h +89 -0
  500. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/unary_function.h +40 -0
  501. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/unary_negate.h +38 -0
  502. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__functional/weak_result_type.h +209 -0
  503. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/array.h +38 -0
  504. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/bit_reference.h +25 -0
  505. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/complex.h +26 -0
  506. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/deque.h +26 -0
  507. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/fstream.h +53 -0
  508. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/functional.h +28 -0
  509. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/ios.h +43 -0
  510. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/istream.h +43 -0
  511. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/memory.h +25 -0
  512. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/ostream.h +35 -0
  513. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/pair.h +33 -0
  514. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/queue.h +31 -0
  515. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/sstream.h +58 -0
  516. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/stack.h +26 -0
  517. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/streambuf.h +35 -0
  518. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/string.h +73 -0
  519. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/string_view.h +50 -0
  520. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/tuple.h +26 -0
  521. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__fwd/vector.h +26 -0
  522. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__hash_table +1842 -0
  523. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__ios/fpos.h +76 -0
  524. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/access.h +54 -0
  525. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/advance.h +74 -0
  526. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/aliasing_iterator.h +127 -0
  527. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/back_insert_iterator.h +67 -0
  528. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/bounded_iter.h +247 -0
  529. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/distance.h +47 -0
  530. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/erase_if_container.h +43 -0
  531. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/front_insert_iterator.h +65 -0
  532. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/insert_iterator.h +71 -0
  533. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/istream_iterator.h +86 -0
  534. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/istreambuf_iterator.h +94 -0
  535. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/iterator.h +33 -0
  536. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/iterator_traits.h +246 -0
  537. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/move_iterator.h +166 -0
  538. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/next.h +39 -0
  539. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/ostream_iterator.h +67 -0
  540. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/ostreambuf_iterator.h +64 -0
  541. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/prev.h +38 -0
  542. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/reverse_iterator.h +203 -0
  543. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/segmented_iterator.h +79 -0
  544. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__iterator/wrap_iter.h +188 -0
  545. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale +1507 -0
  546. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/android.h +45 -0
  547. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/bsd_locale_defaults.h +36 -0
  548. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/bsd_locale_fallbacks.h +126 -0
  549. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/fuchsia.h +18 -0
  550. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/ibm.h +108 -0
  551. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/locale_guard.h +78 -0
  552. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/musl.h +31 -0
  553. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/newlib.h +12 -0
  554. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/openbsd.h +19 -0
  555. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api/win32.h +235 -0
  556. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__locale_dir/locale_base_api.h +98 -0
  557. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/abs.h +46 -0
  558. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/copysign.h +45 -0
  559. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/error_functions.h +60 -0
  560. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/exponential_functions.h +171 -0
  561. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/fdim.h +48 -0
  562. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/fma.h +55 -0
  563. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/gamma.h +62 -0
  564. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/hyperbolic_functions.h +76 -0
  565. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/hypot.h +58 -0
  566. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/inverse_hyperbolic_functions.h +76 -0
  567. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/inverse_trigonometric_functions.h +99 -0
  568. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/logarithms.h +124 -0
  569. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/min_max.h +74 -0
  570. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/modulo.h +63 -0
  571. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/remainder.h +73 -0
  572. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/roots.h +62 -0
  573. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/rounding_functions.h +245 -0
  574. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/traits.h +174 -0
  575. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__math/trigonometric_functions.h +76 -0
  576. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mbstate_t.h +54 -0
  577. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/addressof.h +56 -0
  578. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/align.h +25 -0
  579. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/aligned_alloc.h +53 -0
  580. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocate_at_least.h +36 -0
  581. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocation_guard.h +108 -0
  582. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocator.h +162 -0
  583. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocator_arg_t.h +32 -0
  584. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocator_destructor.h +40 -0
  585. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/allocator_traits.h +371 -0
  586. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/assume_aligned.h +41 -0
  587. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/auto_ptr.h +88 -0
  588. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/builtin_new_allocator.h +67 -0
  589. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/compressed_pair.h +139 -0
  590. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/construct_at.h +77 -0
  591. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/destruct_n.h +63 -0
  592. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/pointer_traits.h +217 -0
  593. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/raw_storage_iterator.h +66 -0
  594. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/shared_ptr.h +1217 -0
  595. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/swap_allocator.h +41 -0
  596. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/temp_value.h +45 -0
  597. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/temporary_buffer.h +75 -0
  598. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/uninitialized_algorithms.h +310 -0
  599. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/unique_ptr.h +553 -0
  600. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/uses_allocator.h +47 -0
  601. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__memory/voidify.h +30 -0
  602. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mutex/lock_guard.h +48 -0
  603. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mutex/mutex.h +53 -0
  604. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mutex/once_flag.h +101 -0
  605. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mutex/tag_types.h +34 -0
  606. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__mutex/unique_lock.h +177 -0
  607. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__numeric/accumulate.h +44 -0
  608. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__numeric/adjacent_difference.h +60 -0
  609. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__numeric/inner_product.h +50 -0
  610. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__numeric/iota.h +29 -0
  611. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__numeric/partial_sum.h +58 -0
  612. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__ostream/basic_ostream.h +797 -0
  613. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/bernoulli_distribution.h +118 -0
  614. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/binomial_distribution.h +192 -0
  615. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/cauchy_distribution.h +133 -0
  616. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/chi_squared_distribution.h +120 -0
  617. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/clamp_to_integral.h +59 -0
  618. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/default_random_engine.h +25 -0
  619. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/discard_block_engine.h +161 -0
  620. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/discrete_distribution.h +206 -0
  621. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/exponential_distribution.h +127 -0
  622. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/extreme_value_distribution.h +133 -0
  623. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/fisher_f_distribution.h +132 -0
  624. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/gamma_distribution.h +175 -0
  625. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/generate_canonical.h +46 -0
  626. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/geometric_distribution.h +115 -0
  627. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/independent_bits_engine.h +197 -0
  628. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/is_seed_sequence.h +31 -0
  629. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/is_valid.h +94 -0
  630. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/knuth_b.h +26 -0
  631. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/linear_congruential_engine.h +378 -0
  632. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/log2.h +66 -0
  633. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/lognormal_distribution.h +121 -0
  634. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/mersenne_twister_engine.h +829 -0
  635. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/negative_binomial_distribution.h +152 -0
  636. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/normal_distribution.h +170 -0
  637. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/piecewise_constant_distribution.h +269 -0
  638. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/piecewise_linear_distribution.h +282 -0
  639. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/poisson_distribution.h +236 -0
  640. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/random_device.h +76 -0
  641. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/ranlux.h +31 -0
  642. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/seed_seq.h +159 -0
  643. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/shuffle_order_engine.h +222 -0
  644. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/student_t_distribution.h +127 -0
  645. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/subtract_with_carry_engine.h +270 -0
  646. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/uniform_int_distribution.h +253 -0
  647. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/uniform_real_distribution.h +132 -0
  648. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__random/weibull_distribution.h +126 -0
  649. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__split_buffer +544 -0
  650. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__std_clang_module +215 -0
  651. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__std_mbstate_t.h +29 -0
  652. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__string/char_traits.h +496 -0
  653. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__string/constexpr_c_functions.h +223 -0
  654. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__string/extern_template_lists.h +133 -0
  655. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/ibm/gettod_zos.h +52 -0
  656. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/ibm/locale_mgmt_zos.h +53 -0
  657. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/ibm/nanosleep.h +55 -0
  658. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/xlocale/__nop_locale_mgmt.h +35 -0
  659. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/xlocale/__posix_l_fallback.h +107 -0
  660. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__support/xlocale/__strtonum_fallback.h +45 -0
  661. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__system_error/errc.h +266 -0
  662. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__system_error/error_category.h +64 -0
  663. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__system_error/error_code.h +123 -0
  664. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__system_error/error_condition.h +109 -0
  665. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__system_error/system_error.h +54 -0
  666. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/id.h +102 -0
  667. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/poll_with_backoff.h +67 -0
  668. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/support/c11.h +191 -0
  669. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/support/external.h +21 -0
  670. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/support/pthread.h +221 -0
  671. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/support/windows.h +131 -0
  672. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/support.h +123 -0
  673. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/this_thread.h +74 -0
  674. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/thread.h +218 -0
  675. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__thread/timed_backoff_policy.h +44 -0
  676. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tree +2106 -0
  677. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/find_index.h +20 -0
  678. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/make_tuple_types.h +28 -0
  679. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/sfinae_helpers.h +36 -0
  680. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_element.h +43 -0
  681. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_indices.h +20 -0
  682. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_like.h +26 -0
  683. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_like_ext.h +47 -0
  684. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_like_no_subrange.h +29 -0
  685. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_size.h +37 -0
  686. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__tuple/tuple_types.h +25 -0
  687. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_const.h +27 -0
  688. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_cv.h +27 -0
  689. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_lvalue_reference.h +49 -0
  690. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_pointer.h +50 -0
  691. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_rvalue_reference.h +49 -0
  692. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/add_volatile.h +27 -0
  693. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/aligned_storage.h +129 -0
  694. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/aligned_union.h +46 -0
  695. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/alignment_of.h +27 -0
  696. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/can_extract_key.h +53 -0
  697. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/common_type.h +79 -0
  698. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/conditional.h +53 -0
  699. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/conjunction.h +49 -0
  700. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/copy_cv.h +51 -0
  701. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/copy_cvref.h +43 -0
  702. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/datasizeof.h +65 -0
  703. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/decay.h +68 -0
  704. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/dependent_type.h +25 -0
  705. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/desugars_to.h +40 -0
  706. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/disjunction.h +48 -0
  707. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/enable_if.h +32 -0
  708. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/extent.h +44 -0
  709. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/has_virtual_destructor.h +26 -0
  710. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/integral_constant.h +39 -0
  711. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/invoke.h +214 -0
  712. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_abstract.h +26 -0
  713. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_allocator.h +34 -0
  714. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_always_bitcastable.h +85 -0
  715. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_arithmetic.h +29 -0
  716. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_array.h +41 -0
  717. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_assignable.h +37 -0
  718. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_base_of.h +26 -0
  719. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_bounded_array.h +29 -0
  720. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_callable.h +32 -0
  721. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_char_like_type.h +28 -0
  722. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_class.h +26 -0
  723. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_compound.h +36 -0
  724. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_const.h +37 -0
  725. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_constant_evaluated.h +26 -0
  726. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_constructible.h +39 -0
  727. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_convertible.h +26 -0
  728. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_core_convertible.h +35 -0
  729. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_destructible.h +87 -0
  730. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_empty.h +26 -0
  731. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_enum.h +26 -0
  732. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_equality_comparable.h +88 -0
  733. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_execution_policy.h +19 -0
  734. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_final.h +26 -0
  735. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_floating_point.h +34 -0
  736. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_function.h +26 -0
  737. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_fundamental.h +38 -0
  738. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_implicitly_default_constructible.h +24 -0
  739. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_integral.h +64 -0
  740. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_literal_type.h +26 -0
  741. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_member_pointer.h +32 -0
  742. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_nothrow_assignable.h +41 -0
  743. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_nothrow_constructible.h +41 -0
  744. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_nothrow_destructible.h +58 -0
  745. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_null_pointer.h +27 -0
  746. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_object.h +26 -0
  747. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_pod.h +26 -0
  748. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_pointer.h +55 -0
  749. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_polymorphic.h +26 -0
  750. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_primary_template.h +31 -0
  751. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_reference.h +48 -0
  752. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_reference_wrapper.h +32 -0
  753. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_referenceable.h +41 -0
  754. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_same.h +39 -0
  755. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_scalar.h +59 -0
  756. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_signed.h +49 -0
  757. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_signed_integer.h +35 -0
  758. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_specialization.h +35 -0
  759. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_standard_layout.h +26 -0
  760. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_swappable.h +60 -0
  761. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivial.h +26 -0
  762. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_assignable.h +41 -0
  763. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_constructible.h +41 -0
  764. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_copyable.h +27 -0
  765. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_destructible.h +42 -0
  766. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_lexicographically_comparable.h +53 -0
  767. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_trivially_relocatable.h +42 -0
  768. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_unbounded_array.h +28 -0
  769. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_union.h +26 -0
  770. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_unsigned.h +49 -0
  771. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_unsigned_integer.h +35 -0
  772. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_valid_expansion.h +31 -0
  773. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_void.h +26 -0
  774. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/is_volatile.h +37 -0
  775. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/lazy.h +25 -0
  776. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/make_32_64_or_128_bit.h +46 -0
  777. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/make_const_lvalue_ref.h +26 -0
  778. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/make_signed.h +84 -0
  779. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/make_unsigned.h +89 -0
  780. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/maybe_const.h +26 -0
  781. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/nat.h +24 -0
  782. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/negation.h +26 -0
  783. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/noexcept_move_assign_container.h +31 -0
  784. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/promote.h +128 -0
  785. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/rank.h +41 -0
  786. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_all_extents.h +49 -0
  787. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_const.h +44 -0
  788. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_const_ref.h +27 -0
  789. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_cv.h +42 -0
  790. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_cvref.h +36 -0
  791. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_extent.h +49 -0
  792. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_pointer.h +48 -0
  793. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_reference.h +42 -0
  794. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/remove_volatile.h +44 -0
  795. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/result_of.h +31 -0
  796. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/strip_signature.h +18 -0
  797. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/type_identity.h +30 -0
  798. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/type_list.h +42 -0
  799. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/underlying_type.h +37 -0
  800. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/unwrap_ref.h +37 -0
  801. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__type_traits/void_t.h +25 -0
  802. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__undef_macros +28 -0
  803. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/as_lvalue.h +28 -0
  804. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/auto_cast.h +22 -0
  805. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/convert_to_integral.h +63 -0
  806. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/declval.h +38 -0
  807. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/empty.h +24 -0
  808. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/exception_guard.h +136 -0
  809. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/forward.h +38 -0
  810. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/integer_sequence.h +48 -0
  811. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/is_pointer_in_range.h +62 -0
  812. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/is_valid_range.h +36 -0
  813. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/move.h +49 -0
  814. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/no_destroy.h +54 -0
  815. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/pair.h +274 -0
  816. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/piecewise_construct.h +26 -0
  817. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/priority_tag.h +28 -0
  818. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/private_constructor_tag.h +28 -0
  819. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/rel_ops.h +46 -0
  820. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/small_buffer.h +26 -0
  821. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/swap.h +52 -0
  822. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__utility/unreachable.h +28 -0
  823. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__variant/monostate.h +26 -0
  824. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__verbose_abort +52 -0
  825. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/__verbose_trap +36 -0
  826. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/algorithm +1924 -0
  827. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/array +419 -0
  828. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/atomic +627 -0
  829. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/bitset +886 -0
  830. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cassert +31 -0
  831. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ccomplex +26 -0
  832. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cctype +127 -0
  833. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cerrno +48 -0
  834. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cfenv +90 -0
  835. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cfloat +88 -0
  836. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/chrono +969 -0
  837. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cinttypes +270 -0
  838. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ciso646 +24 -0
  839. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/climits +48 -0
  840. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/clocale +61 -0
  841. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cmath +606 -0
  842. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/codecvt +591 -0
  843. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/complex +1298 -0
  844. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/complex.h +32 -0
  845. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/condition_variable +267 -0
  846. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/csetjmp +54 -0
  847. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/csignal +64 -0
  848. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstdarg +54 -0
  849. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstdbool +31 -0
  850. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstddef +64 -0
  851. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstdint +199 -0
  852. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstdio +172 -0
  853. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstdlib +147 -0
  854. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cstring +104 -0
  855. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ctgmath +28 -0
  856. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ctime +80 -0
  857. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ctype.h +61 -0
  858. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cuchar +59 -0
  859. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cwchar +256 -0
  860. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/cwctype +97 -0
  861. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/deque +2134 -0
  862. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/errno.h +399 -0
  863. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/exception +96 -0
  864. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/experimental/__config +45 -0
  865. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/experimental/utility +40 -0
  866. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ext/__hash +85 -0
  867. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ext/hash_map +864 -0
  868. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ext/hash_set +583 -0
  869. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/fenv.h +114 -0
  870. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/float.h +95 -0
  871. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/forward_list +1241 -0
  872. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/fstream +1457 -0
  873. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/functional +576 -0
  874. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/future +1946 -0
  875. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/inttypes.h +264 -0
  876. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/iomanip +510 -0
  877. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ios +876 -0
  878. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/iosfwd +166 -0
  879. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/iostream +67 -0
  880. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/istream +1345 -0
  881. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/iterator +718 -0
  882. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/limits +544 -0
  883. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/list +1368 -0
  884. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/locale +3733 -0
  885. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/locale.h +46 -0
  886. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/map +1332 -0
  887. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/math.h +520 -0
  888. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/memory +973 -0
  889. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/module.modulemap +2136 -0
  890. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/mutex +375 -0
  891. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/new +326 -0
  892. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/numeric +187 -0
  893. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ostream +195 -0
  894. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/queue +588 -0
  895. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/random +1735 -0
  896. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/ratio +461 -0
  897. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/regex +5640 -0
  898. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/set +914 -0
  899. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/sstream +898 -0
  900. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stack +250 -0
  901. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdatomic.h +235 -0
  902. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdbool.h +40 -0
  903. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stddef.h +44 -0
  904. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdexcept +286 -0
  905. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdint.h +127 -0
  906. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdio.h +123 -0
  907. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/stdlib.h +151 -0
  908. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/streambuf +445 -0
  909. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/string +3562 -0
  910. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/string.h +110 -0
  911. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/string_view +733 -0
  912. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/strstream +267 -0
  913. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/system_error +166 -0
  914. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/tgmath.h +34 -0
  915. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/thread +123 -0
  916. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/type_traits +497 -0
  917. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/typeindex +92 -0
  918. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/typeinfo +383 -0
  919. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/uchar.h +41 -0
  920. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/unordered_map +1456 -0
  921. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/unordered_set +1045 -0
  922. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/utility +281 -0
  923. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/valarray +3197 -0
  924. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/vector +2452 -0
  925. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/version +273 -0
  926. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/wchar.h +211 -0
  927. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxx03/wctype.h +95 -0
  928. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__cxxabi_config.h +112 -0
  929. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__debug_utils/randomize_range.h +42 -0
  930. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__debug_utils/sanitizers.h +104 -0
  931. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__debug_utils/strict_weak_ordering_check.h +77 -0
  932. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__exception/exception.h +94 -0
  933. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__exception/exception_ptr.h +204 -0
  934. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__exception/nested_exception.h +100 -0
  935. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__exception/operations.h +42 -0
  936. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__exception/terminate.h +22 -0
  937. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__expected/bad_expected_access.h +73 -0
  938. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__expected/expected.h +1909 -0
  939. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__expected/unexpect.h +32 -0
  940. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__expected/unexpected.h +127 -0
  941. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/copy_options.h +69 -0
  942. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/directory_entry.h +470 -0
  943. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/directory_iterator.h +150 -0
  944. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/directory_options.h +57 -0
  945. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/file_status.h +67 -0
  946. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/file_time_type.h +31 -0
  947. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/file_type.h +42 -0
  948. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/filesystem_error.h +88 -0
  949. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/operations.h +310 -0
  950. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/path.h +932 -0
  951. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/path_iterator.h +112 -0
  952. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/perm_options.h +57 -0
  953. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/perms.h +80 -0
  954. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/recursive_directory_iterator.h +163 -0
  955. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/space_info.h +38 -0
  956. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__filesystem/u8path.h +95 -0
  957. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/flat_map.h +1272 -0
  958. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/flat_multimap.h +1011 -0
  959. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/key_value_iterator.h +218 -0
  960. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/sorted_equivalent.h +31 -0
  961. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/sorted_unique.h +31 -0
  962. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_map/utils.h +121 -0
  963. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_set/flat_multiset.h +792 -0
  964. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_set/flat_set.h +874 -0
  965. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_set/ra_iterator.h +157 -0
  966. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__flat_set/utils.h +82 -0
  967. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/buffer.h +708 -0
  968. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/concepts.h +83 -0
  969. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/container_adaptor.h +73 -0
  970. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/enable_insertable.h +35 -0
  971. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/escaped_output_table.h +887 -0
  972. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/extended_grapheme_cluster_table.h +1668 -0
  973. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_arg.h +402 -0
  974. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_arg_store.h +282 -0
  975. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_args.h +78 -0
  976. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_context.h +215 -0
  977. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_error.h +50 -0
  978. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_functions.h +722 -0
  979. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_parse_context.h +105 -0
  980. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_string.h +160 -0
  981. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/format_to_n_result.h +35 -0
  982. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter.h +58 -0
  983. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_bool.h +80 -0
  984. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_char.h +101 -0
  985. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_floating_point.h +792 -0
  986. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_integer.h +126 -0
  987. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_integral.h +446 -0
  988. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_output.h +317 -0
  989. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_pointer.h +80 -0
  990. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_string.h +173 -0
  991. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/formatter_tuple.h +148 -0
  992. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/indic_conjunct_break_table.h +552 -0
  993. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/parser_std_format_spec.h +1172 -0
  994. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/range_default_formatter.h +214 -0
  995. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/range_formatter.h +264 -0
  996. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/unicode.h +602 -0
  997. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/width_estimation_table.h +273 -0
  998. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__format/write_escaped.h +242 -0
  999. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/binary_function.h +53 -0
  1000. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/binary_negate.h +51 -0
  1001. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/bind.h +293 -0
  1002. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/bind_back.h +83 -0
  1003. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/bind_front.h +54 -0
  1004. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/binder1st.h +54 -0
  1005. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/binder2nd.h +54 -0
  1006. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/boyer_moore_searcher.h +305 -0
  1007. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/compose.h +53 -0
  1008. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/default_searcher.h +54 -0
  1009. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/function.h +831 -0
  1010. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/hash.h +471 -0
  1011. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/identity.h +65 -0
  1012. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/invoke.h +55 -0
  1013. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/is_transparent.h +34 -0
  1014. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/mem_fn.h +52 -0
  1015. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/mem_fun_ref.h +145 -0
  1016. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/not_fn.h +76 -0
  1017. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/operations.h +551 -0
  1018. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/perfect_forward.h +105 -0
  1019. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/pointer_to_binary_function.h +43 -0
  1020. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/pointer_to_unary_function.h +43 -0
  1021. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/ranges_operations.h +115 -0
  1022. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/reference_wrapper.h +190 -0
  1023. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/unary_function.h +50 -0
  1024. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/unary_negate.h +47 -0
  1025. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__functional/weak_result_type.h +228 -0
  1026. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/array.h +47 -0
  1027. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/bit_reference.h +44 -0
  1028. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/byte.h +26 -0
  1029. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/complex.h +42 -0
  1030. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/deque.h +26 -0
  1031. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/format.h +38 -0
  1032. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/fstream.h +53 -0
  1033. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/functional.h +35 -0
  1034. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/get.h +24 -0
  1035. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/ios.h +43 -0
  1036. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/istream.h +43 -0
  1037. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/map.h +31 -0
  1038. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/mdspan.h +57 -0
  1039. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/memory.h +28 -0
  1040. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/memory_resource.h +31 -0
  1041. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/ostream.h +35 -0
  1042. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/pair.h +51 -0
  1043. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/queue.h +31 -0
  1044. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/set.h +30 -0
  1045. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/span.h +38 -0
  1046. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/sstream.h +58 -0
  1047. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/stack.h +26 -0
  1048. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/streambuf.h +35 -0
  1049. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/string.h +107 -0
  1050. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/string_view.h +50 -0
  1051. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/subrange.h +49 -0
  1052. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/tuple.h +52 -0
  1053. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/variant.h +68 -0
  1054. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__fwd/vector.h +29 -0
  1055. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__hash_table +2110 -0
  1056. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ios/fpos.h +76 -0
  1057. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/access.h +95 -0
  1058. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/advance.h +199 -0
  1059. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/aliasing_iterator.h +130 -0
  1060. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/back_insert_iterator.h +85 -0
  1061. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/bounded_iter.h +293 -0
  1062. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/common_iterator.h +301 -0
  1063. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/concepts.h +327 -0
  1064. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/counted_iterator.h +289 -0
  1065. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/cpp17_iterator_concepts.h +190 -0
  1066. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/data.h +48 -0
  1067. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/default_sentinel.h +30 -0
  1068. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/distance.h +95 -0
  1069. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/empty.h +44 -0
  1070. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/erase_if_container.h +43 -0
  1071. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/front_insert_iterator.h +83 -0
  1072. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/incrementable_traits.h +79 -0
  1073. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/indirectly_comparable.h +33 -0
  1074. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/insert_iterator.h +95 -0
  1075. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/istream_iterator.h +104 -0
  1076. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/istreambuf_iterator.h +111 -0
  1077. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/iter_move.h +104 -0
  1078. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/iter_swap.h +108 -0
  1079. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/iterator.h +33 -0
  1080. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/iterator_traits.h +480 -0
  1081. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/iterator_with_data.h +105 -0
  1082. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/mergeable.h +42 -0
  1083. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/move_iterator.h +347 -0
  1084. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/move_sentinel.h +61 -0
  1085. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/next.h +74 -0
  1086. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/ostream_iterator.h +75 -0
  1087. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/ostreambuf_iterator.h +77 -0
  1088. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/permutable.h +34 -0
  1089. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/prev.h +84 -0
  1090. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/product_iterator.h +76 -0
  1091. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/projected.h +61 -0
  1092. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/ranges_iterator_traits.h +40 -0
  1093. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/readable_traits.h +81 -0
  1094. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/reverse_access.h +79 -0
  1095. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/reverse_iterator.h +348 -0
  1096. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/segmented_iterator.h +85 -0
  1097. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/size.h +60 -0
  1098. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/sortable.h +35 -0
  1099. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/static_bounded_iter.h +318 -0
  1100. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/unreachable_sentinel.h +37 -0
  1101. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__iterator/wrap_iter.h +251 -0
  1102. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale +1508 -0
  1103. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/check_grouping.h +31 -0
  1104. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/get_c_locale.h +40 -0
  1105. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api/android.h +45 -0
  1106. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api/bsd_locale_fallbacks.h +140 -0
  1107. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api/ibm.h +108 -0
  1108. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api/musl.h +31 -0
  1109. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api/openbsd.h +19 -0
  1110. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/locale_base_api.h +322 -0
  1111. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/messages.h +143 -0
  1112. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/money.h +873 -0
  1113. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/num.h +1072 -0
  1114. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/pad_and_output.h +88 -0
  1115. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/scan_keyword.h +143 -0
  1116. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/apple.h +20 -0
  1117. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/bsd_like.h +228 -0
  1118. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/freebsd.h +20 -0
  1119. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/fuchsia.h +160 -0
  1120. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/linux.h +281 -0
  1121. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/no_locale/characters.h +96 -0
  1122. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/no_locale/strtonum.h +49 -0
  1123. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/support/windows.h +337 -0
  1124. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/time.h +766 -0
  1125. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/wbuffer_convert.h +430 -0
  1126. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/wstring_convert.h +254 -0
  1127. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__log_hardening_failure +42 -0
  1128. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/abs.h +70 -0
  1129. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/copysign.h +44 -0
  1130. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/error_functions.h +60 -0
  1131. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/exponential_functions.h +171 -0
  1132. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/fdim.h +48 -0
  1133. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/fma.h +55 -0
  1134. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/gamma.h +62 -0
  1135. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/hyperbolic_functions.h +76 -0
  1136. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/hypot.h +108 -0
  1137. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/inverse_hyperbolic_functions.h +76 -0
  1138. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/inverse_trigonometric_functions.h +99 -0
  1139. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/logarithms.h +124 -0
  1140. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/min_max.h +74 -0
  1141. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/modulo.h +63 -0
  1142. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/remainder.h +72 -0
  1143. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/roots.h +62 -0
  1144. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/rounding_functions.h +245 -0
  1145. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/special_functions.h +84 -0
  1146. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/traits.h +196 -0
  1147. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__math/trigonometric_functions.h +76 -0
  1148. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mbstate_t.h +54 -0
  1149. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/aligned_accessor.h +87 -0
  1150. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/default_accessor.h +65 -0
  1151. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/extents.h +533 -0
  1152. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/layout_left.h +203 -0
  1153. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/layout_right.h +201 -0
  1154. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/layout_stride.h +371 -0
  1155. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mdspan/mdspan.h +318 -0
  1156. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/addressof.h +59 -0
  1157. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/align.h +25 -0
  1158. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/aligned_alloc.h +63 -0
  1159. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocate_at_least.h +48 -0
  1160. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocation_guard.h +109 -0
  1161. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocator.h +177 -0
  1162. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocator_arg_t.h +75 -0
  1163. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocator_destructor.h +40 -0
  1164. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/allocator_traits.h +381 -0
  1165. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/array_cookie.h +123 -0
  1166. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/assume_aligned.h +50 -0
  1167. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/auto_ptr.h +92 -0
  1168. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/compressed_pair.h +136 -0
  1169. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/concepts.h +63 -0
  1170. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/construct_at.h +93 -0
  1171. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/destroy.h +71 -0
  1172. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/destruct_n.h +63 -0
  1173. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/inout_ptr.h +110 -0
  1174. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/is_sufficiently_aligned.h +34 -0
  1175. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/noexcept_move_assign_container.h +37 -0
  1176. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/out_ptr.h +102 -0
  1177. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/pointer_traits.h +271 -0
  1178. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/ranges_construct_at.h +72 -0
  1179. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/ranges_destroy.h +79 -0
  1180. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/ranges_uninitialized_algorithms.h +284 -0
  1181. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/raw_storage_iterator.h +86 -0
  1182. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_count.h +137 -0
  1183. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h +1588 -0
  1184. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/swap_allocator.h +54 -0
  1185. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/temp_value.h +58 -0
  1186. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/temporary_buffer.h +45 -0
  1187. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/uninitialized_algorithms.h +648 -0
  1188. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/unique_ptr.h +815 -0
  1189. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/unique_temporary_buffer.h +93 -0
  1190. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/uses_allocator.h +52 -0
  1191. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/uses_allocator_construction.h +233 -0
  1192. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/memory_resource.h +89 -0
  1193. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/monotonic_buffer_resource.h +119 -0
  1194. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/polymorphic_allocator.h +246 -0
  1195. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/pool_options.h +38 -0
  1196. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/synchronized_pool_resource.h +93 -0
  1197. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory_resource/unsynchronized_pool_resource.h +106 -0
  1198. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/lock_guard.h +46 -0
  1199. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/mutex.h +53 -0
  1200. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/once_flag.h +160 -0
  1201. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/tag_types.h +44 -0
  1202. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/unique_lock.h +173 -0
  1203. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/align_val_t.h +29 -0
  1204. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/allocate.h +79 -0
  1205. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/destroying_delete_t.h +29 -0
  1206. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/exceptions.h +73 -0
  1207. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/global_new_delete.h +77 -0
  1208. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/interference_size.h +34 -0
  1209. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/launder.h +36 -0
  1210. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/new_handler.h +28 -0
  1211. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/nothrow_t.h +29 -0
  1212. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__new/placement_new_delete.h +34 -0
  1213. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__node_handle +210 -0
  1214. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/accumulate.h +53 -0
  1215. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/adjacent_difference.h +68 -0
  1216. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/exclusive_scan.h +58 -0
  1217. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/gcd_lcm.h +130 -0
  1218. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/inclusive_scan.h +59 -0
  1219. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/inner_product.h +58 -0
  1220. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/iota.h +30 -0
  1221. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/midpoint.h +88 -0
  1222. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/partial_sum.h +66 -0
  1223. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/pstl.h +174 -0
  1224. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/ranges_iota.h +65 -0
  1225. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/reduce.h +53 -0
  1226. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/saturation_arithmetic.h +146 -0
  1227. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/transform_exclusive_scan.h +42 -0
  1228. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/transform_inclusive_scan.h +52 -0
  1229. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__numeric/transform_reduce.h +59 -0
  1230. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ostream/basic_ostream.h +681 -0
  1231. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ostream/print.h +174 -0
  1232. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ostream/put_character_sequence.h +59 -0
  1233. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backend.h +39 -0
  1234. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backend_fwd.h +307 -0
  1235. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backends/default.h +507 -0
  1236. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backends/libdispatch.h +402 -0
  1237. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backends/serial.h +185 -0
  1238. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/backends/std_thread.h +139 -0
  1239. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/any_of.h +103 -0
  1240. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/cpu_traits.h +89 -0
  1241. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/fill.h +70 -0
  1242. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/find_if.h +140 -0
  1243. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/for_each.h +70 -0
  1244. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/merge.h +89 -0
  1245. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/stable_sort.h +51 -0
  1246. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/transform.h +157 -0
  1247. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/cpu_algos/transform_reduce.h +218 -0
  1248. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/dispatch.h +71 -0
  1249. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__pstl/handle_exception.h +61 -0
  1250. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/bernoulli_distribution.h +123 -0
  1251. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/binomial_distribution.h +199 -0
  1252. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/cauchy_distribution.h +139 -0
  1253. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/chi_squared_distribution.h +125 -0
  1254. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/clamp_to_integral.h +59 -0
  1255. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/default_random_engine.h +25 -0
  1256. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/discard_block_engine.h +166 -0
  1257. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/discrete_distribution.h +212 -0
  1258. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/exponential_distribution.h +132 -0
  1259. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/extreme_value_distribution.h +139 -0
  1260. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/fisher_f_distribution.h +138 -0
  1261. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/gamma_distribution.h +181 -0
  1262. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/generate_canonical.h +51 -0
  1263. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/geometric_distribution.h +120 -0
  1264. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/independent_bits_engine.h +205 -0
  1265. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/is_seed_sequence.h +31 -0
  1266. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/is_valid.h +94 -0
  1267. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/knuth_b.h +26 -0
  1268. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/linear_congruential_engine.h +371 -0
  1269. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/log2.h +66 -0
  1270. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/lognormal_distribution.h +126 -0
  1271. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/mersenne_twister_engine.h +592 -0
  1272. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/negative_binomial_distribution.h +157 -0
  1273. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/normal_distribution.h +176 -0
  1274. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/piecewise_constant_distribution.h +304 -0
  1275. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/piecewise_linear_distribution.h +318 -0
  1276. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/poisson_distribution.h +241 -0
  1277. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/random_device.h +81 -0
  1278. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/ranlux.h +31 -0
  1279. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/seed_seq.h +168 -0
  1280. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/shuffle_order_engine.h +227 -0
  1281. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/student_t_distribution.h +132 -0
  1282. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/subtract_with_carry_engine.h +264 -0
  1283. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/uniform_int_distribution.h +264 -0
  1284. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/uniform_random_bit_generator.h +44 -0
  1285. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/uniform_real_distribution.h +138 -0
  1286. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__random/weibull_distribution.h +132 -0
  1287. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/access.h +210 -0
  1288. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/all.h +78 -0
  1289. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/as_rvalue_view.h +142 -0
  1290. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/chunk_by_view.h +235 -0
  1291. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/common_view.h +142 -0
  1292. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/concepts.h +182 -0
  1293. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/container_compatible_range.h +33 -0
  1294. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/counted.h +89 -0
  1295. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/dangling.h +42 -0
  1296. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/data.h +102 -0
  1297. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/drop_view.h +329 -0
  1298. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/drop_while_view.h +136 -0
  1299. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/elements_view.h +418 -0
  1300. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/empty.h +71 -0
  1301. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/empty_view.h +54 -0
  1302. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/enable_borrowed_range.h +40 -0
  1303. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/enable_view.h +50 -0
  1304. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/filter_view.h +260 -0
  1305. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/from_range.h +33 -0
  1306. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/iota_view.h +404 -0
  1307. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/istream_view.h +141 -0
  1308. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/join_view.h +429 -0
  1309. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/join_with_view.h +460 -0
  1310. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/lazy_split_view.h +442 -0
  1311. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/movable_box.h +247 -0
  1312. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/non_propagating_cache.h +103 -0
  1313. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/owning_view.h +116 -0
  1314. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/range_adaptor.h +99 -0
  1315. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/rbegin.h +120 -0
  1316. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/ref_view.h +89 -0
  1317. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/rend.h +123 -0
  1318. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/repeat_view.h +267 -0
  1319. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/reverse_view.h +204 -0
  1320. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/single_view.h +112 -0
  1321. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/size.h +138 -0
  1322. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/split_view.h +232 -0
  1323. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/subrange.h +274 -0
  1324. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/take_view.h +368 -0
  1325. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/take_while_view.h +170 -0
  1326. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/to.h +248 -0
  1327. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/transform_view.h +420 -0
  1328. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/view_interface.h +170 -0
  1329. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/views.h +35 -0
  1330. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ranges/zip_view.h +499 -0
  1331. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__split_buffer +487 -0
  1332. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__std_mbstate_t.h +29 -0
  1333. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/atomic_unique_lock.h +140 -0
  1334. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/intrusive_list_view.h +85 -0
  1335. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/intrusive_shared_ptr.h +135 -0
  1336. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/stop_callback.h +102 -0
  1337. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/stop_source.h +91 -0
  1338. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/stop_state.h +236 -0
  1339. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__stop_token/stop_token.h +63 -0
  1340. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__string/char_traits.h +537 -0
  1341. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__string/constexpr_c_functions.h +236 -0
  1342. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__string/extern_template_lists.h +94 -0
  1343. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/ibm/gettod_zos.h +52 -0
  1344. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/ibm/locale_mgmt_zos.h +53 -0
  1345. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/ibm/nanosleep.h +55 -0
  1346. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/xlocale/__nop_locale_mgmt.h +33 -0
  1347. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/xlocale/__posix_l_fallback.h +91 -0
  1348. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__support/xlocale/__strtonum_fallback.h +45 -0
  1349. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/errc.h +266 -0
  1350. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/error_category.h +75 -0
  1351. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/error_code.h +142 -0
  1352. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/error_condition.h +129 -0
  1353. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/system_error.h +57 -0
  1354. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__system_error/throw_system_error.h +25 -0
  1355. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/formatter.h +80 -0
  1356. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/id.h +121 -0
  1357. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/jthread.h +136 -0
  1358. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/poll_with_backoff.h +67 -0
  1359. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/support/c11.h +191 -0
  1360. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/support/external.h +21 -0
  1361. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/support/pthread.h +221 -0
  1362. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/support/windows.h +131 -0
  1363. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/support.h +123 -0
  1364. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/this_thread.h +79 -0
  1365. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/thread.h +263 -0
  1366. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__thread/timed_backoff_policy.h +44 -0
  1367. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tree +2211 -0
  1368. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/find_index.h +62 -0
  1369. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/ignore.h +39 -0
  1370. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/make_tuple_types.h +80 -0
  1371. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/sfinae_helpers.h +142 -0
  1372. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_element.h +58 -0
  1373. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_indices.h +37 -0
  1374. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_like.h +42 -0
  1375. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_like_ext.h +52 -0
  1376. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_like_no_subrange.h +61 -0
  1377. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_size.h +74 -0
  1378. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__tuple/tuple_types.h +25 -0
  1379. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/add_cv_quals.h +52 -0
  1380. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/add_pointer.h +65 -0
  1381. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/add_reference.h +58 -0
  1382. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/aligned_storage.h +88 -0
  1383. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/aligned_union.h +50 -0
  1384. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/alignment_of.h +32 -0
  1385. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/can_extract_key.h +53 -0
  1386. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/common_reference.h +202 -0
  1387. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/common_type.h +117 -0
  1388. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/conditional.h +64 -0
  1389. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/conjunction.h +70 -0
  1390. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/container_traits.h +46 -0
  1391. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/copy_cv.h +51 -0
  1392. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/copy_cvref.h +45 -0
  1393. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/datasizeof.h +50 -0
  1394. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/decay.h +40 -0
  1395. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/dependent_type.h +25 -0
  1396. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/desugars_to.h +69 -0
  1397. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/detected_or.h +36 -0
  1398. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/disjunction.h +58 -0
  1399. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/enable_if.h +43 -0
  1400. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/extent.h +54 -0
  1401. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/has_unique_object_representation.h +35 -0
  1402. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/has_virtual_destructor.h +32 -0
  1403. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/integer_traits.h +73 -0
  1404. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/integral_constant.h +44 -0
  1405. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/invoke.h +393 -0
  1406. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_abstract.h +31 -0
  1407. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_aggregate.h +33 -0
  1408. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_allocator.h +34 -0
  1409. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_always_bitcastable.h +83 -0
  1410. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_arithmetic.h +34 -0
  1411. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_array.h +31 -0
  1412. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_assignable.h +50 -0
  1413. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_base_of.h +43 -0
  1414. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_bounded_array.h +36 -0
  1415. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_callable.h +32 -0
  1416. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_char_like_type.h +30 -0
  1417. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_class.h +31 -0
  1418. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_compound.h +46 -0
  1419. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_const.h +31 -0
  1420. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_constant_evaluated.h +32 -0
  1421. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_constructible.h +58 -0
  1422. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_convertible.h +31 -0
  1423. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_core_convertible.h +54 -0
  1424. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_destructible.h +97 -0
  1425. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_empty.h +31 -0
  1426. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_enum.h +41 -0
  1427. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_equality_comparable.h +88 -0
  1428. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_execution_policy.h +59 -0
  1429. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_final.h +36 -0
  1430. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_floating_point.h +39 -0
  1431. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_function.h +31 -0
  1432. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_fundamental.h +48 -0
  1433. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_implicit_lifetime.h +35 -0
  1434. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_implicitly_default_constructible.h +46 -0
  1435. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_integral.h +74 -0
  1436. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_literal_type.h +34 -0
  1437. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_member_pointer.h +43 -0
  1438. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_nothrow_assignable.h +52 -0
  1439. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_nothrow_constructible.h +63 -0
  1440. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_nothrow_convertible.h +62 -0
  1441. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_nothrow_destructible.h +61 -0
  1442. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_null_pointer.h +37 -0
  1443. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_object.h +31 -0
  1444. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_pod.h +31 -0
  1445. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_pointer.h +31 -0
  1446. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_polymorphic.h +31 -0
  1447. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_primary_template.h +32 -0
  1448. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_reference.h +68 -0
  1449. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_reference_wrapper.h +32 -0
  1450. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_referenceable.h +34 -0
  1451. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_replaceable.h +61 -0
  1452. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_same.h +44 -0
  1453. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_scalar.h +69 -0
  1454. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_signed.h +52 -0
  1455. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_specialization.h +45 -0
  1456. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_standard_layout.h +31 -0
  1457. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_swappable.h +106 -0
  1458. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivial.h +35 -0
  1459. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_assignable.h +56 -0
  1460. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_constructible.h +64 -0
  1461. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_copyable.h +35 -0
  1462. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_destructible.h +47 -0
  1463. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_lexicographically_comparable.h +63 -0
  1464. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_trivially_relocatable.h +44 -0
  1465. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_unbounded_array.h +38 -0
  1466. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_union.h +31 -0
  1467. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_unqualified.h +25 -0
  1468. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_unsigned.h +52 -0
  1469. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_valid_expansion.h +31 -0
  1470. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_void.h +31 -0
  1471. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/is_volatile.h +31 -0
  1472. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/lazy.h +25 -0
  1473. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/make_32_64_or_128_bit.h +49 -0
  1474. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/make_const_lvalue_ref.h +26 -0
  1475. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/make_signed.h +84 -0
  1476. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/make_unsigned.h +94 -0
  1477. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/maybe_const.h +26 -0
  1478. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/nat.h +31 -0
  1479. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/negation.h +33 -0
  1480. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/promote.h +43 -0
  1481. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/rank.h +52 -0
  1482. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/reference_constructs_from_temporary.h +44 -0
  1483. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/reference_converts_from_temporary.h +35 -0
  1484. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_all_extents.h +40 -0
  1485. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_const.h +49 -0
  1486. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_const_ref.h +27 -0
  1487. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_cv.h +40 -0
  1488. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_cvref.h +45 -0
  1489. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_extent.h +40 -0
  1490. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_pointer.h +53 -0
  1491. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_reference.h +47 -0
  1492. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/remove_volatile.h +49 -0
  1493. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/result_of.h +43 -0
  1494. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/strip_signature.h +81 -0
  1495. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/type_identity.h +39 -0
  1496. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/type_list.h +47 -0
  1497. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/underlying_type.h +51 -0
  1498. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/unwrap_ref.h +51 -0
  1499. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__type_traits/void_t.h +30 -0
  1500. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__undef_macros +28 -0
  1501. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/as_const.h +32 -0
  1502. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/as_lvalue.h +37 -0
  1503. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/auto_cast.h +22 -0
  1504. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/cmp.h +81 -0
  1505. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/convert_to_integral.h +68 -0
  1506. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/declval.h +38 -0
  1507. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/element_count.h +27 -0
  1508. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/empty.h +24 -0
  1509. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/exception_guard.h +143 -0
  1510. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/exchange.h +41 -0
  1511. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/forward.h +38 -0
  1512. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/forward_like.h +63 -0
  1513. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/in_place.h +64 -0
  1514. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/integer_sequence.h +90 -0
  1515. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/is_pointer_in_range.h +70 -0
  1516. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/is_valid_range.h +37 -0
  1517. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/move.h +49 -0
  1518. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/no_destroy.h +53 -0
  1519. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/pair.h +692 -0
  1520. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/piecewise_construct.h +32 -0
  1521. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/priority_tag.h +28 -0
  1522. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/private_constructor_tag.h +28 -0
  1523. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/rel_ops.h +46 -0
  1524. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/scope_guard.h +55 -0
  1525. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/small_buffer.h +101 -0
  1526. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/swap.h +60 -0
  1527. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/to_underlying.h +38 -0
  1528. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__utility/unreachable.h +34 -0
  1529. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__variant/monostate.h +66 -0
  1530. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/comparison.h +71 -0
  1531. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/container_traits.h +41 -0
  1532. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/erase.h +50 -0
  1533. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/pmr.h +33 -0
  1534. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/swap.h +29 -0
  1535. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h +1422 -0
  1536. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector_bool.h +1122 -0
  1537. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector_bool_formatter.h +49 -0
  1538. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__verbose_abort +52 -0
  1539. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__verbose_trap +36 -0
  1540. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm +2071 -0
  1541. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/any +618 -0
  1542. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/array +577 -0
  1543. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic +641 -0
  1544. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/barrier +207 -0
  1545. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/bit +101 -0
  1546. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/bitset +963 -0
  1547. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cassert +35 -0
  1548. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ccomplex +43 -0
  1549. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype +131 -0
  1550. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cerrno +52 -0
  1551. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv +95 -0
  1552. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfloat +92 -0
  1553. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/charconv +121 -0
  1554. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/chrono +1129 -0
  1555. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cinttypes +275 -0
  1556. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ciso646 +36 -0
  1557. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/climits +53 -0
  1558. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/clocale +60 -0
  1559. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath +620 -0
  1560. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/codecvt +606 -0
  1561. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/compare +177 -0
  1562. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/complex +1482 -0
  1563. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/complex.h +36 -0
  1564. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/concepts +174 -0
  1565. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/condition_variable +368 -0
  1566. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/coroutine +72 -0
  1567. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csetjmp +59 -0
  1568. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal +69 -0
  1569. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdalign +59 -0
  1570. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdarg +59 -0
  1571. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdbool +47 -0
  1572. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstddef +63 -0
  1573. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdint +198 -0
  1574. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio +179 -0
  1575. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdlib +159 -0
  1576. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstring +109 -0
  1577. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctgmath +46 -0
  1578. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctime +91 -0
  1579. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h +65 -0
  1580. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar +80 -0
  1581. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar +266 -0
  1582. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype +102 -0
  1583. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cxxabi.h +197 -0
  1584. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/deque +2664 -0
  1585. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h +403 -0
  1586. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/exception +102 -0
  1587. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/execution +163 -0
  1588. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/expected +60 -0
  1589. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/aligned_tag.h +75 -0
  1590. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/declaration.h +88 -0
  1591. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/reference.h +192 -0
  1592. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/scalar.h +102 -0
  1593. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/simd.h +155 -0
  1594. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/simd_mask.h +97 -0
  1595. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/traits.h +75 -0
  1596. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/utility.h +103 -0
  1597. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/__simd/vec_ext.h +130 -0
  1598. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/iterator +140 -0
  1599. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/memory +205 -0
  1600. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/propagate_const +497 -0
  1601. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/simd +96 -0
  1602. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/type_traits +161 -0
  1603. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/experimental/utility +54 -0
  1604. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ext/__hash +85 -0
  1605. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ext/hash_map +876 -0
  1606. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ext/hash_set +588 -0
  1607. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h +118 -0
  1608. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/filesystem +581 -0
  1609. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/flat_map +92 -0
  1610. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/flat_set +85 -0
  1611. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/float.h +99 -0
  1612. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/format +264 -0
  1613. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/forward_list +1642 -0
  1614. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fstream +1627 -0
  1615. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/functional +609 -0
  1616. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/future +2085 -0
  1617. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/initializer_list +107 -0
  1618. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h +268 -0
  1619. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/iomanip +576 -0
  1620. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ios +898 -0
  1621. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/iosfwd +191 -0
  1622. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/iostream +72 -0
  1623. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/istream +1421 -0
  1624. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/iterator +759 -0
  1625. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/latch +135 -0
  1626. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/libcxx.imp +939 -0
  1627. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/limits +528 -0
  1628. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/list +1851 -0
  1629. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/locale +226 -0
  1630. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/map +2071 -0
  1631. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h +515 -0
  1632. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/mdspan +474 -0
  1633. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory +1008 -0
  1634. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory_resource +81 -0
  1635. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/module.modulemap +2473 -0
  1636. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/mutex +514 -0
  1637. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/new +124 -0
  1638. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/numbers +169 -0
  1639. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/numeric +212 -0
  1640. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/optional +1323 -0
  1641. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ostream +215 -0
  1642. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/print +407 -0
  1643. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/queue +979 -0
  1644. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/random +1746 -0
  1645. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ranges +469 -0
  1646. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ratio +499 -0
  1647. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/regex +5846 -0
  1648. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/scoped_allocator +577 -0
  1649. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/semaphore +192 -0
  1650. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/set +1526 -0
  1651. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/shared_mutex +453 -0
  1652. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/source_location +90 -0
  1653. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/span +646 -0
  1654. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/sstream +1297 -0
  1655. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stack +389 -0
  1656. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdatomic.h +247 -0
  1657. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdbool.h +44 -0
  1658. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stddef.h +48 -0
  1659. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdexcept +292 -0
  1660. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdio.h +122 -0
  1661. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stdlib.h +135 -0
  1662. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/stop_token +61 -0
  1663. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/streambuf +405 -0
  1664. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string +4038 -0
  1665. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h +115 -0
  1666. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string_view +960 -0
  1667. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/strstream +363 -0
  1668. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/syncstream +523 -0
  1669. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/system_error +176 -0
  1670. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/tgmath.h +39 -0
  1671. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/thread +133 -0
  1672. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/tuple +1447 -0
  1673. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/type_traits +570 -0
  1674. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/typeindex +111 -0
  1675. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/typeinfo +396 -0
  1676. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h +60 -0
  1677. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/unordered_map +2484 -0
  1678. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/unordered_set +1853 -0
  1679. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/utility +318 -0
  1680. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/valarray +3373 -0
  1681. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/variant +1662 -0
  1682. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector +375 -0
  1683. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/version +619 -0
  1684. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h +207 -0
  1685. package/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h +94 -0
  1686. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/algorithm.inc +624 -0
  1687. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/any.inc +23 -0
  1688. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/array.inc +29 -0
  1689. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/atomic.inc +141 -0
  1690. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/barrier.inc +14 -0
  1691. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/bit.inc +38 -0
  1692. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/bitset.inc +23 -0
  1693. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cassert.inc +12 -0
  1694. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cctype.inc +25 -0
  1695. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cerrno.inc +12 -0
  1696. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cfenv.inc +30 -0
  1697. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cfloat.inc +12 -0
  1698. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/charconv.inc +34 -0
  1699. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/chrono.inc +302 -0
  1700. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cinttypes.inc +25 -0
  1701. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/climits.inc +12 -0
  1702. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/clocale.inc +17 -0
  1703. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cmath.inc +376 -0
  1704. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/codecvt.inc +20 -0
  1705. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/compare.inc +51 -0
  1706. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/complex.inc +78 -0
  1707. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/concepts.inc +96 -0
  1708. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/condition_variable.inc +22 -0
  1709. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/coroutine.inc +33 -0
  1710. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/csetjmp.inc +13 -0
  1711. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/csignal.inc +18 -0
  1712. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstdarg.inc +12 -0
  1713. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstddef.inc +31 -0
  1714. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstdint.inc +50 -0
  1715. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstdio.inc +60 -0
  1716. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstdlib.inc +71 -0
  1717. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cstring.inc +35 -0
  1718. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/ctime.inc +28 -0
  1719. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cuchar.inc +28 -0
  1720. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cwchar.inc +80 -0
  1721. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/cwctype.inc +35 -0
  1722. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/deque.inc +26 -0
  1723. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/exception.inc +28 -0
  1724. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/execution.inc +36 -0
  1725. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/expected.inc +25 -0
  1726. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/filesystem.inc +121 -0
  1727. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/flat_map.inc +31 -0
  1728. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/flat_set.inc +29 -0
  1729. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/format.inc +84 -0
  1730. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/forward_list.inc +26 -0
  1731. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/fstream.inc +44 -0
  1732. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/functional.inc +124 -0
  1733. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/future.inc +55 -0
  1734. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/generator.inc +14 -0
  1735. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/hazard_pointer.inc +23 -0
  1736. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/initializer_list.inc +16 -0
  1737. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/iomanip.inc +25 -0
  1738. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/ios.inc +76 -0
  1739. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/iosfwd.inc +40 -0
  1740. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/iostream.inc +24 -0
  1741. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/istream.inc +30 -0
  1742. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/iterator.inc +244 -0
  1743. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/latch.inc +14 -0
  1744. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/limits.inc +17 -0
  1745. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/list.inc +26 -0
  1746. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/locale.inc +81 -0
  1747. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/map.inc +29 -0
  1748. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/mdspan.inc +39 -0
  1749. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/memory.inc +215 -0
  1750. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/memory_resource.inc +30 -0
  1751. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/mutex.inc +44 -0
  1752. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/new.inc +44 -0
  1753. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/numbers.inc +38 -0
  1754. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/numeric.inc +71 -0
  1755. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/optional.inc +37 -0
  1756. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/ostream.inc +42 -0
  1757. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/print.inc +21 -0
  1758. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/queue.inc +27 -0
  1759. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/random.inc +115 -0
  1760. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/ranges.inc +365 -0
  1761. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/ratio.inc +58 -0
  1762. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/rcu.inc +22 -0
  1763. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/regex.inc +117 -0
  1764. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/scoped_allocator.inc +17 -0
  1765. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/semaphore.inc +17 -0
  1766. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/set.inc +29 -0
  1767. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/shared_mutex.inc +20 -0
  1768. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/source_location.inc +12 -0
  1769. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/span.inc +26 -0
  1770. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/spanstream.inc +42 -0
  1771. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/sstream.inc +42 -0
  1772. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/stack.inc +24 -0
  1773. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/stacktrace.inc +35 -0
  1774. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/stdexcept.inc +20 -0
  1775. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/stdfloat.inc +26 -0
  1776. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/stop_token.inc +25 -0
  1777. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/streambuf.inc +18 -0
  1778. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/string.inc +80 -0
  1779. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/string_view.inc +46 -0
  1780. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/strstream.inc +19 -0
  1781. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/syncstream.inc +28 -0
  1782. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/system_error.inc +42 -0
  1783. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/text_encoding.inc +19 -0
  1784. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/thread.inc +42 -0
  1785. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/tuple.inc +55 -0
  1786. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/type_traits.inc +341 -0
  1787. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/typeindex.inc +13 -0
  1788. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/typeinfo.inc +14 -0
  1789. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/unordered_map.inc +28 -0
  1790. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/unordered_set.inc +28 -0
  1791. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/utility.inc +99 -0
  1792. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/valarray.inc +68 -0
  1793. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/variant.inc +49 -0
  1794. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/vector.inc +34 -0
  1795. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std/version.inc +12 -0
  1796. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cassert.inc +12 -0
  1797. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cctype.inc +25 -0
  1798. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cerrno.inc +12 -0
  1799. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cfenv.inc +29 -0
  1800. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cfloat.inc +12 -0
  1801. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cinttypes.inc +25 -0
  1802. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/climits.inc +12 -0
  1803. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/clocale.inc +17 -0
  1804. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cmath.inc +268 -0
  1805. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/csetjmp.inc +13 -0
  1806. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/csignal.inc +17 -0
  1807. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstdarg.inc +10 -0
  1808. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstddef.inc +22 -0
  1809. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstdint.inc +50 -0
  1810. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstdio.inc +61 -0
  1811. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstdlib.inc +72 -0
  1812. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cstring.inc +36 -0
  1813. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/ctime.inc +28 -0
  1814. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cuchar.inc +28 -0
  1815. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cwchar.inc +80 -0
  1816. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat/cwctype.inc +35 -0
  1817. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.compat.cppm +108 -0
  1818. package/wasm32-unknown-wasip1/WASI.sdk/share/libc++/v1/std.cppm +280 -0
  1819. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Cxx.swiftmodule/wasm32-unknown-wasip1.private.swiftinterface +855 -0
  1820. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Cxx.swiftmodule/wasm32-unknown-wasip1.swiftinterface +855 -0
  1821. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Cxx.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  1822. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libcxxshim.h +4 -0
  1823. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libcxxshim.modulemap +9 -0
  1824. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libcxxstdlibshim.h +107 -0
@@ -0,0 +1,3733 @@
1
+ // -*- C++ -*-
2
+ //===----------------------------------------------------------------------===//
3
+ //
4
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
+ // See https://llvm.org/LICENSE.txt for license information.
6
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
+ //
8
+ //===----------------------------------------------------------------------===//
9
+
10
+ #ifndef _LIBCPP___CXX03_LOCALE
11
+ #define _LIBCPP___CXX03_LOCALE
12
+
13
+ /*
14
+ locale synopsis
15
+
16
+ namespace std
17
+ {
18
+
19
+ class locale
20
+ {
21
+ public:
22
+ // types:
23
+ class facet;
24
+ class id;
25
+
26
+ typedef int category;
27
+ static const category // values assigned here are for exposition only
28
+ none = 0x000,
29
+ collate = 0x010,
30
+ ctype = 0x020,
31
+ monetary = 0x040,
32
+ numeric = 0x080,
33
+ time = 0x100,
34
+ messages = 0x200,
35
+ all = collate | ctype | monetary | numeric | time | messages;
36
+
37
+ // construct/copy/destroy:
38
+ locale() noexcept;
39
+ locale(const locale& other) noexcept;
40
+ explicit locale(const char* std_name);
41
+ explicit locale(const string& std_name);
42
+ locale(const locale& other, const char* std_name, category);
43
+ locale(const locale& other, const string& std_name, category);
44
+ template <class Facet> locale(const locale& other, Facet* f);
45
+ locale(const locale& other, const locale& one, category);
46
+
47
+ ~locale(); // not virtual
48
+
49
+ const locale& operator=(const locale& other) noexcept;
50
+
51
+ template <class Facet> locale combine(const locale& other) const;
52
+
53
+ // locale operations:
54
+ basic_string<char> name() const;
55
+ bool operator==(const locale& other) const;
56
+ bool operator!=(const locale& other) const; // removed C++20
57
+ template <class charT, class Traits, class Allocator>
58
+ bool operator()(const basic_string<charT,Traits,Allocator>& s1,
59
+ const basic_string<charT,Traits,Allocator>& s2) const;
60
+
61
+ // global locale objects:
62
+ static locale global(const locale&);
63
+ static const locale& classic();
64
+ };
65
+
66
+ template <class Facet> const Facet& use_facet(const locale&);
67
+ template <class Facet> bool has_facet(const locale&) noexcept;
68
+
69
+ // 22.3.3, convenience interfaces:
70
+ template <class charT> bool isspace (charT c, const locale& loc);
71
+ template <class charT> bool isprint (charT c, const locale& loc);
72
+ template <class charT> bool iscntrl (charT c, const locale& loc);
73
+ template <class charT> bool isupper (charT c, const locale& loc);
74
+ template <class charT> bool islower (charT c, const locale& loc);
75
+ template <class charT> bool isalpha (charT c, const locale& loc);
76
+ template <class charT> bool isdigit (charT c, const locale& loc);
77
+ template <class charT> bool ispunct (charT c, const locale& loc);
78
+ template <class charT> bool isxdigit(charT c, const locale& loc);
79
+ template <class charT> bool isalnum (charT c, const locale& loc);
80
+ template <class charT> bool isgraph (charT c, const locale& loc);
81
+ template <class charT> charT toupper(charT c, const locale& loc);
82
+ template <class charT> charT tolower(charT c, const locale& loc);
83
+
84
+ template<class Codecvt, class Elem = wchar_t,
85
+ class Wide_alloc = allocator<Elem>,
86
+ class Byte_alloc = allocator<char>>
87
+ class wstring_convert // Removed in C++26
88
+ {
89
+ public:
90
+ typedef basic_string<char, char_traits<char>, Byte_alloc> byte_string;
91
+ typedef basic_string<Elem, char_traits<Elem>, Wide_alloc> wide_string;
92
+ typedef typename Codecvt::state_type state_type;
93
+ typedef typename wide_string::traits_type::int_type int_type;
94
+
95
+ wstring_convert(Codecvt* pcvt = new Codecvt); // before C++14
96
+ explicit wstring_convert(Codecvt* pcvt = new Codecvt); // before C++20
97
+ wstring_convert() : wstring_convert(new Codecvt) {} // C++20
98
+ explicit wstring_convert(Codecvt* pcvt); // C++20
99
+
100
+ wstring_convert(Codecvt* pcvt, state_type state);
101
+ explicit wstring_convert(const byte_string& byte_err, // explicit in C++14
102
+ const wide_string& wide_err = wide_string());
103
+ wstring_convert(const wstring_convert&) = delete; // C++14
104
+ wstring_convert & operator=(const wstring_convert &) = delete; // C++14
105
+ ~wstring_convert();
106
+
107
+ wide_string from_bytes(char byte);
108
+ wide_string from_bytes(const char* ptr);
109
+ wide_string from_bytes(const byte_string& str);
110
+ wide_string from_bytes(const char* first, const char* last);
111
+
112
+ byte_string to_bytes(Elem wchar);
113
+ byte_string to_bytes(const Elem* wptr);
114
+ byte_string to_bytes(const wide_string& wstr);
115
+ byte_string to_bytes(const Elem* first, const Elem* last);
116
+
117
+ size_t converted() const; // noexcept in C++14
118
+ state_type state() const;
119
+ };
120
+
121
+ template <class Codecvt, class Elem = wchar_t, class Tr = char_traits<Elem>>
122
+ class wbuffer_convert // Removed in C++26
123
+ : public basic_streambuf<Elem, Tr>
124
+ {
125
+ public:
126
+ typedef typename Tr::state_type state_type;
127
+
128
+ wbuffer_convert(streambuf* bytebuf = 0, Codecvt* pcvt = new Codecvt,
129
+ state_type state = state_type()); // before C++14
130
+ explicit wbuffer_convert(streambuf* bytebuf = nullptr, Codecvt* pcvt = new Codecvt,
131
+ state_type state = state_type()); // before C++20
132
+ wbuffer_convert() : wbuffer_convert(nullptr) {} // C++20
133
+ explicit wbuffer_convert(streambuf* bytebuf, Codecvt* pcvt = new Codecvt,
134
+ state_type state = state_type()); // C++20
135
+
136
+ wbuffer_convert(const wbuffer_convert&) = delete; // C++14
137
+ wbuffer_convert & operator=(const wbuffer_convert &) = delete; // C++14
138
+ ~wbuffer_convert(); // C++14
139
+
140
+ streambuf* rdbuf() const;
141
+ streambuf* rdbuf(streambuf* bytebuf);
142
+
143
+ state_type state() const;
144
+ };
145
+
146
+ // 22.4.1 and 22.4.1.3, ctype:
147
+ class ctype_base;
148
+ template <class charT> class ctype;
149
+ template <> class ctype<char>; // specialization
150
+ template <class charT> class ctype_byname;
151
+ template <> class ctype_byname<char>; // specialization
152
+
153
+ class codecvt_base;
154
+ template <class internT, class externT, class stateT> class codecvt;
155
+ template <class internT, class externT, class stateT> class codecvt_byname;
156
+
157
+ // 22.4.2 and 22.4.3, numeric:
158
+ template <class charT, class InputIterator> class num_get;
159
+ template <class charT, class OutputIterator> class num_put;
160
+ template <class charT> class numpunct;
161
+ template <class charT> class numpunct_byname;
162
+
163
+ // 22.4.4, col lation:
164
+ template <class charT> class collate;
165
+ template <class charT> class collate_byname;
166
+
167
+ // 22.4.5, date and time:
168
+ class time_base;
169
+ template <class charT, class InputIterator> class time_get;
170
+ template <class charT, class InputIterator> class time_get_byname;
171
+ template <class charT, class OutputIterator> class time_put;
172
+ template <class charT, class OutputIterator> class time_put_byname;
173
+
174
+ // 22.4.6, money:
175
+ class money_base;
176
+ template <class charT, class InputIterator> class money_get;
177
+ template <class charT, class OutputIterator> class money_put;
178
+ template <class charT, bool Intl> class moneypunct;
179
+ template <class charT, bool Intl> class moneypunct_byname;
180
+
181
+ // 22.4.7, message retrieval:
182
+ class messages_base;
183
+ template <class charT> class messages;
184
+ template <class charT> class messages_byname;
185
+
186
+ } // std
187
+
188
+ */
189
+
190
+ #include <__cxx03/__config>
191
+
192
+ #if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
193
+
194
+ # include <__cxx03/__algorithm/copy.h>
195
+ # include <__cxx03/__algorithm/equal.h>
196
+ # include <__cxx03/__algorithm/find.h>
197
+ # include <__cxx03/__algorithm/max.h>
198
+ # include <__cxx03/__algorithm/reverse.h>
199
+ # include <__cxx03/__algorithm/unwrap_iter.h>
200
+ # include <__cxx03/__assert>
201
+ # include <__cxx03/__iterator/access.h>
202
+ # include <__cxx03/__iterator/back_insert_iterator.h>
203
+ # include <__cxx03/__iterator/istreambuf_iterator.h>
204
+ # include <__cxx03/__iterator/ostreambuf_iterator.h>
205
+ # include <__cxx03/__locale>
206
+ # include <__cxx03/__memory/unique_ptr.h>
207
+ # include <__cxx03/__type_traits/make_unsigned.h>
208
+ # include <__cxx03/cerrno>
209
+ # include <__cxx03/cstdio>
210
+ # include <__cxx03/cstdlib>
211
+ # include <__cxx03/ctime>
212
+ # include <__cxx03/ios>
213
+ # include <__cxx03/limits>
214
+ # include <__cxx03/new>
215
+ # include <__cxx03/streambuf>
216
+ # include <__cxx03/version>
217
+
218
+ // TODO: Fix __bsd_locale_defaults.h
219
+ // NOLINTBEGIN(libcpp-robust-against-adl)
220
+
221
+ # if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
222
+ // Most unix variants have catopen. These are the specific ones that don't.
223
+ # if !defined(__BIONIC__) && !defined(_NEWLIB_VERSION) && !defined(__EMSCRIPTEN__)
224
+ # define _LIBCPP_HAS_CATOPEN 1
225
+ # include <nl_types.h>
226
+ # endif
227
+ # endif
228
+
229
+ # ifdef _LIBCPP_LOCALE__L_EXTENSIONS
230
+ # include <__cxx03/__locale_dir/locale_base_api/bsd_locale_defaults.h>
231
+ # else
232
+ # include <__cxx03/__locale_dir/locale_base_api/bsd_locale_fallbacks.h>
233
+ # endif
234
+
235
+ # if defined(__APPLE__) || defined(__FreeBSD__)
236
+ # include <__cxx03/xlocale.h>
237
+ # endif
238
+
239
+ # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
240
+ # pragma GCC system_header
241
+ # endif
242
+
243
+ _LIBCPP_PUSH_MACROS
244
+ # include <__cxx03/__undef_macros>
245
+
246
+ _LIBCPP_BEGIN_NAMESPACE_STD
247
+
248
+ # if defined(__APPLE__) || defined(__FreeBSD__)
249
+ # define _LIBCPP_GET_C_LOCALE 0
250
+ # elif defined(__NetBSD__)
251
+ # define _LIBCPP_GET_C_LOCALE LC_C_LOCALE
252
+ # else
253
+ # define _LIBCPP_GET_C_LOCALE __cloc()
254
+ // Get the C locale object
255
+ _LIBCPP_EXPORTED_FROM_ABI locale_t __cloc();
256
+ # define __cloc_defined
257
+ # endif
258
+
259
+ // __scan_keyword
260
+ // Scans [__b, __e) until a match is found in the basic_strings range
261
+ // [__kb, __ke) or until it can be shown that there is no match in [__kb, __ke).
262
+ // __b will be incremented (visibly), consuming CharT until a match is found
263
+ // or proved to not exist. A keyword may be "", in which will match anything.
264
+ // If one keyword is a prefix of another, and the next CharT in the input
265
+ // might match another keyword, the algorithm will attempt to find the longest
266
+ // matching keyword. If the longer matching keyword ends up not matching, then
267
+ // no keyword match is found. If no keyword match is found, __ke is returned
268
+ // and failbit is set in __err.
269
+ // Else an iterator pointing to the matching keyword is found. If more than
270
+ // one keyword matches, an iterator to the first matching keyword is returned.
271
+ // If on exit __b == __e, eofbit is set in __err. If __case_sensitive is false,
272
+ // __ct is used to force to lower case before comparing characters.
273
+ // Examples:
274
+ // Keywords: "a", "abb"
275
+ // If the input is "a", the first keyword matches and eofbit is set.
276
+ // If the input is "abc", no match is found and "ab" are consumed.
277
+ template <class _InputIterator, class _ForwardIterator, class _Ctype>
278
+ _LIBCPP_HIDE_FROM_ABI _ForwardIterator __scan_keyword(
279
+ _InputIterator& __b,
280
+ _InputIterator __e,
281
+ _ForwardIterator __kb,
282
+ _ForwardIterator __ke,
283
+ const _Ctype& __ct,
284
+ ios_base::iostate& __err,
285
+ bool __case_sensitive = true) {
286
+ typedef typename iterator_traits<_InputIterator>::value_type _CharT;
287
+ size_t __nkw = static_cast<size_t>(std::distance(__kb, __ke));
288
+ const unsigned char __doesnt_match = '\0';
289
+ const unsigned char __might_match = '\1';
290
+ const unsigned char __does_match = '\2';
291
+ unsigned char __statbuf[100];
292
+ unsigned char* __status = __statbuf;
293
+ unique_ptr<unsigned char, void (*)(void*)> __stat_hold(nullptr, free);
294
+ if (__nkw > sizeof(__statbuf)) {
295
+ __status = (unsigned char*)malloc(__nkw);
296
+ if (__status == nullptr)
297
+ __throw_bad_alloc();
298
+ __stat_hold.reset(__status);
299
+ }
300
+ size_t __n_might_match = __nkw; // At this point, any keyword might match
301
+ size_t __n_does_match = 0; // but none of them definitely do
302
+ // Initialize all statuses to __might_match, except for "" keywords are __does_match
303
+ unsigned char* __st = __status;
304
+ for (_ForwardIterator __ky = __kb; __ky != __ke; ++__ky, (void)++__st) {
305
+ if (!__ky->empty())
306
+ *__st = __might_match;
307
+ else {
308
+ *__st = __does_match;
309
+ --__n_might_match;
310
+ ++__n_does_match;
311
+ }
312
+ }
313
+ // While there might be a match, test keywords against the next CharT
314
+ for (size_t __indx = 0; __b != __e && __n_might_match > 0; ++__indx) {
315
+ // Peek at the next CharT but don't consume it
316
+ _CharT __c = *__b;
317
+ if (!__case_sensitive)
318
+ __c = __ct.toupper(__c);
319
+ bool __consume = false;
320
+ // For each keyword which might match, see if the __indx character is __c
321
+ // If a match if found, consume __c
322
+ // If a match is found, and that is the last character in the keyword,
323
+ // then that keyword matches.
324
+ // If the keyword doesn't match this character, then change the keyword
325
+ // to doesn't match
326
+ __st = __status;
327
+ for (_ForwardIterator __ky = __kb; __ky != __ke; ++__ky, (void)++__st) {
328
+ if (*__st == __might_match) {
329
+ _CharT __kc = (*__ky)[__indx];
330
+ if (!__case_sensitive)
331
+ __kc = __ct.toupper(__kc);
332
+ if (__c == __kc) {
333
+ __consume = true;
334
+ if (__ky->size() == __indx + 1) {
335
+ *__st = __does_match;
336
+ --__n_might_match;
337
+ ++__n_does_match;
338
+ }
339
+ } else {
340
+ *__st = __doesnt_match;
341
+ --__n_might_match;
342
+ }
343
+ }
344
+ }
345
+ // consume if we matched a character
346
+ if (__consume) {
347
+ ++__b;
348
+ // If we consumed a character and there might be a matched keyword that
349
+ // was marked matched on a previous iteration, then such keywords
350
+ // which are now marked as not matching.
351
+ if (__n_might_match + __n_does_match > 1) {
352
+ __st = __status;
353
+ for (_ForwardIterator __ky = __kb; __ky != __ke; ++__ky, (void)++__st) {
354
+ if (*__st == __does_match && __ky->size() != __indx + 1) {
355
+ *__st = __doesnt_match;
356
+ --__n_does_match;
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ // We've exited the loop because we hit eof and/or we have no more "might matches".
363
+ if (__b == __e)
364
+ __err |= ios_base::eofbit;
365
+ // Return the first matching result
366
+ for (__st = __status; __kb != __ke; ++__kb, (void)++__st)
367
+ if (*__st == __does_match)
368
+ break;
369
+ if (__kb == __ke)
370
+ __err |= ios_base::failbit;
371
+ return __kb;
372
+ }
373
+
374
+ struct _LIBCPP_EXPORTED_FROM_ABI __num_get_base {
375
+ static const int __num_get_buf_sz = 40;
376
+
377
+ static int __get_base(ios_base&);
378
+ static const char __src[33]; // "0123456789abcdefABCDEFxX+-pPiInN"
379
+ // count of leading characters in __src used for parsing integers ("012..X+-")
380
+ static const size_t __int_chr_cnt = 26;
381
+ // count of leading characters in __src used for parsing floating-point values ("012..-pP")
382
+ static const size_t __fp_chr_cnt = 28;
383
+ };
384
+
385
+ _LIBCPP_EXPORTED_FROM_ABI void
386
+ __check_grouping(const string& __grouping, unsigned* __g, unsigned* __g_end, ios_base::iostate& __err);
387
+
388
+ template <class _CharT>
389
+ struct __num_get : protected __num_get_base {
390
+ static string __stage2_float_prep(ios_base& __iob, _CharT* __atoms, _CharT& __decimal_point, _CharT& __thousands_sep);
391
+
392
+ static int __stage2_float_loop(
393
+ _CharT __ct,
394
+ bool& __in_units,
395
+ char& __exp,
396
+ char* __a,
397
+ char*& __a_end,
398
+ _CharT __decimal_point,
399
+ _CharT __thousands_sep,
400
+ const string& __grouping,
401
+ unsigned* __g,
402
+ unsigned*& __g_end,
403
+ unsigned& __dc,
404
+ _CharT* __atoms);
405
+ # ifndef _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
406
+ static string __stage2_int_prep(ios_base& __iob, _CharT* __atoms, _CharT& __thousands_sep);
407
+ static int __stage2_int_loop(
408
+ _CharT __ct,
409
+ int __base,
410
+ char* __a,
411
+ char*& __a_end,
412
+ unsigned& __dc,
413
+ _CharT __thousands_sep,
414
+ const string& __grouping,
415
+ unsigned* __g,
416
+ unsigned*& __g_end,
417
+ _CharT* __atoms);
418
+
419
+ # else
420
+ static string __stage2_int_prep(ios_base& __iob, _CharT& __thousands_sep) {
421
+ locale __loc = __iob.getloc();
422
+ const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc);
423
+ __thousands_sep = __np.thousands_sep();
424
+ return __np.grouping();
425
+ }
426
+
427
+ const _CharT* __do_widen(ios_base& __iob, _CharT* __atoms) const { return __do_widen_p(__iob, __atoms); }
428
+
429
+ static int __stage2_int_loop(
430
+ _CharT __ct,
431
+ int __base,
432
+ char* __a,
433
+ char*& __a_end,
434
+ unsigned& __dc,
435
+ _CharT __thousands_sep,
436
+ const string& __grouping,
437
+ unsigned* __g,
438
+ unsigned*& __g_end,
439
+ const _CharT* __atoms);
440
+
441
+ private:
442
+ template <typename _Tp>
443
+ const _Tp* __do_widen_p(ios_base& __iob, _Tp* __atoms) const {
444
+ locale __loc = __iob.getloc();
445
+ use_facet<ctype<_Tp> >(__loc).widen(__src, __src + __int_chr_cnt, __atoms);
446
+ return __atoms;
447
+ }
448
+
449
+ const char* __do_widen_p(ios_base& __iob, char* __atoms) const {
450
+ (void)__iob;
451
+ (void)__atoms;
452
+ return __src;
453
+ }
454
+ # endif
455
+ };
456
+
457
+ # ifndef _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
458
+ template <class _CharT>
459
+ string __num_get<_CharT>::__stage2_int_prep(ios_base& __iob, _CharT* __atoms, _CharT& __thousands_sep) {
460
+ locale __loc = __iob.getloc();
461
+ std::use_facet<ctype<_CharT> >(__loc).widen(__src, __src + __int_chr_cnt, __atoms);
462
+ const numpunct<_CharT>& __np = std::use_facet<numpunct<_CharT> >(__loc);
463
+ __thousands_sep = __np.thousands_sep();
464
+ return __np.grouping();
465
+ }
466
+ # endif
467
+
468
+ template <class _CharT>
469
+ string __num_get<_CharT>::__stage2_float_prep(
470
+ ios_base& __iob, _CharT* __atoms, _CharT& __decimal_point, _CharT& __thousands_sep) {
471
+ locale __loc = __iob.getloc();
472
+ std::use_facet<ctype<_CharT> >(__loc).widen(__src, __src + __fp_chr_cnt, __atoms);
473
+ const numpunct<_CharT>& __np = std::use_facet<numpunct<_CharT> >(__loc);
474
+ __decimal_point = __np.decimal_point();
475
+ __thousands_sep = __np.thousands_sep();
476
+ return __np.grouping();
477
+ }
478
+
479
+ template <class _CharT>
480
+ int
481
+ # ifndef _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
482
+ __num_get<_CharT>::__stage2_int_loop(_CharT __ct, int __base, char* __a, char*& __a_end,
483
+ unsigned& __dc, _CharT __thousands_sep, const string& __grouping,
484
+ unsigned* __g, unsigned*& __g_end, _CharT* __atoms)
485
+ # else
486
+ __num_get<_CharT>::__stage2_int_loop(_CharT __ct, int __base, char* __a, char*& __a_end,
487
+ unsigned& __dc, _CharT __thousands_sep, const string& __grouping,
488
+ unsigned* __g, unsigned*& __g_end, const _CharT* __atoms)
489
+
490
+ # endif
491
+ {
492
+ if (__a_end == __a && (__ct == __atoms[24] || __ct == __atoms[25])) {
493
+ *__a_end++ = __ct == __atoms[24] ? '+' : '-';
494
+ __dc = 0;
495
+ return 0;
496
+ }
497
+ if (__grouping.size() != 0 && __ct == __thousands_sep) {
498
+ if (__g_end - __g < __num_get_buf_sz) {
499
+ *__g_end++ = __dc;
500
+ __dc = 0;
501
+ }
502
+ return 0;
503
+ }
504
+ ptrdiff_t __f = std::find(__atoms, __atoms + __int_chr_cnt, __ct) - __atoms;
505
+ if (__f >= 24)
506
+ return -1;
507
+ switch (__base) {
508
+ case 8:
509
+ case 10:
510
+ if (__f >= __base)
511
+ return -1;
512
+ break;
513
+ case 16:
514
+ if (__f < 22)
515
+ break;
516
+ if (__a_end != __a && __a_end - __a <= 2 && __a_end[-1] == '0') {
517
+ __dc = 0;
518
+ *__a_end++ = __src[__f];
519
+ return 0;
520
+ }
521
+ return -1;
522
+ }
523
+ *__a_end++ = __src[__f];
524
+ ++__dc;
525
+ return 0;
526
+ }
527
+
528
+ template <class _CharT>
529
+ int __num_get<_CharT>::__stage2_float_loop(
530
+ _CharT __ct,
531
+ bool& __in_units,
532
+ char& __exp,
533
+ char* __a,
534
+ char*& __a_end,
535
+ _CharT __decimal_point,
536
+ _CharT __thousands_sep,
537
+ const string& __grouping,
538
+ unsigned* __g,
539
+ unsigned*& __g_end,
540
+ unsigned& __dc,
541
+ _CharT* __atoms) {
542
+ if (__ct == __decimal_point) {
543
+ if (!__in_units)
544
+ return -1;
545
+ __in_units = false;
546
+ *__a_end++ = '.';
547
+ if (__grouping.size() != 0 && __g_end - __g < __num_get_buf_sz)
548
+ *__g_end++ = __dc;
549
+ return 0;
550
+ }
551
+ if (__ct == __thousands_sep && __grouping.size() != 0) {
552
+ if (!__in_units)
553
+ return -1;
554
+ if (__g_end - __g < __num_get_buf_sz) {
555
+ *__g_end++ = __dc;
556
+ __dc = 0;
557
+ }
558
+ return 0;
559
+ }
560
+ ptrdiff_t __f = std::find(__atoms, __atoms + __num_get_base::__fp_chr_cnt, __ct) - __atoms;
561
+ if (__f >= static_cast<ptrdiff_t>(__num_get_base::__fp_chr_cnt))
562
+ return -1;
563
+ char __x = __src[__f];
564
+ if (__x == '-' || __x == '+') {
565
+ if (__a_end == __a || (std::toupper(__a_end[-1]) == std::toupper(__exp))) {
566
+ *__a_end++ = __x;
567
+ return 0;
568
+ }
569
+ return -1;
570
+ }
571
+ if (__x == 'x' || __x == 'X')
572
+ __exp = 'P';
573
+ else if (std::toupper(__x) == __exp) {
574
+ __exp = std::tolower(__exp);
575
+ if (__in_units) {
576
+ __in_units = false;
577
+ if (__grouping.size() != 0 && __g_end - __g < __num_get_buf_sz)
578
+ *__g_end++ = __dc;
579
+ }
580
+ }
581
+ *__a_end++ = __x;
582
+ if (__f >= 22)
583
+ return 0;
584
+ ++__dc;
585
+ return 0;
586
+ }
587
+
588
+ extern template struct _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __num_get<char>;
589
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
590
+ extern template struct _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __num_get<wchar_t>;
591
+ # endif
592
+
593
+ template <class _CharT, class _InputIterator = istreambuf_iterator<_CharT> >
594
+ class _LIBCPP_TEMPLATE_VIS num_get : public locale::facet, private __num_get<_CharT> {
595
+ public:
596
+ typedef _CharT char_type;
597
+ typedef _InputIterator iter_type;
598
+
599
+ _LIBCPP_HIDE_FROM_ABI explicit num_get(size_t __refs = 0) : locale::facet(__refs) {}
600
+
601
+ _LIBCPP_HIDE_FROM_ABI iter_type
602
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, bool& __v) const {
603
+ return do_get(__b, __e, __iob, __err, __v);
604
+ }
605
+
606
+ _LIBCPP_HIDE_FROM_ABI iter_type
607
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long& __v) const {
608
+ return do_get(__b, __e, __iob, __err, __v);
609
+ }
610
+
611
+ _LIBCPP_HIDE_FROM_ABI iter_type
612
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long long& __v) const {
613
+ return do_get(__b, __e, __iob, __err, __v);
614
+ }
615
+
616
+ _LIBCPP_HIDE_FROM_ABI iter_type
617
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned short& __v) const {
618
+ return do_get(__b, __e, __iob, __err, __v);
619
+ }
620
+
621
+ _LIBCPP_HIDE_FROM_ABI iter_type
622
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned int& __v) const {
623
+ return do_get(__b, __e, __iob, __err, __v);
624
+ }
625
+
626
+ _LIBCPP_HIDE_FROM_ABI iter_type
627
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned long& __v) const {
628
+ return do_get(__b, __e, __iob, __err, __v);
629
+ }
630
+
631
+ _LIBCPP_HIDE_FROM_ABI iter_type
632
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned long long& __v) const {
633
+ return do_get(__b, __e, __iob, __err, __v);
634
+ }
635
+
636
+ _LIBCPP_HIDE_FROM_ABI iter_type
637
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, float& __v) const {
638
+ return do_get(__b, __e, __iob, __err, __v);
639
+ }
640
+
641
+ _LIBCPP_HIDE_FROM_ABI iter_type
642
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, double& __v) const {
643
+ return do_get(__b, __e, __iob, __err, __v);
644
+ }
645
+
646
+ _LIBCPP_HIDE_FROM_ABI iter_type
647
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long double& __v) const {
648
+ return do_get(__b, __e, __iob, __err, __v);
649
+ }
650
+
651
+ _LIBCPP_HIDE_FROM_ABI iter_type
652
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, void*& __v) const {
653
+ return do_get(__b, __e, __iob, __err, __v);
654
+ }
655
+
656
+ static locale::id id;
657
+
658
+ protected:
659
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~num_get() override {}
660
+
661
+ template <class _Fp>
662
+ _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS iter_type
663
+ __do_get_floating_point(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Fp& __v) const;
664
+
665
+ template <class _Signed>
666
+ _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS iter_type
667
+ __do_get_signed(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Signed& __v) const;
668
+
669
+ template <class _Unsigned>
670
+ _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS iter_type
671
+ __do_get_unsigned(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Unsigned& __v) const;
672
+
673
+ virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, bool& __v) const;
674
+
675
+ virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long& __v) const {
676
+ return this->__do_get_signed(__b, __e, __iob, __err, __v);
677
+ }
678
+
679
+ virtual iter_type
680
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long long& __v) const {
681
+ return this->__do_get_signed(__b, __e, __iob, __err, __v);
682
+ }
683
+
684
+ virtual iter_type
685
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned short& __v) const {
686
+ return this->__do_get_unsigned(__b, __e, __iob, __err, __v);
687
+ }
688
+
689
+ virtual iter_type
690
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned int& __v) const {
691
+ return this->__do_get_unsigned(__b, __e, __iob, __err, __v);
692
+ }
693
+
694
+ virtual iter_type
695
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned long& __v) const {
696
+ return this->__do_get_unsigned(__b, __e, __iob, __err, __v);
697
+ }
698
+
699
+ virtual iter_type
700
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, unsigned long long& __v) const {
701
+ return this->__do_get_unsigned(__b, __e, __iob, __err, __v);
702
+ }
703
+
704
+ virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, float& __v) const {
705
+ return this->__do_get_floating_point(__b, __e, __iob, __err, __v);
706
+ }
707
+
708
+ virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, double& __v) const {
709
+ return this->__do_get_floating_point(__b, __e, __iob, __err, __v);
710
+ }
711
+
712
+ virtual iter_type
713
+ do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, long double& __v) const {
714
+ return this->__do_get_floating_point(__b, __e, __iob, __err, __v);
715
+ }
716
+
717
+ virtual iter_type do_get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, void*& __v) const;
718
+ };
719
+
720
+ template <class _CharT, class _InputIterator>
721
+ locale::id num_get<_CharT, _InputIterator>::id;
722
+
723
+ template <class _Tp>
724
+ _LIBCPP_HIDE_FROM_ABI _Tp
725
+ __num_get_signed_integral(const char* __a, const char* __a_end, ios_base::iostate& __err, int __base) {
726
+ if (__a != __a_end) {
727
+ __libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
728
+ errno = 0;
729
+ char* __p2;
730
+ long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
731
+ __libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
732
+ if (__current_errno == 0)
733
+ errno = __save_errno;
734
+ if (__p2 != __a_end) {
735
+ __err = ios_base::failbit;
736
+ return 0;
737
+ } else if (__current_errno == ERANGE || __ll < numeric_limits<_Tp>::min() || numeric_limits<_Tp>::max() < __ll) {
738
+ __err = ios_base::failbit;
739
+ if (__ll > 0)
740
+ return numeric_limits<_Tp>::max();
741
+ else
742
+ return numeric_limits<_Tp>::min();
743
+ }
744
+ return static_cast<_Tp>(__ll);
745
+ }
746
+ __err = ios_base::failbit;
747
+ return 0;
748
+ }
749
+
750
+ template <class _Tp>
751
+ _LIBCPP_HIDE_FROM_ABI _Tp
752
+ __num_get_unsigned_integral(const char* __a, const char* __a_end, ios_base::iostate& __err, int __base) {
753
+ if (__a != __a_end) {
754
+ const bool __negate = *__a == '-';
755
+ if (__negate && ++__a == __a_end) {
756
+ __err = ios_base::failbit;
757
+ return 0;
758
+ }
759
+ __libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
760
+ errno = 0;
761
+ char* __p2;
762
+ unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
763
+ __libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
764
+ if (__current_errno == 0)
765
+ errno = __save_errno;
766
+ if (__p2 != __a_end) {
767
+ __err = ios_base::failbit;
768
+ return 0;
769
+ } else if (__current_errno == ERANGE || numeric_limits<_Tp>::max() < __ll) {
770
+ __err = ios_base::failbit;
771
+ return numeric_limits<_Tp>::max();
772
+ }
773
+ _Tp __res = static_cast<_Tp>(__ll);
774
+ if (__negate)
775
+ __res = -__res;
776
+ return __res;
777
+ }
778
+ __err = ios_base::failbit;
779
+ return 0;
780
+ }
781
+
782
+ template <class _Tp>
783
+ _LIBCPP_HIDE_FROM_ABI _Tp __do_strtod(const char* __a, char** __p2);
784
+
785
+ template <>
786
+ inline _LIBCPP_HIDE_FROM_ABI float __do_strtod<float>(const char* __a, char** __p2) {
787
+ return strtof_l(__a, __p2, _LIBCPP_GET_C_LOCALE);
788
+ }
789
+
790
+ template <>
791
+ inline _LIBCPP_HIDE_FROM_ABI double __do_strtod<double>(const char* __a, char** __p2) {
792
+ return strtod_l(__a, __p2, _LIBCPP_GET_C_LOCALE);
793
+ }
794
+
795
+ template <>
796
+ inline _LIBCPP_HIDE_FROM_ABI long double __do_strtod<long double>(const char* __a, char** __p2) {
797
+ return strtold_l(__a, __p2, _LIBCPP_GET_C_LOCALE);
798
+ }
799
+
800
+ template <class _Tp>
801
+ _LIBCPP_HIDE_FROM_ABI _Tp __num_get_float(const char* __a, const char* __a_end, ios_base::iostate& __err) {
802
+ if (__a != __a_end) {
803
+ __libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
804
+ errno = 0;
805
+ char* __p2;
806
+ _Tp __ld = std::__do_strtod<_Tp>(__a, &__p2);
807
+ __libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
808
+ if (__current_errno == 0)
809
+ errno = __save_errno;
810
+ if (__p2 != __a_end) {
811
+ __err = ios_base::failbit;
812
+ return 0;
813
+ } else if (__current_errno == ERANGE)
814
+ __err = ios_base::failbit;
815
+ return __ld;
816
+ }
817
+ __err = ios_base::failbit;
818
+ return 0;
819
+ }
820
+
821
+ template <class _CharT, class _InputIterator>
822
+ _InputIterator num_get<_CharT, _InputIterator>::do_get(
823
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, bool& __v) const {
824
+ if ((__iob.flags() & ios_base::boolalpha) == 0) {
825
+ long __lv = -1;
826
+ __b = do_get(__b, __e, __iob, __err, __lv);
827
+ switch (__lv) {
828
+ case 0:
829
+ __v = false;
830
+ break;
831
+ case 1:
832
+ __v = true;
833
+ break;
834
+ default:
835
+ __v = true;
836
+ __err = ios_base::failbit;
837
+ break;
838
+ }
839
+ return __b;
840
+ }
841
+ const ctype<_CharT>& __ct = std::use_facet<ctype<_CharT> >(__iob.getloc());
842
+ const numpunct<_CharT>& __np = std::use_facet<numpunct<_CharT> >(__iob.getloc());
843
+ typedef typename numpunct<_CharT>::string_type string_type;
844
+ const string_type __names[2] = {__np.truename(), __np.falsename()};
845
+ const string_type* __i = std::__scan_keyword(__b, __e, __names, __names + 2, __ct, __err);
846
+ __v = __i == __names;
847
+ return __b;
848
+ }
849
+
850
+ // signed
851
+
852
+ template <class _CharT, class _InputIterator>
853
+ template <class _Signed>
854
+ _InputIterator num_get<_CharT, _InputIterator>::__do_get_signed(
855
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Signed& __v) const {
856
+ // Stage 1
857
+ int __base = this->__get_base(__iob);
858
+ // Stage 2
859
+ char_type __thousands_sep;
860
+ const int __atoms_size = __num_get_base::__int_chr_cnt;
861
+ # ifdef _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
862
+ char_type __atoms1[__atoms_size];
863
+ const char_type* __atoms = this->__do_widen(__iob, __atoms1);
864
+ string __grouping = this->__stage2_int_prep(__iob, __thousands_sep);
865
+ # else
866
+ char_type __atoms[__atoms_size];
867
+ string __grouping = this->__stage2_int_prep(__iob, __atoms, __thousands_sep);
868
+ # endif
869
+ string __buf;
870
+ __buf.resize(__buf.capacity());
871
+ char* __a = &__buf[0];
872
+ char* __a_end = __a;
873
+ unsigned __g[__num_get_base::__num_get_buf_sz];
874
+ unsigned* __g_end = __g;
875
+ unsigned __dc = 0;
876
+ for (; __b != __e; ++__b) {
877
+ if (__a_end == __a + __buf.size()) {
878
+ size_t __tmp = __buf.size();
879
+ __buf.resize(2 * __buf.size());
880
+ __buf.resize(__buf.capacity());
881
+ __a = &__buf[0];
882
+ __a_end = __a + __tmp;
883
+ }
884
+ if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc, __thousands_sep, __grouping, __g, __g_end, __atoms))
885
+ break;
886
+ }
887
+ if (__grouping.size() != 0 && __g_end - __g < __num_get_base::__num_get_buf_sz)
888
+ *__g_end++ = __dc;
889
+ // Stage 3
890
+ __v = std::__num_get_signed_integral<_Signed>(__a, __a_end, __err, __base);
891
+ // Digit grouping checked
892
+ __check_grouping(__grouping, __g, __g_end, __err);
893
+ // EOF checked
894
+ if (__b == __e)
895
+ __err |= ios_base::eofbit;
896
+ return __b;
897
+ }
898
+
899
+ // unsigned
900
+
901
+ template <class _CharT, class _InputIterator>
902
+ template <class _Unsigned>
903
+ _InputIterator num_get<_CharT, _InputIterator>::__do_get_unsigned(
904
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Unsigned& __v) const {
905
+ // Stage 1
906
+ int __base = this->__get_base(__iob);
907
+ // Stage 2
908
+ char_type __thousands_sep;
909
+ const int __atoms_size = __num_get_base::__int_chr_cnt;
910
+ # ifdef _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
911
+ char_type __atoms1[__atoms_size];
912
+ const char_type* __atoms = this->__do_widen(__iob, __atoms1);
913
+ string __grouping = this->__stage2_int_prep(__iob, __thousands_sep);
914
+ # else
915
+ char_type __atoms[__atoms_size];
916
+ string __grouping = this->__stage2_int_prep(__iob, __atoms, __thousands_sep);
917
+ # endif
918
+ string __buf;
919
+ __buf.resize(__buf.capacity());
920
+ char* __a = &__buf[0];
921
+ char* __a_end = __a;
922
+ unsigned __g[__num_get_base::__num_get_buf_sz];
923
+ unsigned* __g_end = __g;
924
+ unsigned __dc = 0;
925
+ for (; __b != __e; ++__b) {
926
+ if (__a_end == __a + __buf.size()) {
927
+ size_t __tmp = __buf.size();
928
+ __buf.resize(2 * __buf.size());
929
+ __buf.resize(__buf.capacity());
930
+ __a = &__buf[0];
931
+ __a_end = __a + __tmp;
932
+ }
933
+ if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc, __thousands_sep, __grouping, __g, __g_end, __atoms))
934
+ break;
935
+ }
936
+ if (__grouping.size() != 0 && __g_end - __g < __num_get_base::__num_get_buf_sz)
937
+ *__g_end++ = __dc;
938
+ // Stage 3
939
+ __v = std::__num_get_unsigned_integral<_Unsigned>(__a, __a_end, __err, __base);
940
+ // Digit grouping checked
941
+ __check_grouping(__grouping, __g, __g_end, __err);
942
+ // EOF checked
943
+ if (__b == __e)
944
+ __err |= ios_base::eofbit;
945
+ return __b;
946
+ }
947
+
948
+ // floating point
949
+
950
+ template <class _CharT, class _InputIterator>
951
+ template <class _Fp>
952
+ _InputIterator num_get<_CharT, _InputIterator>::__do_get_floating_point(
953
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, _Fp& __v) const {
954
+ // Stage 1, nothing to do
955
+ // Stage 2
956
+ char_type __atoms[__num_get_base::__fp_chr_cnt];
957
+ char_type __decimal_point;
958
+ char_type __thousands_sep;
959
+ string __grouping = this->__stage2_float_prep(__iob, __atoms, __decimal_point, __thousands_sep);
960
+ string __buf;
961
+ __buf.resize(__buf.capacity());
962
+ char* __a = &__buf[0];
963
+ char* __a_end = __a;
964
+ unsigned __g[__num_get_base::__num_get_buf_sz];
965
+ unsigned* __g_end = __g;
966
+ unsigned __dc = 0;
967
+ bool __in_units = true;
968
+ char __exp = 'E';
969
+ bool __is_leading_parsed = false;
970
+ for (; __b != __e; ++__b) {
971
+ if (__a_end == __a + __buf.size()) {
972
+ size_t __tmp = __buf.size();
973
+ __buf.resize(2 * __buf.size());
974
+ __buf.resize(__buf.capacity());
975
+ __a = &__buf[0];
976
+ __a_end = __a + __tmp;
977
+ }
978
+ if (this->__stage2_float_loop(
979
+ *__b,
980
+ __in_units,
981
+ __exp,
982
+ __a,
983
+ __a_end,
984
+ __decimal_point,
985
+ __thousands_sep,
986
+ __grouping,
987
+ __g,
988
+ __g_end,
989
+ __dc,
990
+ __atoms))
991
+ break;
992
+
993
+ // the leading character excluding the sign must be a decimal digit
994
+ if (!__is_leading_parsed) {
995
+ if (__a_end - __a >= 1 && __a[0] != '-' && __a[0] != '+') {
996
+ if (('0' <= __a[0] && __a[0] <= '9') || __a[0] == '.')
997
+ __is_leading_parsed = true;
998
+ else
999
+ break;
1000
+ } else if (__a_end - __a >= 2 && (__a[0] == '-' || __a[0] == '+')) {
1001
+ if (('0' <= __a[1] && __a[1] <= '9') || __a[1] == '.')
1002
+ __is_leading_parsed = true;
1003
+ else
1004
+ break;
1005
+ }
1006
+ }
1007
+ }
1008
+ if (__grouping.size() != 0 && __in_units && __g_end - __g < __num_get_base::__num_get_buf_sz)
1009
+ *__g_end++ = __dc;
1010
+ // Stage 3
1011
+ __v = std::__num_get_float<_Fp>(__a, __a_end, __err);
1012
+ // Digit grouping checked
1013
+ __check_grouping(__grouping, __g, __g_end, __err);
1014
+ // EOF checked
1015
+ if (__b == __e)
1016
+ __err |= ios_base::eofbit;
1017
+ return __b;
1018
+ }
1019
+
1020
+ template <class _CharT, class _InputIterator>
1021
+ _InputIterator num_get<_CharT, _InputIterator>::do_get(
1022
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, void*& __v) const {
1023
+ // Stage 1
1024
+ int __base = 16;
1025
+ // Stage 2
1026
+ char_type __atoms[__num_get_base::__int_chr_cnt];
1027
+ char_type __thousands_sep = char_type();
1028
+ string __grouping;
1029
+ std::use_facet<ctype<_CharT> >(__iob.getloc())
1030
+ .widen(__num_get_base::__src, __num_get_base::__src + __num_get_base::__int_chr_cnt, __atoms);
1031
+ string __buf;
1032
+ __buf.resize(__buf.capacity());
1033
+ char* __a = &__buf[0];
1034
+ char* __a_end = __a;
1035
+ unsigned __g[__num_get_base::__num_get_buf_sz];
1036
+ unsigned* __g_end = __g;
1037
+ unsigned __dc = 0;
1038
+ for (; __b != __e; ++__b) {
1039
+ if (__a_end == __a + __buf.size()) {
1040
+ size_t __tmp = __buf.size();
1041
+ __buf.resize(2 * __buf.size());
1042
+ __buf.resize(__buf.capacity());
1043
+ __a = &__buf[0];
1044
+ __a_end = __a + __tmp;
1045
+ }
1046
+ if (this->__stage2_int_loop(*__b, __base, __a, __a_end, __dc, __thousands_sep, __grouping, __g, __g_end, __atoms))
1047
+ break;
1048
+ }
1049
+ // Stage 3
1050
+ __buf.resize(__a_end - __a);
1051
+ if (__libcpp_sscanf_l(__buf.c_str(), _LIBCPP_GET_C_LOCALE, "%p", &__v) != 1)
1052
+ __err = ios_base::failbit;
1053
+ // EOF checked
1054
+ if (__b == __e)
1055
+ __err |= ios_base::eofbit;
1056
+ return __b;
1057
+ }
1058
+
1059
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS num_get<char>;
1060
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
1061
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS num_get<wchar_t>;
1062
+ # endif
1063
+
1064
+ struct _LIBCPP_EXPORTED_FROM_ABI __num_put_base {
1065
+ protected:
1066
+ static void __format_int(char* __fmt, const char* __len, bool __signd, ios_base::fmtflags __flags);
1067
+ static bool __format_float(char* __fmt, const char* __len, ios_base::fmtflags __flags);
1068
+ static char* __identify_padding(char* __nb, char* __ne, const ios_base& __iob);
1069
+ };
1070
+
1071
+ template <class _CharT>
1072
+ struct __num_put : protected __num_put_base {
1073
+ static void __widen_and_group_int(
1074
+ char* __nb, char* __np, char* __ne, _CharT* __ob, _CharT*& __op, _CharT*& __oe, const locale& __loc);
1075
+ static void __widen_and_group_float(
1076
+ char* __nb, char* __np, char* __ne, _CharT* __ob, _CharT*& __op, _CharT*& __oe, const locale& __loc);
1077
+ };
1078
+
1079
+ template <class _CharT>
1080
+ void __num_put<_CharT>::__widen_and_group_int(
1081
+ char* __nb, char* __np, char* __ne, _CharT* __ob, _CharT*& __op, _CharT*& __oe, const locale& __loc) {
1082
+ const ctype<_CharT>& __ct = std::use_facet<ctype<_CharT> >(__loc);
1083
+ const numpunct<_CharT>& __npt = std::use_facet<numpunct<_CharT> >(__loc);
1084
+ string __grouping = __npt.grouping();
1085
+ if (__grouping.empty()) {
1086
+ __ct.widen(__nb, __ne, __ob);
1087
+ __oe = __ob + (__ne - __nb);
1088
+ } else {
1089
+ __oe = __ob;
1090
+ char* __nf = __nb;
1091
+ if (*__nf == '-' || *__nf == '+')
1092
+ *__oe++ = __ct.widen(*__nf++);
1093
+ if (__ne - __nf >= 2 && __nf[0] == '0' && (__nf[1] == 'x' || __nf[1] == 'X')) {
1094
+ *__oe++ = __ct.widen(*__nf++);
1095
+ *__oe++ = __ct.widen(*__nf++);
1096
+ }
1097
+ std::reverse(__nf, __ne);
1098
+ _CharT __thousands_sep = __npt.thousands_sep();
1099
+ unsigned __dc = 0;
1100
+ unsigned __dg = 0;
1101
+ for (char* __p = __nf; __p < __ne; ++__p) {
1102
+ if (static_cast<unsigned>(__grouping[__dg]) > 0 && __dc == static_cast<unsigned>(__grouping[__dg])) {
1103
+ *__oe++ = __thousands_sep;
1104
+ __dc = 0;
1105
+ if (__dg < __grouping.size() - 1)
1106
+ ++__dg;
1107
+ }
1108
+ *__oe++ = __ct.widen(*__p);
1109
+ ++__dc;
1110
+ }
1111
+ std::reverse(__ob + (__nf - __nb), __oe);
1112
+ }
1113
+ if (__np == __ne)
1114
+ __op = __oe;
1115
+ else
1116
+ __op = __ob + (__np - __nb);
1117
+ }
1118
+
1119
+ template <class _CharT>
1120
+ void __num_put<_CharT>::__widen_and_group_float(
1121
+ char* __nb, char* __np, char* __ne, _CharT* __ob, _CharT*& __op, _CharT*& __oe, const locale& __loc) {
1122
+ const ctype<_CharT>& __ct = std::use_facet<ctype<_CharT> >(__loc);
1123
+ const numpunct<_CharT>& __npt = std::use_facet<numpunct<_CharT> >(__loc);
1124
+ string __grouping = __npt.grouping();
1125
+ __oe = __ob;
1126
+ char* __nf = __nb;
1127
+ if (*__nf == '-' || *__nf == '+')
1128
+ *__oe++ = __ct.widen(*__nf++);
1129
+ char* __ns;
1130
+ if (__ne - __nf >= 2 && __nf[0] == '0' && (__nf[1] == 'x' || __nf[1] == 'X')) {
1131
+ *__oe++ = __ct.widen(*__nf++);
1132
+ *__oe++ = __ct.widen(*__nf++);
1133
+ for (__ns = __nf; __ns < __ne; ++__ns)
1134
+ if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
1135
+ break;
1136
+ } else {
1137
+ for (__ns = __nf; __ns < __ne; ++__ns)
1138
+ if (!isdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
1139
+ break;
1140
+ }
1141
+ if (__grouping.empty()) {
1142
+ __ct.widen(__nf, __ns, __oe);
1143
+ __oe += __ns - __nf;
1144
+ } else {
1145
+ std::reverse(__nf, __ns);
1146
+ _CharT __thousands_sep = __npt.thousands_sep();
1147
+ unsigned __dc = 0;
1148
+ unsigned __dg = 0;
1149
+ for (char* __p = __nf; __p < __ns; ++__p) {
1150
+ if (__grouping[__dg] > 0 && __dc == static_cast<unsigned>(__grouping[__dg])) {
1151
+ *__oe++ = __thousands_sep;
1152
+ __dc = 0;
1153
+ if (__dg < __grouping.size() - 1)
1154
+ ++__dg;
1155
+ }
1156
+ *__oe++ = __ct.widen(*__p);
1157
+ ++__dc;
1158
+ }
1159
+ std::reverse(__ob + (__nf - __nb), __oe);
1160
+ }
1161
+ for (__nf = __ns; __nf < __ne; ++__nf) {
1162
+ if (*__nf == '.') {
1163
+ *__oe++ = __npt.decimal_point();
1164
+ ++__nf;
1165
+ break;
1166
+ } else
1167
+ *__oe++ = __ct.widen(*__nf);
1168
+ }
1169
+ __ct.widen(__nf, __ne, __oe);
1170
+ __oe += __ne - __nf;
1171
+ if (__np == __ne)
1172
+ __op = __oe;
1173
+ else
1174
+ __op = __ob + (__np - __nb);
1175
+ }
1176
+
1177
+ extern template struct _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __num_put<char>;
1178
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
1179
+ extern template struct _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __num_put<wchar_t>;
1180
+ # endif
1181
+
1182
+ template <class _CharT, class _OutputIterator = ostreambuf_iterator<_CharT> >
1183
+ class _LIBCPP_TEMPLATE_VIS num_put : public locale::facet, private __num_put<_CharT> {
1184
+ public:
1185
+ typedef _CharT char_type;
1186
+ typedef _OutputIterator iter_type;
1187
+
1188
+ _LIBCPP_HIDE_FROM_ABI explicit num_put(size_t __refs = 0) : locale::facet(__refs) {}
1189
+
1190
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, bool __v) const {
1191
+ return do_put(__s, __iob, __fl, __v);
1192
+ }
1193
+
1194
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, long __v) const {
1195
+ return do_put(__s, __iob, __fl, __v);
1196
+ }
1197
+
1198
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, long long __v) const {
1199
+ return do_put(__s, __iob, __fl, __v);
1200
+ }
1201
+
1202
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long __v) const {
1203
+ return do_put(__s, __iob, __fl, __v);
1204
+ }
1205
+
1206
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long long __v) const {
1207
+ return do_put(__s, __iob, __fl, __v);
1208
+ }
1209
+
1210
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, double __v) const {
1211
+ return do_put(__s, __iob, __fl, __v);
1212
+ }
1213
+
1214
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, long double __v) const {
1215
+ return do_put(__s, __iob, __fl, __v);
1216
+ }
1217
+
1218
+ _LIBCPP_HIDE_FROM_ABI iter_type put(iter_type __s, ios_base& __iob, char_type __fl, const void* __v) const {
1219
+ return do_put(__s, __iob, __fl, __v);
1220
+ }
1221
+
1222
+ static locale::id id;
1223
+
1224
+ protected:
1225
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~num_put() override {}
1226
+
1227
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, bool __v) const;
1228
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, long __v) const;
1229
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, long long __v) const;
1230
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long) const;
1231
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long long) const;
1232
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, double __v) const;
1233
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, long double __v) const;
1234
+ virtual iter_type do_put(iter_type __s, ios_base& __iob, char_type __fl, const void* __v) const;
1235
+
1236
+ template <class _Integral>
1237
+ _LIBCPP_HIDE_FROM_ABI inline _OutputIterator
1238
+ __do_put_integral(iter_type __s, ios_base& __iob, char_type __fl, _Integral __v, char const* __len) const;
1239
+
1240
+ template <class _Float>
1241
+ _LIBCPP_HIDE_FROM_ABI inline _OutputIterator
1242
+ __do_put_floating_point(iter_type __s, ios_base& __iob, char_type __fl, _Float __v, char const* __len) const;
1243
+ };
1244
+
1245
+ template <class _CharT, class _OutputIterator>
1246
+ locale::id num_put<_CharT, _OutputIterator>::id;
1247
+
1248
+ template <class _CharT, class _OutputIterator>
1249
+ _LIBCPP_HIDE_FROM_ABI _OutputIterator __pad_and_output(
1250
+ _OutputIterator __s, const _CharT* __ob, const _CharT* __op, const _CharT* __oe, ios_base& __iob, _CharT __fl) {
1251
+ streamsize __sz = __oe - __ob;
1252
+ streamsize __ns = __iob.width();
1253
+ if (__ns > __sz)
1254
+ __ns -= __sz;
1255
+ else
1256
+ __ns = 0;
1257
+ for (; __ob < __op; ++__ob, ++__s)
1258
+ *__s = *__ob;
1259
+ for (; __ns; --__ns, ++__s)
1260
+ *__s = __fl;
1261
+ for (; __ob < __oe; ++__ob, ++__s)
1262
+ *__s = *__ob;
1263
+ __iob.width(0);
1264
+ return __s;
1265
+ }
1266
+
1267
+ template <class _CharT, class _Traits>
1268
+ _LIBCPP_HIDE_FROM_ABI ostreambuf_iterator<_CharT, _Traits> __pad_and_output(
1269
+ ostreambuf_iterator<_CharT, _Traits> __s,
1270
+ const _CharT* __ob,
1271
+ const _CharT* __op,
1272
+ const _CharT* __oe,
1273
+ ios_base& __iob,
1274
+ _CharT __fl) {
1275
+ if (__s.__sbuf_ == nullptr)
1276
+ return __s;
1277
+ streamsize __sz = __oe - __ob;
1278
+ streamsize __ns = __iob.width();
1279
+ if (__ns > __sz)
1280
+ __ns -= __sz;
1281
+ else
1282
+ __ns = 0;
1283
+ streamsize __np = __op - __ob;
1284
+ if (__np > 0) {
1285
+ if (__s.__sbuf_->sputn(__ob, __np) != __np) {
1286
+ __s.__sbuf_ = nullptr;
1287
+ return __s;
1288
+ }
1289
+ }
1290
+ if (__ns > 0) {
1291
+ basic_string<_CharT, _Traits> __sp(__ns, __fl);
1292
+ if (__s.__sbuf_->sputn(__sp.data(), __ns) != __ns) {
1293
+ __s.__sbuf_ = nullptr;
1294
+ return __s;
1295
+ }
1296
+ }
1297
+ __np = __oe - __op;
1298
+ if (__np > 0) {
1299
+ if (__s.__sbuf_->sputn(__op, __np) != __np) {
1300
+ __s.__sbuf_ = nullptr;
1301
+ return __s;
1302
+ }
1303
+ }
1304
+ __iob.width(0);
1305
+ return __s;
1306
+ }
1307
+
1308
+ template <class _CharT, class _OutputIterator>
1309
+ _OutputIterator
1310
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, bool __v) const {
1311
+ if ((__iob.flags() & ios_base::boolalpha) == 0)
1312
+ return do_put(__s, __iob, __fl, (unsigned long)__v);
1313
+ const numpunct<char_type>& __np = std::use_facet<numpunct<char_type> >(__iob.getloc());
1314
+ typedef typename numpunct<char_type>::string_type string_type;
1315
+ string_type __nm = __v ? __np.truename() : __np.falsename();
1316
+ for (typename string_type::iterator __i = __nm.begin(); __i != __nm.end(); ++__i, ++__s)
1317
+ *__s = *__i;
1318
+ return __s;
1319
+ }
1320
+
1321
+ template <class _CharT, class _OutputIterator>
1322
+ template <class _Integral>
1323
+ _LIBCPP_HIDE_FROM_ABI inline _OutputIterator num_put<_CharT, _OutputIterator>::__do_put_integral(
1324
+ iter_type __s, ios_base& __iob, char_type __fl, _Integral __v, char const* __len) const {
1325
+ // Stage 1 - Get number in narrow char
1326
+ char __fmt[8] = {'%', 0};
1327
+ this->__format_int(__fmt + 1, __len, is_signed<_Integral>::value, __iob.flags());
1328
+ // Worst case is octal, with showbase enabled. Note that octal is always
1329
+ // printed as an unsigned value.
1330
+ using _Unsigned = typename make_unsigned<_Integral>::type;
1331
+ const unsigned __nbuf =
1332
+ (numeric_limits<_Unsigned>::digits / 3) // 1 char per 3 bits
1333
+ + ((numeric_limits<_Unsigned>::digits % 3) != 0) // round up
1334
+ + 2; // base prefix + terminating null character
1335
+ char __nar[__nbuf];
1336
+ _LIBCPP_DIAGNOSTIC_PUSH
1337
+ _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wformat-nonliteral")
1338
+ _LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wformat-nonliteral")
1339
+ int __nc = __libcpp_snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v);
1340
+ _LIBCPP_DIAGNOSTIC_POP
1341
+ char* __ne = __nar + __nc;
1342
+ char* __np = this->__identify_padding(__nar, __ne, __iob);
1343
+ // Stage 2 - Widen __nar while adding thousands separators
1344
+ char_type __o[2 * (__nbuf - 1) - 1];
1345
+ char_type* __op; // pad here
1346
+ char_type* __oe; // end of output
1347
+ this->__widen_and_group_int(__nar, __np, __ne, __o, __op, __oe, __iob.getloc());
1348
+ // [__o, __oe) contains thousands_sep'd wide number
1349
+ // Stage 3 & 4
1350
+ return std::__pad_and_output(__s, __o, __op, __oe, __iob, __fl);
1351
+ }
1352
+
1353
+ template <class _CharT, class _OutputIterator>
1354
+ _OutputIterator
1355
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, long __v) const {
1356
+ return this->__do_put_integral(__s, __iob, __fl, __v, "l");
1357
+ }
1358
+
1359
+ template <class _CharT, class _OutputIterator>
1360
+ _OutputIterator
1361
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, long long __v) const {
1362
+ return this->__do_put_integral(__s, __iob, __fl, __v, "ll");
1363
+ }
1364
+
1365
+ template <class _CharT, class _OutputIterator>
1366
+ _OutputIterator
1367
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long __v) const {
1368
+ return this->__do_put_integral(__s, __iob, __fl, __v, "l");
1369
+ }
1370
+
1371
+ template <class _CharT, class _OutputIterator>
1372
+ _OutputIterator
1373
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, unsigned long long __v) const {
1374
+ return this->__do_put_integral(__s, __iob, __fl, __v, "ll");
1375
+ }
1376
+
1377
+ template <class _CharT, class _OutputIterator>
1378
+ template <class _Float>
1379
+ _LIBCPP_HIDE_FROM_ABI inline _OutputIterator num_put<_CharT, _OutputIterator>::__do_put_floating_point(
1380
+ iter_type __s, ios_base& __iob, char_type __fl, _Float __v, char const* __len) const {
1381
+ // Stage 1 - Get number in narrow char
1382
+ char __fmt[8] = {'%', 0};
1383
+ bool __specify_precision = this->__format_float(__fmt + 1, __len, __iob.flags());
1384
+ const unsigned __nbuf = 30;
1385
+ char __nar[__nbuf];
1386
+ char* __nb = __nar;
1387
+ int __nc;
1388
+ _LIBCPP_DIAGNOSTIC_PUSH
1389
+ _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wformat-nonliteral")
1390
+ _LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wformat-nonliteral")
1391
+ if (__specify_precision)
1392
+ __nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
1393
+ else
1394
+ __nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, __v);
1395
+ unique_ptr<char, void (*)(void*)> __nbh(nullptr, free);
1396
+ if (__nc > static_cast<int>(__nbuf - 1)) {
1397
+ if (__specify_precision)
1398
+ __nc = __libcpp_asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
1399
+ else
1400
+ __nc = __libcpp_asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, __v);
1401
+ if (__nc == -1)
1402
+ __throw_bad_alloc();
1403
+ __nbh.reset(__nb);
1404
+ }
1405
+ _LIBCPP_DIAGNOSTIC_POP
1406
+ char* __ne = __nb + __nc;
1407
+ char* __np = this->__identify_padding(__nb, __ne, __iob);
1408
+ // Stage 2 - Widen __nar while adding thousands separators
1409
+ char_type __o[2 * (__nbuf - 1) - 1];
1410
+ char_type* __ob = __o;
1411
+ unique_ptr<char_type, void (*)(void*)> __obh(0, free);
1412
+ if (__nb != __nar) {
1413
+ __ob = (char_type*)malloc(2 * static_cast<size_t>(__nc) * sizeof(char_type));
1414
+ if (__ob == 0)
1415
+ __throw_bad_alloc();
1416
+ __obh.reset(__ob);
1417
+ }
1418
+ char_type* __op; // pad here
1419
+ char_type* __oe; // end of output
1420
+ this->__widen_and_group_float(__nb, __np, __ne, __ob, __op, __oe, __iob.getloc());
1421
+ // [__o, __oe) contains thousands_sep'd wide number
1422
+ // Stage 3 & 4
1423
+ __s = std::__pad_and_output(__s, __ob, __op, __oe, __iob, __fl);
1424
+ return __s;
1425
+ }
1426
+
1427
+ template <class _CharT, class _OutputIterator>
1428
+ _OutputIterator
1429
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, double __v) const {
1430
+ return this->__do_put_floating_point(__s, __iob, __fl, __v, "");
1431
+ }
1432
+
1433
+ template <class _CharT, class _OutputIterator>
1434
+ _OutputIterator
1435
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, long double __v) const {
1436
+ return this->__do_put_floating_point(__s, __iob, __fl, __v, "L");
1437
+ }
1438
+
1439
+ template <class _CharT, class _OutputIterator>
1440
+ _OutputIterator
1441
+ num_put<_CharT, _OutputIterator>::do_put(iter_type __s, ios_base& __iob, char_type __fl, const void* __v) const {
1442
+ // Stage 1 - Get pointer in narrow char
1443
+ const unsigned __nbuf = 20;
1444
+ char __nar[__nbuf];
1445
+ int __nc = __libcpp_snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, "%p", __v);
1446
+ char* __ne = __nar + __nc;
1447
+ char* __np = this->__identify_padding(__nar, __ne, __iob);
1448
+ // Stage 2 - Widen __nar
1449
+ char_type __o[2 * (__nbuf - 1) - 1];
1450
+ char_type* __op; // pad here
1451
+ char_type* __oe; // end of output
1452
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1453
+ __ct.widen(__nar, __ne, __o);
1454
+ __oe = __o + (__ne - __nar);
1455
+ if (__np == __ne)
1456
+ __op = __oe;
1457
+ else
1458
+ __op = __o + (__np - __nar);
1459
+ // [__o, __oe) contains wide number
1460
+ // Stage 3 & 4
1461
+ return std::__pad_and_output(__s, __o, __op, __oe, __iob, __fl);
1462
+ }
1463
+
1464
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS num_put<char>;
1465
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
1466
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS num_put<wchar_t>;
1467
+ # endif
1468
+
1469
+ template <class _CharT, class _InputIterator>
1470
+ _LIBCPP_HIDE_FROM_ABI int __get_up_to_n_digits(
1471
+ _InputIterator& __b, _InputIterator __e, ios_base::iostate& __err, const ctype<_CharT>& __ct, int __n) {
1472
+ // Precondition: __n >= 1
1473
+ if (__b == __e) {
1474
+ __err |= ios_base::eofbit | ios_base::failbit;
1475
+ return 0;
1476
+ }
1477
+ // get first digit
1478
+ _CharT __c = *__b;
1479
+ if (!__ct.is(ctype_base::digit, __c)) {
1480
+ __err |= ios_base::failbit;
1481
+ return 0;
1482
+ }
1483
+ int __r = __ct.narrow(__c, 0) - '0';
1484
+ for (++__b, (void)--__n; __b != __e && __n > 0; ++__b, (void)--__n) {
1485
+ // get next digit
1486
+ __c = *__b;
1487
+ if (!__ct.is(ctype_base::digit, __c))
1488
+ return __r;
1489
+ __r = __r * 10 + __ct.narrow(__c, 0) - '0';
1490
+ }
1491
+ if (__b == __e)
1492
+ __err |= ios_base::eofbit;
1493
+ return __r;
1494
+ }
1495
+
1496
+ class _LIBCPP_EXPORTED_FROM_ABI time_base {
1497
+ public:
1498
+ enum dateorder { no_order, dmy, mdy, ymd, ydm };
1499
+ };
1500
+
1501
+ template <class _CharT>
1502
+ class _LIBCPP_TEMPLATE_VIS __time_get_c_storage {
1503
+ protected:
1504
+ typedef basic_string<_CharT> string_type;
1505
+
1506
+ virtual const string_type* __weeks() const;
1507
+ virtual const string_type* __months() const;
1508
+ virtual const string_type* __am_pm() const;
1509
+ virtual const string_type& __c() const;
1510
+ virtual const string_type& __r() const;
1511
+ virtual const string_type& __x() const;
1512
+ virtual const string_type& __X() const;
1513
+
1514
+ _LIBCPP_HIDE_FROM_ABI ~__time_get_c_storage() {}
1515
+ };
1516
+
1517
+ template <>
1518
+ _LIBCPP_EXPORTED_FROM_ABI const string* __time_get_c_storage<char>::__weeks() const;
1519
+ template <>
1520
+ _LIBCPP_EXPORTED_FROM_ABI const string* __time_get_c_storage<char>::__months() const;
1521
+ template <>
1522
+ _LIBCPP_EXPORTED_FROM_ABI const string* __time_get_c_storage<char>::__am_pm() const;
1523
+ template <>
1524
+ _LIBCPP_EXPORTED_FROM_ABI const string& __time_get_c_storage<char>::__c() const;
1525
+ template <>
1526
+ _LIBCPP_EXPORTED_FROM_ABI const string& __time_get_c_storage<char>::__r() const;
1527
+ template <>
1528
+ _LIBCPP_EXPORTED_FROM_ABI const string& __time_get_c_storage<char>::__x() const;
1529
+ template <>
1530
+ _LIBCPP_EXPORTED_FROM_ABI const string& __time_get_c_storage<char>::__X() const;
1531
+
1532
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
1533
+ template <>
1534
+ _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__weeks() const;
1535
+ template <>
1536
+ _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__months() const;
1537
+ template <>
1538
+ _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__am_pm() const;
1539
+ template <>
1540
+ _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__c() const;
1541
+ template <>
1542
+ _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__r() const;
1543
+ template <>
1544
+ _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__x() const;
1545
+ template <>
1546
+ _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__X() const;
1547
+ # endif
1548
+
1549
+ template <class _CharT, class _InputIterator = istreambuf_iterator<_CharT> >
1550
+ class _LIBCPP_TEMPLATE_VIS time_get : public locale::facet, public time_base, private __time_get_c_storage<_CharT> {
1551
+ public:
1552
+ typedef _CharT char_type;
1553
+ typedef _InputIterator iter_type;
1554
+ typedef time_base::dateorder dateorder;
1555
+ typedef basic_string<char_type> string_type;
1556
+
1557
+ _LIBCPP_HIDE_FROM_ABI explicit time_get(size_t __refs = 0) : locale::facet(__refs) {}
1558
+
1559
+ _LIBCPP_HIDE_FROM_ABI dateorder date_order() const { return this->do_date_order(); }
1560
+
1561
+ _LIBCPP_HIDE_FROM_ABI iter_type
1562
+ get_time(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1563
+ return do_get_time(__b, __e, __iob, __err, __tm);
1564
+ }
1565
+
1566
+ _LIBCPP_HIDE_FROM_ABI iter_type
1567
+ get_date(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1568
+ return do_get_date(__b, __e, __iob, __err, __tm);
1569
+ }
1570
+
1571
+ _LIBCPP_HIDE_FROM_ABI iter_type
1572
+ get_weekday(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1573
+ return do_get_weekday(__b, __e, __iob, __err, __tm);
1574
+ }
1575
+
1576
+ _LIBCPP_HIDE_FROM_ABI iter_type
1577
+ get_monthname(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1578
+ return do_get_monthname(__b, __e, __iob, __err, __tm);
1579
+ }
1580
+
1581
+ _LIBCPP_HIDE_FROM_ABI iter_type
1582
+ get_year(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1583
+ return do_get_year(__b, __e, __iob, __err, __tm);
1584
+ }
1585
+
1586
+ _LIBCPP_HIDE_FROM_ABI iter_type
1587
+ get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt, char __mod = 0)
1588
+ const {
1589
+ return do_get(__b, __e, __iob, __err, __tm, __fmt, __mod);
1590
+ }
1591
+
1592
+ iter_type
1593
+ get(iter_type __b,
1594
+ iter_type __e,
1595
+ ios_base& __iob,
1596
+ ios_base::iostate& __err,
1597
+ tm* __tm,
1598
+ const char_type* __fmtb,
1599
+ const char_type* __fmte) const;
1600
+
1601
+ static locale::id id;
1602
+
1603
+ protected:
1604
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~time_get() override {}
1605
+
1606
+ virtual dateorder do_date_order() const;
1607
+ virtual iter_type
1608
+ do_get_time(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const;
1609
+ virtual iter_type
1610
+ do_get_date(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const;
1611
+ virtual iter_type
1612
+ do_get_weekday(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const;
1613
+ virtual iter_type
1614
+ do_get_monthname(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const;
1615
+ virtual iter_type
1616
+ do_get_year(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const;
1617
+ virtual iter_type do_get(
1618
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt, char __mod) const;
1619
+
1620
+ private:
1621
+ void __get_white_space(iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1622
+ void __get_percent(iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1623
+
1624
+ void __get_weekdayname(
1625
+ int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1626
+ void __get_monthname(
1627
+ int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1628
+ void __get_day(int& __d, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1629
+ void
1630
+ __get_month(int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1631
+ void
1632
+ __get_year(int& __y, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1633
+ void
1634
+ __get_year4(int& __y, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1635
+ void
1636
+ __get_hour(int& __d, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1637
+ void
1638
+ __get_12_hour(int& __h, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1639
+ void
1640
+ __get_am_pm(int& __h, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1641
+ void
1642
+ __get_minute(int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1643
+ void
1644
+ __get_second(int& __s, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1645
+ void
1646
+ __get_weekday(int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1647
+ void __get_day_year_num(
1648
+ int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const;
1649
+ };
1650
+
1651
+ template <class _CharT, class _InputIterator>
1652
+ locale::id time_get<_CharT, _InputIterator>::id;
1653
+
1654
+ // time_get primitives
1655
+
1656
+ template <class _CharT, class _InputIterator>
1657
+ void time_get<_CharT, _InputIterator>::__get_weekdayname(
1658
+ int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1659
+ // Note: ignoring case comes from the POSIX strptime spec
1660
+ const string_type* __wk = this->__weeks();
1661
+ ptrdiff_t __i = std::__scan_keyword(__b, __e, __wk, __wk + 14, __ct, __err, false) - __wk;
1662
+ if (__i < 14)
1663
+ __w = __i % 7;
1664
+ }
1665
+
1666
+ template <class _CharT, class _InputIterator>
1667
+ void time_get<_CharT, _InputIterator>::__get_monthname(
1668
+ int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1669
+ // Note: ignoring case comes from the POSIX strptime spec
1670
+ const string_type* __month = this->__months();
1671
+ ptrdiff_t __i = std::__scan_keyword(__b, __e, __month, __month + 24, __ct, __err, false) - __month;
1672
+ if (__i < 24)
1673
+ __m = __i % 12;
1674
+ }
1675
+
1676
+ template <class _CharT, class _InputIterator>
1677
+ void time_get<_CharT, _InputIterator>::__get_day(
1678
+ int& __d, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1679
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2);
1680
+ if (!(__err & ios_base::failbit) && 1 <= __t && __t <= 31)
1681
+ __d = __t;
1682
+ else
1683
+ __err |= ios_base::failbit;
1684
+ }
1685
+
1686
+ template <class _CharT, class _InputIterator>
1687
+ void time_get<_CharT, _InputIterator>::__get_month(
1688
+ int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1689
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2) - 1;
1690
+ if (!(__err & ios_base::failbit) && 0 <= __t && __t <= 11)
1691
+ __m = __t;
1692
+ else
1693
+ __err |= ios_base::failbit;
1694
+ }
1695
+
1696
+ template <class _CharT, class _InputIterator>
1697
+ void time_get<_CharT, _InputIterator>::__get_year(
1698
+ int& __y, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1699
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 4);
1700
+ if (!(__err & ios_base::failbit)) {
1701
+ if (__t < 69)
1702
+ __t += 2000;
1703
+ else if (69 <= __t && __t <= 99)
1704
+ __t += 1900;
1705
+ __y = __t - 1900;
1706
+ }
1707
+ }
1708
+
1709
+ template <class _CharT, class _InputIterator>
1710
+ void time_get<_CharT, _InputIterator>::__get_year4(
1711
+ int& __y, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1712
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 4);
1713
+ if (!(__err & ios_base::failbit))
1714
+ __y = __t - 1900;
1715
+ }
1716
+
1717
+ template <class _CharT, class _InputIterator>
1718
+ void time_get<_CharT, _InputIterator>::__get_hour(
1719
+ int& __h, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1720
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2);
1721
+ if (!(__err & ios_base::failbit) && __t <= 23)
1722
+ __h = __t;
1723
+ else
1724
+ __err |= ios_base::failbit;
1725
+ }
1726
+
1727
+ template <class _CharT, class _InputIterator>
1728
+ void time_get<_CharT, _InputIterator>::__get_12_hour(
1729
+ int& __h, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1730
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2);
1731
+ if (!(__err & ios_base::failbit) && 1 <= __t && __t <= 12)
1732
+ __h = __t;
1733
+ else
1734
+ __err |= ios_base::failbit;
1735
+ }
1736
+
1737
+ template <class _CharT, class _InputIterator>
1738
+ void time_get<_CharT, _InputIterator>::__get_minute(
1739
+ int& __m, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1740
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2);
1741
+ if (!(__err & ios_base::failbit) && __t <= 59)
1742
+ __m = __t;
1743
+ else
1744
+ __err |= ios_base::failbit;
1745
+ }
1746
+
1747
+ template <class _CharT, class _InputIterator>
1748
+ void time_get<_CharT, _InputIterator>::__get_second(
1749
+ int& __s, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1750
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 2);
1751
+ if (!(__err & ios_base::failbit) && __t <= 60)
1752
+ __s = __t;
1753
+ else
1754
+ __err |= ios_base::failbit;
1755
+ }
1756
+
1757
+ template <class _CharT, class _InputIterator>
1758
+ void time_get<_CharT, _InputIterator>::__get_weekday(
1759
+ int& __w, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1760
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 1);
1761
+ if (!(__err & ios_base::failbit) && __t <= 6)
1762
+ __w = __t;
1763
+ else
1764
+ __err |= ios_base::failbit;
1765
+ }
1766
+
1767
+ template <class _CharT, class _InputIterator>
1768
+ void time_get<_CharT, _InputIterator>::__get_day_year_num(
1769
+ int& __d, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1770
+ int __t = std::__get_up_to_n_digits(__b, __e, __err, __ct, 3);
1771
+ if (!(__err & ios_base::failbit) && __t <= 365)
1772
+ __d = __t;
1773
+ else
1774
+ __err |= ios_base::failbit;
1775
+ }
1776
+
1777
+ template <class _CharT, class _InputIterator>
1778
+ void time_get<_CharT, _InputIterator>::__get_white_space(
1779
+ iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1780
+ for (; __b != __e && __ct.is(ctype_base::space, *__b); ++__b)
1781
+ ;
1782
+ if (__b == __e)
1783
+ __err |= ios_base::eofbit;
1784
+ }
1785
+
1786
+ template <class _CharT, class _InputIterator>
1787
+ void time_get<_CharT, _InputIterator>::__get_am_pm(
1788
+ int& __h, iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1789
+ const string_type* __ap = this->__am_pm();
1790
+ if (__ap[0].size() + __ap[1].size() == 0) {
1791
+ __err |= ios_base::failbit;
1792
+ return;
1793
+ }
1794
+ ptrdiff_t __i = std::__scan_keyword(__b, __e, __ap, __ap + 2, __ct, __err, false) - __ap;
1795
+ if (__i == 0 && __h == 12)
1796
+ __h = 0;
1797
+ else if (__i == 1 && __h < 12)
1798
+ __h += 12;
1799
+ }
1800
+
1801
+ template <class _CharT, class _InputIterator>
1802
+ void time_get<_CharT, _InputIterator>::__get_percent(
1803
+ iter_type& __b, iter_type __e, ios_base::iostate& __err, const ctype<char_type>& __ct) const {
1804
+ if (__b == __e) {
1805
+ __err |= ios_base::eofbit | ios_base::failbit;
1806
+ return;
1807
+ }
1808
+ if (__ct.narrow(*__b, 0) != '%')
1809
+ __err |= ios_base::failbit;
1810
+ else if (++__b == __e)
1811
+ __err |= ios_base::eofbit;
1812
+ }
1813
+
1814
+ // time_get end primitives
1815
+
1816
+ template <class _CharT, class _InputIterator>
1817
+ _InputIterator time_get<_CharT, _InputIterator>::get(
1818
+ iter_type __b,
1819
+ iter_type __e,
1820
+ ios_base& __iob,
1821
+ ios_base::iostate& __err,
1822
+ tm* __tm,
1823
+ const char_type* __fmtb,
1824
+ const char_type* __fmte) const {
1825
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1826
+ __err = ios_base::goodbit;
1827
+ while (__fmtb != __fmte && __err == ios_base::goodbit) {
1828
+ if (__b == __e) {
1829
+ __err = ios_base::failbit;
1830
+ break;
1831
+ }
1832
+ if (__ct.narrow(*__fmtb, 0) == '%') {
1833
+ if (++__fmtb == __fmte) {
1834
+ __err = ios_base::failbit;
1835
+ break;
1836
+ }
1837
+ char __cmd = __ct.narrow(*__fmtb, 0);
1838
+ char __opt = '\0';
1839
+ if (__cmd == 'E' || __cmd == '0') {
1840
+ if (++__fmtb == __fmte) {
1841
+ __err = ios_base::failbit;
1842
+ break;
1843
+ }
1844
+ __opt = __cmd;
1845
+ __cmd = __ct.narrow(*__fmtb, 0);
1846
+ }
1847
+ __b = do_get(__b, __e, __iob, __err, __tm, __cmd, __opt);
1848
+ ++__fmtb;
1849
+ } else if (__ct.is(ctype_base::space, *__fmtb)) {
1850
+ for (++__fmtb; __fmtb != __fmte && __ct.is(ctype_base::space, *__fmtb); ++__fmtb)
1851
+ ;
1852
+ for (; __b != __e && __ct.is(ctype_base::space, *__b); ++__b)
1853
+ ;
1854
+ } else if (__ct.toupper(*__b) == __ct.toupper(*__fmtb)) {
1855
+ ++__b;
1856
+ ++__fmtb;
1857
+ } else
1858
+ __err = ios_base::failbit;
1859
+ }
1860
+ if (__b == __e)
1861
+ __err |= ios_base::eofbit;
1862
+ return __b;
1863
+ }
1864
+
1865
+ template <class _CharT, class _InputIterator>
1866
+ typename time_get<_CharT, _InputIterator>::dateorder time_get<_CharT, _InputIterator>::do_date_order() const {
1867
+ return mdy;
1868
+ }
1869
+
1870
+ template <class _CharT, class _InputIterator>
1871
+ _InputIterator time_get<_CharT, _InputIterator>::do_get_time(
1872
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1873
+ const char_type __fmt[] = {'%', 'H', ':', '%', 'M', ':', '%', 'S'};
1874
+ return get(__b, __e, __iob, __err, __tm, __fmt, __fmt + sizeof(__fmt) / sizeof(__fmt[0]));
1875
+ }
1876
+
1877
+ template <class _CharT, class _InputIterator>
1878
+ _InputIterator time_get<_CharT, _InputIterator>::do_get_date(
1879
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1880
+ const string_type& __fmt = this->__x();
1881
+ return get(__b, __e, __iob, __err, __tm, __fmt.data(), __fmt.data() + __fmt.size());
1882
+ }
1883
+
1884
+ template <class _CharT, class _InputIterator>
1885
+ _InputIterator time_get<_CharT, _InputIterator>::do_get_weekday(
1886
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1887
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1888
+ __get_weekdayname(__tm->tm_wday, __b, __e, __err, __ct);
1889
+ return __b;
1890
+ }
1891
+
1892
+ template <class _CharT, class _InputIterator>
1893
+ _InputIterator time_get<_CharT, _InputIterator>::do_get_monthname(
1894
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1895
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1896
+ __get_monthname(__tm->tm_mon, __b, __e, __err, __ct);
1897
+ return __b;
1898
+ }
1899
+
1900
+ template <class _CharT, class _InputIterator>
1901
+ _InputIterator time_get<_CharT, _InputIterator>::do_get_year(
1902
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm) const {
1903
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1904
+ __get_year(__tm->tm_year, __b, __e, __err, __ct);
1905
+ return __b;
1906
+ }
1907
+
1908
+ template <class _CharT, class _InputIterator>
1909
+ _InputIterator time_get<_CharT, _InputIterator>::do_get(
1910
+ iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt, char) const {
1911
+ __err = ios_base::goodbit;
1912
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
1913
+ switch (__fmt) {
1914
+ case 'a':
1915
+ case 'A':
1916
+ __get_weekdayname(__tm->tm_wday, __b, __e, __err, __ct);
1917
+ break;
1918
+ case 'b':
1919
+ case 'B':
1920
+ case 'h':
1921
+ __get_monthname(__tm->tm_mon, __b, __e, __err, __ct);
1922
+ break;
1923
+ case 'c': {
1924
+ const string_type& __fm = this->__c();
1925
+ __b = get(__b, __e, __iob, __err, __tm, __fm.data(), __fm.data() + __fm.size());
1926
+ } break;
1927
+ case 'd':
1928
+ case 'e':
1929
+ __get_day(__tm->tm_mday, __b, __e, __err, __ct);
1930
+ break;
1931
+ case 'D': {
1932
+ const char_type __fm[] = {'%', 'm', '/', '%', 'd', '/', '%', 'y'};
1933
+ __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm) / sizeof(__fm[0]));
1934
+ } break;
1935
+ case 'F': {
1936
+ const char_type __fm[] = {'%', 'Y', '-', '%', 'm', '-', '%', 'd'};
1937
+ __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm) / sizeof(__fm[0]));
1938
+ } break;
1939
+ case 'H':
1940
+ __get_hour(__tm->tm_hour, __b, __e, __err, __ct);
1941
+ break;
1942
+ case 'I':
1943
+ __get_12_hour(__tm->tm_hour, __b, __e, __err, __ct);
1944
+ break;
1945
+ case 'j':
1946
+ __get_day_year_num(__tm->tm_yday, __b, __e, __err, __ct);
1947
+ break;
1948
+ case 'm':
1949
+ __get_month(__tm->tm_mon, __b, __e, __err, __ct);
1950
+ break;
1951
+ case 'M':
1952
+ __get_minute(__tm->tm_min, __b, __e, __err, __ct);
1953
+ break;
1954
+ case 'n':
1955
+ case 't':
1956
+ __get_white_space(__b, __e, __err, __ct);
1957
+ break;
1958
+ case 'p':
1959
+ __get_am_pm(__tm->tm_hour, __b, __e, __err, __ct);
1960
+ break;
1961
+ case 'r': {
1962
+ const char_type __fm[] = {'%', 'I', ':', '%', 'M', ':', '%', 'S', ' ', '%', 'p'};
1963
+ __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm) / sizeof(__fm[0]));
1964
+ } break;
1965
+ case 'R': {
1966
+ const char_type __fm[] = {'%', 'H', ':', '%', 'M'};
1967
+ __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm) / sizeof(__fm[0]));
1968
+ } break;
1969
+ case 'S':
1970
+ __get_second(__tm->tm_sec, __b, __e, __err, __ct);
1971
+ break;
1972
+ case 'T': {
1973
+ const char_type __fm[] = {'%', 'H', ':', '%', 'M', ':', '%', 'S'};
1974
+ __b = get(__b, __e, __iob, __err, __tm, __fm, __fm + sizeof(__fm) / sizeof(__fm[0]));
1975
+ } break;
1976
+ case 'w':
1977
+ __get_weekday(__tm->tm_wday, __b, __e, __err, __ct);
1978
+ break;
1979
+ case 'x':
1980
+ return do_get_date(__b, __e, __iob, __err, __tm);
1981
+ case 'X': {
1982
+ const string_type& __fm = this->__X();
1983
+ __b = get(__b, __e, __iob, __err, __tm, __fm.data(), __fm.data() + __fm.size());
1984
+ } break;
1985
+ case 'y':
1986
+ __get_year(__tm->tm_year, __b, __e, __err, __ct);
1987
+ break;
1988
+ case 'Y':
1989
+ __get_year4(__tm->tm_year, __b, __e, __err, __ct);
1990
+ break;
1991
+ case '%':
1992
+ __get_percent(__b, __e, __err, __ct);
1993
+ break;
1994
+ default:
1995
+ __err |= ios_base::failbit;
1996
+ }
1997
+ return __b;
1998
+ }
1999
+
2000
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_get<char>;
2001
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2002
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_get<wchar_t>;
2003
+ # endif
2004
+
2005
+ class _LIBCPP_EXPORTED_FROM_ABI __time_get {
2006
+ protected:
2007
+ locale_t __loc_;
2008
+
2009
+ __time_get(const char* __nm);
2010
+ __time_get(const string& __nm);
2011
+ ~__time_get();
2012
+ };
2013
+
2014
+ template <class _CharT>
2015
+ class _LIBCPP_TEMPLATE_VIS __time_get_storage : public __time_get {
2016
+ protected:
2017
+ typedef basic_string<_CharT> string_type;
2018
+
2019
+ string_type __weeks_[14];
2020
+ string_type __months_[24];
2021
+ string_type __am_pm_[2];
2022
+ string_type __c_;
2023
+ string_type __r_;
2024
+ string_type __x_;
2025
+ string_type __X_;
2026
+
2027
+ explicit __time_get_storage(const char* __nm);
2028
+ explicit __time_get_storage(const string& __nm);
2029
+
2030
+ _LIBCPP_HIDE_FROM_ABI ~__time_get_storage() {}
2031
+
2032
+ time_base::dateorder __do_date_order() const;
2033
+
2034
+ private:
2035
+ void init(const ctype<_CharT>&);
2036
+ string_type __analyze(char __fmt, const ctype<_CharT>&);
2037
+ };
2038
+
2039
+ # define _LIBCPP_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION(_CharT) \
2040
+ template <> \
2041
+ _LIBCPP_EXPORTED_FROM_ABI time_base::dateorder __time_get_storage<_CharT>::__do_date_order() const; \
2042
+ template <> \
2043
+ _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::__time_get_storage(const char*); \
2044
+ template <> \
2045
+ _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::__time_get_storage(const string&); \
2046
+ template <> \
2047
+ _LIBCPP_EXPORTED_FROM_ABI void __time_get_storage<_CharT>::init(const ctype<_CharT>&); \
2048
+ template <> \
2049
+ _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::string_type __time_get_storage<_CharT>::__analyze( \
2050
+ char, const ctype<_CharT>&); \
2051
+ extern template _LIBCPP_EXPORTED_FROM_ABI time_base::dateorder __time_get_storage<_CharT>::__do_date_order() \
2052
+ const; \
2053
+ extern template _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::__time_get_storage(const char*); \
2054
+ extern template _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::__time_get_storage(const string&); \
2055
+ extern template _LIBCPP_EXPORTED_FROM_ABI void __time_get_storage<_CharT>::init(const ctype<_CharT>&); \
2056
+ extern template _LIBCPP_EXPORTED_FROM_ABI __time_get_storage<_CharT>::string_type \
2057
+ __time_get_storage<_CharT>::__analyze(char, const ctype<_CharT>&); \
2058
+ /**/
2059
+
2060
+ _LIBCPP_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION(char)
2061
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2062
+ _LIBCPP_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION(wchar_t)
2063
+ # endif
2064
+ # undef _LIBCPP_TIME_GET_STORAGE_EXPLICIT_INSTANTIATION
2065
+
2066
+ template <class _CharT, class _InputIterator = istreambuf_iterator<_CharT> >
2067
+ class _LIBCPP_TEMPLATE_VIS time_get_byname
2068
+ : public time_get<_CharT, _InputIterator>,
2069
+ private __time_get_storage<_CharT> {
2070
+ public:
2071
+ typedef time_base::dateorder dateorder;
2072
+ typedef _InputIterator iter_type;
2073
+ typedef _CharT char_type;
2074
+ typedef basic_string<char_type> string_type;
2075
+
2076
+ _LIBCPP_HIDE_FROM_ABI explicit time_get_byname(const char* __nm, size_t __refs = 0)
2077
+ : time_get<_CharT, _InputIterator>(__refs), __time_get_storage<_CharT>(__nm) {}
2078
+ _LIBCPP_HIDE_FROM_ABI explicit time_get_byname(const string& __nm, size_t __refs = 0)
2079
+ : time_get<_CharT, _InputIterator>(__refs), __time_get_storage<_CharT>(__nm) {}
2080
+
2081
+ protected:
2082
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~time_get_byname() override {}
2083
+
2084
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL dateorder do_date_order() const override { return this->__do_date_order(); }
2085
+
2086
+ private:
2087
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type* __weeks() const override { return this->__weeks_; }
2088
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type* __months() const override { return this->__months_; }
2089
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type* __am_pm() const override { return this->__am_pm_; }
2090
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __c() const override { return this->__c_; }
2091
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __r() const override { return this->__r_; }
2092
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __x() const override { return this->__x_; }
2093
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL const string_type& __X() const override { return this->__X_; }
2094
+ };
2095
+
2096
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_get_byname<char>;
2097
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2098
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_get_byname<wchar_t>;
2099
+ # endif
2100
+
2101
+ class _LIBCPP_EXPORTED_FROM_ABI __time_put {
2102
+ locale_t __loc_;
2103
+
2104
+ protected:
2105
+ _LIBCPP_HIDE_FROM_ABI __time_put() : __loc_(_LIBCPP_GET_C_LOCALE) {}
2106
+ __time_put(const char* __nm);
2107
+ __time_put(const string& __nm);
2108
+ ~__time_put();
2109
+ void __do_put(char* __nb, char*& __ne, const tm* __tm, char __fmt, char __mod) const;
2110
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2111
+ void __do_put(wchar_t* __wb, wchar_t*& __we, const tm* __tm, char __fmt, char __mod) const;
2112
+ # endif
2113
+ };
2114
+
2115
+ template <class _CharT, class _OutputIterator = ostreambuf_iterator<_CharT> >
2116
+ class _LIBCPP_TEMPLATE_VIS time_put : public locale::facet, private __time_put {
2117
+ public:
2118
+ typedef _CharT char_type;
2119
+ typedef _OutputIterator iter_type;
2120
+
2121
+ _LIBCPP_HIDE_FROM_ABI explicit time_put(size_t __refs = 0) : locale::facet(__refs) {}
2122
+
2123
+ iter_type
2124
+ put(iter_type __s, ios_base& __iob, char_type __fl, const tm* __tm, const char_type* __pb, const char_type* __pe)
2125
+ const;
2126
+
2127
+ _LIBCPP_HIDE_FROM_ABI iter_type
2128
+ put(iter_type __s, ios_base& __iob, char_type __fl, const tm* __tm, char __fmt, char __mod = 0) const {
2129
+ return do_put(__s, __iob, __fl, __tm, __fmt, __mod);
2130
+ }
2131
+
2132
+ static locale::id id;
2133
+
2134
+ protected:
2135
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~time_put() override {}
2136
+ virtual iter_type do_put(iter_type __s, ios_base&, char_type, const tm* __tm, char __fmt, char __mod) const;
2137
+
2138
+ _LIBCPP_HIDE_FROM_ABI explicit time_put(const char* __nm, size_t __refs) : locale::facet(__refs), __time_put(__nm) {}
2139
+ _LIBCPP_HIDE_FROM_ABI explicit time_put(const string& __nm, size_t __refs)
2140
+ : locale::facet(__refs), __time_put(__nm) {}
2141
+ };
2142
+
2143
+ template <class _CharT, class _OutputIterator>
2144
+ locale::id time_put<_CharT, _OutputIterator>::id;
2145
+
2146
+ template <class _CharT, class _OutputIterator>
2147
+ _OutputIterator time_put<_CharT, _OutputIterator>::put(
2148
+ iter_type __s, ios_base& __iob, char_type __fl, const tm* __tm, const char_type* __pb, const char_type* __pe)
2149
+ const {
2150
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__iob.getloc());
2151
+ for (; __pb != __pe; ++__pb) {
2152
+ if (__ct.narrow(*__pb, 0) == '%') {
2153
+ if (++__pb == __pe) {
2154
+ *__s++ = __pb[-1];
2155
+ break;
2156
+ }
2157
+ char __mod = 0;
2158
+ char __fmt = __ct.narrow(*__pb, 0);
2159
+ if (__fmt == 'E' || __fmt == 'O') {
2160
+ if (++__pb == __pe) {
2161
+ *__s++ = __pb[-2];
2162
+ *__s++ = __pb[-1];
2163
+ break;
2164
+ }
2165
+ __mod = __fmt;
2166
+ __fmt = __ct.narrow(*__pb, 0);
2167
+ }
2168
+ __s = do_put(__s, __iob, __fl, __tm, __fmt, __mod);
2169
+ } else
2170
+ *__s++ = *__pb;
2171
+ }
2172
+ return __s;
2173
+ }
2174
+
2175
+ template <class _CharT, class _OutputIterator>
2176
+ _OutputIterator time_put<_CharT, _OutputIterator>::do_put(
2177
+ iter_type __s, ios_base&, char_type, const tm* __tm, char __fmt, char __mod) const {
2178
+ char_type __nar[100];
2179
+ char_type* __nb = __nar;
2180
+ char_type* __ne = __nb + 100;
2181
+ __do_put(__nb, __ne, __tm, __fmt, __mod);
2182
+ return std::copy(__nb, __ne, __s);
2183
+ }
2184
+
2185
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_put<char>;
2186
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2187
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_put<wchar_t>;
2188
+ # endif
2189
+
2190
+ template <class _CharT, class _OutputIterator = ostreambuf_iterator<_CharT> >
2191
+ class _LIBCPP_TEMPLATE_VIS time_put_byname : public time_put<_CharT, _OutputIterator> {
2192
+ public:
2193
+ _LIBCPP_HIDE_FROM_ABI explicit time_put_byname(const char* __nm, size_t __refs = 0)
2194
+ : time_put<_CharT, _OutputIterator>(__nm, __refs) {}
2195
+
2196
+ _LIBCPP_HIDE_FROM_ABI explicit time_put_byname(const string& __nm, size_t __refs = 0)
2197
+ : time_put<_CharT, _OutputIterator>(__nm, __refs) {}
2198
+
2199
+ protected:
2200
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~time_put_byname() override {}
2201
+ };
2202
+
2203
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_put_byname<char>;
2204
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2205
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_put_byname<wchar_t>;
2206
+ # endif
2207
+
2208
+ // money_base
2209
+
2210
+ class _LIBCPP_EXPORTED_FROM_ABI money_base {
2211
+ public:
2212
+ enum part { none, space, symbol, sign, value };
2213
+ struct pattern {
2214
+ char field[4];
2215
+ };
2216
+
2217
+ _LIBCPP_HIDE_FROM_ABI money_base() {}
2218
+ };
2219
+
2220
+ // moneypunct
2221
+
2222
+ template <class _CharT, bool _International = false>
2223
+ class _LIBCPP_TEMPLATE_VIS moneypunct : public locale::facet, public money_base {
2224
+ public:
2225
+ typedef _CharT char_type;
2226
+ typedef basic_string<char_type> string_type;
2227
+
2228
+ _LIBCPP_HIDE_FROM_ABI explicit moneypunct(size_t __refs = 0) : locale::facet(__refs) {}
2229
+
2230
+ _LIBCPP_HIDE_FROM_ABI char_type decimal_point() const { return do_decimal_point(); }
2231
+ _LIBCPP_HIDE_FROM_ABI char_type thousands_sep() const { return do_thousands_sep(); }
2232
+ _LIBCPP_HIDE_FROM_ABI string grouping() const { return do_grouping(); }
2233
+ _LIBCPP_HIDE_FROM_ABI string_type curr_symbol() const { return do_curr_symbol(); }
2234
+ _LIBCPP_HIDE_FROM_ABI string_type positive_sign() const { return do_positive_sign(); }
2235
+ _LIBCPP_HIDE_FROM_ABI string_type negative_sign() const { return do_negative_sign(); }
2236
+ _LIBCPP_HIDE_FROM_ABI int frac_digits() const { return do_frac_digits(); }
2237
+ _LIBCPP_HIDE_FROM_ABI pattern pos_format() const { return do_pos_format(); }
2238
+ _LIBCPP_HIDE_FROM_ABI pattern neg_format() const { return do_neg_format(); }
2239
+
2240
+ static locale::id id;
2241
+ static const bool intl = _International;
2242
+
2243
+ protected:
2244
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~moneypunct() override {}
2245
+
2246
+ virtual char_type do_decimal_point() const { return numeric_limits<char_type>::max(); }
2247
+ virtual char_type do_thousands_sep() const { return numeric_limits<char_type>::max(); }
2248
+ virtual string do_grouping() const { return string(); }
2249
+ virtual string_type do_curr_symbol() const { return string_type(); }
2250
+ virtual string_type do_positive_sign() const { return string_type(); }
2251
+ virtual string_type do_negative_sign() const { return string_type(1, '-'); }
2252
+ virtual int do_frac_digits() const { return 0; }
2253
+ virtual pattern do_pos_format() const {
2254
+ pattern __p = {{symbol, sign, none, value}};
2255
+ return __p;
2256
+ }
2257
+ virtual pattern do_neg_format() const {
2258
+ pattern __p = {{symbol, sign, none, value}};
2259
+ return __p;
2260
+ }
2261
+ };
2262
+
2263
+ template <class _CharT, bool _International>
2264
+ locale::id moneypunct<_CharT, _International>::id;
2265
+
2266
+ template <class _CharT, bool _International>
2267
+ const bool moneypunct<_CharT, _International>::intl;
2268
+
2269
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct<char, false>;
2270
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct<char, true>;
2271
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2272
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct<wchar_t, false>;
2273
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct<wchar_t, true>;
2274
+ # endif
2275
+
2276
+ // moneypunct_byname
2277
+
2278
+ template <class _CharT, bool _International = false>
2279
+ class _LIBCPP_TEMPLATE_VIS moneypunct_byname : public moneypunct<_CharT, _International> {
2280
+ public:
2281
+ typedef money_base::pattern pattern;
2282
+ typedef _CharT char_type;
2283
+ typedef basic_string<char_type> string_type;
2284
+
2285
+ _LIBCPP_HIDE_FROM_ABI explicit moneypunct_byname(const char* __nm, size_t __refs = 0)
2286
+ : moneypunct<_CharT, _International>(__refs) {
2287
+ init(__nm);
2288
+ }
2289
+
2290
+ _LIBCPP_HIDE_FROM_ABI explicit moneypunct_byname(const string& __nm, size_t __refs = 0)
2291
+ : moneypunct<_CharT, _International>(__refs) {
2292
+ init(__nm.c_str());
2293
+ }
2294
+
2295
+ protected:
2296
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~moneypunct_byname() override {}
2297
+
2298
+ char_type do_decimal_point() const override { return __decimal_point_; }
2299
+ char_type do_thousands_sep() const override { return __thousands_sep_; }
2300
+ string do_grouping() const override { return __grouping_; }
2301
+ string_type do_curr_symbol() const override { return __curr_symbol_; }
2302
+ string_type do_positive_sign() const override { return __positive_sign_; }
2303
+ string_type do_negative_sign() const override { return __negative_sign_; }
2304
+ int do_frac_digits() const override { return __frac_digits_; }
2305
+ pattern do_pos_format() const override { return __pos_format_; }
2306
+ pattern do_neg_format() const override { return __neg_format_; }
2307
+
2308
+ private:
2309
+ char_type __decimal_point_;
2310
+ char_type __thousands_sep_;
2311
+ string __grouping_;
2312
+ string_type __curr_symbol_;
2313
+ string_type __positive_sign_;
2314
+ string_type __negative_sign_;
2315
+ int __frac_digits_;
2316
+ pattern __pos_format_;
2317
+ pattern __neg_format_;
2318
+
2319
+ void init(const char*);
2320
+ };
2321
+
2322
+ template <>
2323
+ _LIBCPP_EXPORTED_FROM_ABI void moneypunct_byname<char, false>::init(const char*);
2324
+ template <>
2325
+ _LIBCPP_EXPORTED_FROM_ABI void moneypunct_byname<char, true>::init(const char*);
2326
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct_byname<char, false>;
2327
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct_byname<char, true>;
2328
+
2329
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2330
+ template <>
2331
+ _LIBCPP_EXPORTED_FROM_ABI void moneypunct_byname<wchar_t, false>::init(const char*);
2332
+ template <>
2333
+ _LIBCPP_EXPORTED_FROM_ABI void moneypunct_byname<wchar_t, true>::init(const char*);
2334
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct_byname<wchar_t, false>;
2335
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS moneypunct_byname<wchar_t, true>;
2336
+ # endif
2337
+
2338
+ // money_get
2339
+
2340
+ template <class _CharT>
2341
+ class __money_get {
2342
+ protected:
2343
+ typedef _CharT char_type;
2344
+ typedef basic_string<char_type> string_type;
2345
+
2346
+ _LIBCPP_HIDE_FROM_ABI __money_get() {}
2347
+
2348
+ static void __gather_info(
2349
+ bool __intl,
2350
+ const locale& __loc,
2351
+ money_base::pattern& __pat,
2352
+ char_type& __dp,
2353
+ char_type& __ts,
2354
+ string& __grp,
2355
+ string_type& __sym,
2356
+ string_type& __psn,
2357
+ string_type& __nsn,
2358
+ int& __fd);
2359
+ };
2360
+
2361
+ template <class _CharT>
2362
+ void __money_get<_CharT>::__gather_info(
2363
+ bool __intl,
2364
+ const locale& __loc,
2365
+ money_base::pattern& __pat,
2366
+ char_type& __dp,
2367
+ char_type& __ts,
2368
+ string& __grp,
2369
+ string_type& __sym,
2370
+ string_type& __psn,
2371
+ string_type& __nsn,
2372
+ int& __fd) {
2373
+ if (__intl) {
2374
+ const moneypunct<char_type, true>& __mp = std::use_facet<moneypunct<char_type, true> >(__loc);
2375
+ __pat = __mp.neg_format();
2376
+ __nsn = __mp.negative_sign();
2377
+ __psn = __mp.positive_sign();
2378
+ __dp = __mp.decimal_point();
2379
+ __ts = __mp.thousands_sep();
2380
+ __grp = __mp.grouping();
2381
+ __sym = __mp.curr_symbol();
2382
+ __fd = __mp.frac_digits();
2383
+ } else {
2384
+ const moneypunct<char_type, false>& __mp = std::use_facet<moneypunct<char_type, false> >(__loc);
2385
+ __pat = __mp.neg_format();
2386
+ __nsn = __mp.negative_sign();
2387
+ __psn = __mp.positive_sign();
2388
+ __dp = __mp.decimal_point();
2389
+ __ts = __mp.thousands_sep();
2390
+ __grp = __mp.grouping();
2391
+ __sym = __mp.curr_symbol();
2392
+ __fd = __mp.frac_digits();
2393
+ }
2394
+ }
2395
+
2396
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __money_get<char>;
2397
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2398
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __money_get<wchar_t>;
2399
+ # endif
2400
+
2401
+ template <class _CharT, class _InputIterator = istreambuf_iterator<_CharT> >
2402
+ class _LIBCPP_TEMPLATE_VIS money_get : public locale::facet, private __money_get<_CharT> {
2403
+ public:
2404
+ typedef _CharT char_type;
2405
+ typedef _InputIterator iter_type;
2406
+ typedef basic_string<char_type> string_type;
2407
+
2408
+ _LIBCPP_HIDE_FROM_ABI explicit money_get(size_t __refs = 0) : locale::facet(__refs) {}
2409
+
2410
+ _LIBCPP_HIDE_FROM_ABI iter_type
2411
+ get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, long double& __v) const {
2412
+ return do_get(__b, __e, __intl, __iob, __err, __v);
2413
+ }
2414
+
2415
+ _LIBCPP_HIDE_FROM_ABI iter_type
2416
+ get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, string_type& __v) const {
2417
+ return do_get(__b, __e, __intl, __iob, __err, __v);
2418
+ }
2419
+
2420
+ static locale::id id;
2421
+
2422
+ protected:
2423
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~money_get() override {}
2424
+
2425
+ virtual iter_type
2426
+ do_get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, long double& __v) const;
2427
+ virtual iter_type
2428
+ do_get(iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, string_type& __v) const;
2429
+
2430
+ private:
2431
+ static bool __do_get(
2432
+ iter_type& __b,
2433
+ iter_type __e,
2434
+ bool __intl,
2435
+ const locale& __loc,
2436
+ ios_base::fmtflags __flags,
2437
+ ios_base::iostate& __err,
2438
+ bool& __neg,
2439
+ const ctype<char_type>& __ct,
2440
+ unique_ptr<char_type, void (*)(void*)>& __wb,
2441
+ char_type*& __wn,
2442
+ char_type* __we);
2443
+ };
2444
+
2445
+ template <class _CharT, class _InputIterator>
2446
+ locale::id money_get<_CharT, _InputIterator>::id;
2447
+
2448
+ _LIBCPP_EXPORTED_FROM_ABI void __do_nothing(void*);
2449
+
2450
+ template <class _Tp>
2451
+ _LIBCPP_HIDE_FROM_ABI void __double_or_nothing(unique_ptr<_Tp, void (*)(void*)>& __b, _Tp*& __n, _Tp*& __e) {
2452
+ bool __owns = __b.get_deleter() != __do_nothing;
2453
+ size_t __cur_cap = static_cast<size_t>(__e - __b.get()) * sizeof(_Tp);
2454
+ size_t __new_cap = __cur_cap < numeric_limits<size_t>::max() / 2 ? 2 * __cur_cap : numeric_limits<size_t>::max();
2455
+ if (__new_cap == 0)
2456
+ __new_cap = sizeof(_Tp);
2457
+ size_t __n_off = static_cast<size_t>(__n - __b.get());
2458
+ _Tp* __t = (_Tp*)std::realloc(__owns ? __b.get() : 0, __new_cap);
2459
+ if (__t == 0)
2460
+ __throw_bad_alloc();
2461
+ if (__owns)
2462
+ __b.release();
2463
+ __b = unique_ptr<_Tp, void (*)(void*)>(__t, free);
2464
+ __new_cap /= sizeof(_Tp);
2465
+ __n = __b.get() + __n_off;
2466
+ __e = __b.get() + __new_cap;
2467
+ }
2468
+
2469
+ // true == success
2470
+ template <class _CharT, class _InputIterator>
2471
+ bool money_get<_CharT, _InputIterator>::__do_get(
2472
+ iter_type& __b,
2473
+ iter_type __e,
2474
+ bool __intl,
2475
+ const locale& __loc,
2476
+ ios_base::fmtflags __flags,
2477
+ ios_base::iostate& __err,
2478
+ bool& __neg,
2479
+ const ctype<char_type>& __ct,
2480
+ unique_ptr<char_type, void (*)(void*)>& __wb,
2481
+ char_type*& __wn,
2482
+ char_type* __we) {
2483
+ if (__b == __e) {
2484
+ __err |= ios_base::failbit;
2485
+ return false;
2486
+ }
2487
+ const unsigned __bz = 100;
2488
+ unsigned __gbuf[__bz];
2489
+ unique_ptr<unsigned, void (*)(void*)> __gb(__gbuf, __do_nothing);
2490
+ unsigned* __gn = __gb.get();
2491
+ unsigned* __ge = __gn + __bz;
2492
+ money_base::pattern __pat;
2493
+ char_type __dp;
2494
+ char_type __ts;
2495
+ string __grp;
2496
+ string_type __sym;
2497
+ string_type __psn;
2498
+ string_type __nsn;
2499
+ // Capture the spaces read into money_base::{space,none} so they
2500
+ // can be compared to initial spaces in __sym.
2501
+ string_type __spaces;
2502
+ int __fd;
2503
+ __money_get<_CharT>::__gather_info(__intl, __loc, __pat, __dp, __ts, __grp, __sym, __psn, __nsn, __fd);
2504
+ const string_type* __trailing_sign = 0;
2505
+ __wn = __wb.get();
2506
+ for (unsigned __p = 0; __p < 4 && __b != __e; ++__p) {
2507
+ switch (__pat.field[__p]) {
2508
+ case money_base::space:
2509
+ if (__p != 3) {
2510
+ if (__ct.is(ctype_base::space, *__b))
2511
+ __spaces.push_back(*__b++);
2512
+ else {
2513
+ __err |= ios_base::failbit;
2514
+ return false;
2515
+ }
2516
+ }
2517
+ _LIBCPP_FALLTHROUGH();
2518
+ case money_base::none:
2519
+ if (__p != 3) {
2520
+ while (__b != __e && __ct.is(ctype_base::space, *__b))
2521
+ __spaces.push_back(*__b++);
2522
+ }
2523
+ break;
2524
+ case money_base::sign:
2525
+ if (__psn.size() > 0 && *__b == __psn[0]) {
2526
+ ++__b;
2527
+ __neg = false;
2528
+ if (__psn.size() > 1)
2529
+ __trailing_sign = &__psn;
2530
+ break;
2531
+ }
2532
+ if (__nsn.size() > 0 && *__b == __nsn[0]) {
2533
+ ++__b;
2534
+ __neg = true;
2535
+ if (__nsn.size() > 1)
2536
+ __trailing_sign = &__nsn;
2537
+ break;
2538
+ }
2539
+ if (__psn.size() > 0 && __nsn.size() > 0) { // sign is required
2540
+ __err |= ios_base::failbit;
2541
+ return false;
2542
+ }
2543
+ if (__psn.size() == 0 && __nsn.size() == 0)
2544
+ // locale has no way of specifying a sign. Use the initial value of __neg as a default
2545
+ break;
2546
+ __neg = (__nsn.size() == 0);
2547
+ break;
2548
+ case money_base::symbol: {
2549
+ bool __more_needed =
2550
+ __trailing_sign || (__p < 2) || (__p == 2 && __pat.field[3] != static_cast<char>(money_base::none));
2551
+ bool __sb = (__flags & ios_base::showbase) != 0;
2552
+ if (__sb || __more_needed) {
2553
+ typename string_type::const_iterator __sym_space_end = __sym.begin();
2554
+ if (__p > 0 && (__pat.field[__p - 1] == money_base::none || __pat.field[__p - 1] == money_base::space)) {
2555
+ // Match spaces we've already read against spaces at
2556
+ // the beginning of __sym.
2557
+ while (__sym_space_end != __sym.end() && __ct.is(ctype_base::space, *__sym_space_end))
2558
+ ++__sym_space_end;
2559
+ const size_t __num_spaces = __sym_space_end - __sym.begin();
2560
+ if (__num_spaces > __spaces.size() ||
2561
+ !std::equal(__spaces.end() - __num_spaces, __spaces.end(), __sym.begin())) {
2562
+ // No match. Put __sym_space_end back at the
2563
+ // beginning of __sym, which will prevent a
2564
+ // match in the next loop.
2565
+ __sym_space_end = __sym.begin();
2566
+ }
2567
+ }
2568
+ typename string_type::const_iterator __sym_curr_char = __sym_space_end;
2569
+ while (__sym_curr_char != __sym.end() && __b != __e && *__b == *__sym_curr_char) {
2570
+ ++__b;
2571
+ ++__sym_curr_char;
2572
+ }
2573
+ if (__sb && __sym_curr_char != __sym.end()) {
2574
+ __err |= ios_base::failbit;
2575
+ return false;
2576
+ }
2577
+ }
2578
+ } break;
2579
+ case money_base::value: {
2580
+ unsigned __ng = 0;
2581
+ for (; __b != __e; ++__b) {
2582
+ char_type __c = *__b;
2583
+ if (__ct.is(ctype_base::digit, __c)) {
2584
+ if (__wn == __we)
2585
+ std::__double_or_nothing(__wb, __wn, __we);
2586
+ *__wn++ = __c;
2587
+ ++__ng;
2588
+ } else if (__grp.size() > 0 && __ng > 0 && __c == __ts) {
2589
+ if (__gn == __ge)
2590
+ std::__double_or_nothing(__gb, __gn, __ge);
2591
+ *__gn++ = __ng;
2592
+ __ng = 0;
2593
+ } else
2594
+ break;
2595
+ }
2596
+ if (__gb.get() != __gn && __ng > 0) {
2597
+ if (__gn == __ge)
2598
+ std::__double_or_nothing(__gb, __gn, __ge);
2599
+ *__gn++ = __ng;
2600
+ }
2601
+ if (__fd > 0) {
2602
+ if (__b == __e || *__b != __dp) {
2603
+ __err |= ios_base::failbit;
2604
+ return false;
2605
+ }
2606
+ for (++__b; __fd > 0; --__fd, ++__b) {
2607
+ if (__b == __e || !__ct.is(ctype_base::digit, *__b)) {
2608
+ __err |= ios_base::failbit;
2609
+ return false;
2610
+ }
2611
+ if (__wn == __we)
2612
+ std::__double_or_nothing(__wb, __wn, __we);
2613
+ *__wn++ = *__b;
2614
+ }
2615
+ }
2616
+ if (__wn == __wb.get()) {
2617
+ __err |= ios_base::failbit;
2618
+ return false;
2619
+ }
2620
+ } break;
2621
+ }
2622
+ }
2623
+ if (__trailing_sign) {
2624
+ for (unsigned __i = 1; __i < __trailing_sign->size(); ++__i, ++__b) {
2625
+ if (__b == __e || *__b != (*__trailing_sign)[__i]) {
2626
+ __err |= ios_base::failbit;
2627
+ return false;
2628
+ }
2629
+ }
2630
+ }
2631
+ if (__gb.get() != __gn) {
2632
+ ios_base::iostate __et = ios_base::goodbit;
2633
+ __check_grouping(__grp, __gb.get(), __gn, __et);
2634
+ if (__et) {
2635
+ __err |= ios_base::failbit;
2636
+ return false;
2637
+ }
2638
+ }
2639
+ return true;
2640
+ }
2641
+
2642
+ template <class _CharT, class _InputIterator>
2643
+ _InputIterator money_get<_CharT, _InputIterator>::do_get(
2644
+ iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, long double& __v) const {
2645
+ const int __bz = 100;
2646
+ char_type __wbuf[__bz];
2647
+ unique_ptr<char_type, void (*)(void*)> __wb(__wbuf, __do_nothing);
2648
+ char_type* __wn;
2649
+ char_type* __we = __wbuf + __bz;
2650
+ locale __loc = __iob.getloc();
2651
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__loc);
2652
+ bool __neg = false;
2653
+ if (__do_get(__b, __e, __intl, __loc, __iob.flags(), __err, __neg, __ct, __wb, __wn, __we)) {
2654
+ const char __src[] = "0123456789";
2655
+ char_type __atoms[sizeof(__src) - 1];
2656
+ __ct.widen(__src, __src + (sizeof(__src) - 1), __atoms);
2657
+ char __nbuf[__bz];
2658
+ char* __nc = __nbuf;
2659
+ unique_ptr<char, void (*)(void*)> __h(nullptr, free);
2660
+ if (__wn - __wb.get() > __bz - 2) {
2661
+ __h.reset((char*)malloc(static_cast<size_t>(__wn - __wb.get() + 2)));
2662
+ if (__h.get() == nullptr)
2663
+ __throw_bad_alloc();
2664
+ __nc = __h.get();
2665
+ }
2666
+ if (__neg)
2667
+ *__nc++ = '-';
2668
+ for (const char_type* __w = __wb.get(); __w < __wn; ++__w, ++__nc)
2669
+ *__nc = __src[std::find(__atoms, std::end(__atoms), *__w) - __atoms];
2670
+ *__nc = char();
2671
+ if (sscanf(__nbuf, "%Lf", &__v) != 1)
2672
+ __throw_runtime_error("money_get error");
2673
+ }
2674
+ if (__b == __e)
2675
+ __err |= ios_base::eofbit;
2676
+ return __b;
2677
+ }
2678
+
2679
+ template <class _CharT, class _InputIterator>
2680
+ _InputIterator money_get<_CharT, _InputIterator>::do_get(
2681
+ iter_type __b, iter_type __e, bool __intl, ios_base& __iob, ios_base::iostate& __err, string_type& __v) const {
2682
+ const int __bz = 100;
2683
+ char_type __wbuf[__bz];
2684
+ unique_ptr<char_type, void (*)(void*)> __wb(__wbuf, __do_nothing);
2685
+ char_type* __wn;
2686
+ char_type* __we = __wbuf + __bz;
2687
+ locale __loc = __iob.getloc();
2688
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__loc);
2689
+ bool __neg = false;
2690
+ if (__do_get(__b, __e, __intl, __loc, __iob.flags(), __err, __neg, __ct, __wb, __wn, __we)) {
2691
+ __v.clear();
2692
+ if (__neg)
2693
+ __v.push_back(__ct.widen('-'));
2694
+ char_type __z = __ct.widen('0');
2695
+ char_type* __w;
2696
+ for (__w = __wb.get(); __w < __wn - 1; ++__w)
2697
+ if (*__w != __z)
2698
+ break;
2699
+ __v.append(__w, __wn);
2700
+ }
2701
+ if (__b == __e)
2702
+ __err |= ios_base::eofbit;
2703
+ return __b;
2704
+ }
2705
+
2706
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS money_get<char>;
2707
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2708
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS money_get<wchar_t>;
2709
+ # endif
2710
+
2711
+ // money_put
2712
+
2713
+ template <class _CharT>
2714
+ class __money_put {
2715
+ protected:
2716
+ typedef _CharT char_type;
2717
+ typedef basic_string<char_type> string_type;
2718
+
2719
+ _LIBCPP_HIDE_FROM_ABI __money_put() {}
2720
+
2721
+ static void __gather_info(
2722
+ bool __intl,
2723
+ bool __neg,
2724
+ const locale& __loc,
2725
+ money_base::pattern& __pat,
2726
+ char_type& __dp,
2727
+ char_type& __ts,
2728
+ string& __grp,
2729
+ string_type& __sym,
2730
+ string_type& __sn,
2731
+ int& __fd);
2732
+ static void __format(
2733
+ char_type* __mb,
2734
+ char_type*& __mi,
2735
+ char_type*& __me,
2736
+ ios_base::fmtflags __flags,
2737
+ const char_type* __db,
2738
+ const char_type* __de,
2739
+ const ctype<char_type>& __ct,
2740
+ bool __neg,
2741
+ const money_base::pattern& __pat,
2742
+ char_type __dp,
2743
+ char_type __ts,
2744
+ const string& __grp,
2745
+ const string_type& __sym,
2746
+ const string_type& __sn,
2747
+ int __fd);
2748
+ };
2749
+
2750
+ template <class _CharT>
2751
+ void __money_put<_CharT>::__gather_info(
2752
+ bool __intl,
2753
+ bool __neg,
2754
+ const locale& __loc,
2755
+ money_base::pattern& __pat,
2756
+ char_type& __dp,
2757
+ char_type& __ts,
2758
+ string& __grp,
2759
+ string_type& __sym,
2760
+ string_type& __sn,
2761
+ int& __fd) {
2762
+ if (__intl) {
2763
+ const moneypunct<char_type, true>& __mp = std::use_facet<moneypunct<char_type, true> >(__loc);
2764
+ if (__neg) {
2765
+ __pat = __mp.neg_format();
2766
+ __sn = __mp.negative_sign();
2767
+ } else {
2768
+ __pat = __mp.pos_format();
2769
+ __sn = __mp.positive_sign();
2770
+ }
2771
+ __dp = __mp.decimal_point();
2772
+ __ts = __mp.thousands_sep();
2773
+ __grp = __mp.grouping();
2774
+ __sym = __mp.curr_symbol();
2775
+ __fd = __mp.frac_digits();
2776
+ } else {
2777
+ const moneypunct<char_type, false>& __mp = std::use_facet<moneypunct<char_type, false> >(__loc);
2778
+ if (__neg) {
2779
+ __pat = __mp.neg_format();
2780
+ __sn = __mp.negative_sign();
2781
+ } else {
2782
+ __pat = __mp.pos_format();
2783
+ __sn = __mp.positive_sign();
2784
+ }
2785
+ __dp = __mp.decimal_point();
2786
+ __ts = __mp.thousands_sep();
2787
+ __grp = __mp.grouping();
2788
+ __sym = __mp.curr_symbol();
2789
+ __fd = __mp.frac_digits();
2790
+ }
2791
+ }
2792
+
2793
+ template <class _CharT>
2794
+ void __money_put<_CharT>::__format(
2795
+ char_type* __mb,
2796
+ char_type*& __mi,
2797
+ char_type*& __me,
2798
+ ios_base::fmtflags __flags,
2799
+ const char_type* __db,
2800
+ const char_type* __de,
2801
+ const ctype<char_type>& __ct,
2802
+ bool __neg,
2803
+ const money_base::pattern& __pat,
2804
+ char_type __dp,
2805
+ char_type __ts,
2806
+ const string& __grp,
2807
+ const string_type& __sym,
2808
+ const string_type& __sn,
2809
+ int __fd) {
2810
+ __me = __mb;
2811
+ for (char __p : __pat.field) {
2812
+ switch (__p) {
2813
+ case money_base::none:
2814
+ __mi = __me;
2815
+ break;
2816
+ case money_base::space:
2817
+ __mi = __me;
2818
+ *__me++ = __ct.widen(' ');
2819
+ break;
2820
+ case money_base::sign:
2821
+ if (!__sn.empty())
2822
+ *__me++ = __sn[0];
2823
+ break;
2824
+ case money_base::symbol:
2825
+ if (!__sym.empty() && (__flags & ios_base::showbase))
2826
+ __me = std::copy(__sym.begin(), __sym.end(), __me);
2827
+ break;
2828
+ case money_base::value: {
2829
+ // remember start of value so we can reverse it
2830
+ char_type* __t = __me;
2831
+ // find beginning of digits
2832
+ if (__neg)
2833
+ ++__db;
2834
+ // find end of digits
2835
+ const char_type* __d;
2836
+ for (__d = __db; __d < __de; ++__d)
2837
+ if (!__ct.is(ctype_base::digit, *__d))
2838
+ break;
2839
+ // print fractional part
2840
+ if (__fd > 0) {
2841
+ int __f;
2842
+ for (__f = __fd; __d > __db && __f > 0; --__f)
2843
+ *__me++ = *--__d;
2844
+ char_type __z = __f > 0 ? __ct.widen('0') : char_type();
2845
+ for (; __f > 0; --__f)
2846
+ *__me++ = __z;
2847
+ *__me++ = __dp;
2848
+ }
2849
+ // print units part
2850
+ if (__d == __db) {
2851
+ *__me++ = __ct.widen('0');
2852
+ } else {
2853
+ unsigned __ng = 0;
2854
+ unsigned __ig = 0;
2855
+ unsigned __gl = __grp.empty() ? numeric_limits<unsigned>::max() : static_cast<unsigned>(__grp[__ig]);
2856
+ while (__d != __db) {
2857
+ if (__ng == __gl) {
2858
+ *__me++ = __ts;
2859
+ __ng = 0;
2860
+ if (++__ig < __grp.size())
2861
+ __gl = __grp[__ig] == numeric_limits<char>::max()
2862
+ ? numeric_limits<unsigned>::max()
2863
+ : static_cast<unsigned>(__grp[__ig]);
2864
+ }
2865
+ *__me++ = *--__d;
2866
+ ++__ng;
2867
+ }
2868
+ }
2869
+ // reverse it
2870
+ std::reverse(__t, __me);
2871
+ } break;
2872
+ }
2873
+ }
2874
+ // print rest of sign, if any
2875
+ if (__sn.size() > 1)
2876
+ __me = std::copy(__sn.begin() + 1, __sn.end(), __me);
2877
+ // set alignment
2878
+ if ((__flags & ios_base::adjustfield) == ios_base::left)
2879
+ __mi = __me;
2880
+ else if ((__flags & ios_base::adjustfield) != ios_base::internal)
2881
+ __mi = __mb;
2882
+ }
2883
+
2884
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __money_put<char>;
2885
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
2886
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS __money_put<wchar_t>;
2887
+ # endif
2888
+
2889
+ template <class _CharT, class _OutputIterator = ostreambuf_iterator<_CharT> >
2890
+ class _LIBCPP_TEMPLATE_VIS money_put : public locale::facet, private __money_put<_CharT> {
2891
+ public:
2892
+ typedef _CharT char_type;
2893
+ typedef _OutputIterator iter_type;
2894
+ typedef basic_string<char_type> string_type;
2895
+
2896
+ _LIBCPP_HIDE_FROM_ABI explicit money_put(size_t __refs = 0) : locale::facet(__refs) {}
2897
+
2898
+ _LIBCPP_HIDE_FROM_ABI iter_type
2899
+ put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl, long double __units) const {
2900
+ return do_put(__s, __intl, __iob, __fl, __units);
2901
+ }
2902
+
2903
+ _LIBCPP_HIDE_FROM_ABI iter_type
2904
+ put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl, const string_type& __digits) const {
2905
+ return do_put(__s, __intl, __iob, __fl, __digits);
2906
+ }
2907
+
2908
+ static locale::id id;
2909
+
2910
+ protected:
2911
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~money_put() override {}
2912
+
2913
+ virtual iter_type do_put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl, long double __units) const;
2914
+ virtual iter_type
2915
+ do_put(iter_type __s, bool __intl, ios_base& __iob, char_type __fl, const string_type& __digits) const;
2916
+ };
2917
+
2918
+ template <class _CharT, class _OutputIterator>
2919
+ locale::id money_put<_CharT, _OutputIterator>::id;
2920
+
2921
+ template <class _CharT, class _OutputIterator>
2922
+ _OutputIterator money_put<_CharT, _OutputIterator>::do_put(
2923
+ iter_type __s, bool __intl, ios_base& __iob, char_type __fl, long double __units) const {
2924
+ // convert to char
2925
+ const size_t __bs = 100;
2926
+ char __buf[__bs];
2927
+ char* __bb = __buf;
2928
+ char_type __digits[__bs];
2929
+ char_type* __db = __digits;
2930
+ int __n = snprintf(__bb, __bs, "%.0Lf", __units);
2931
+ unique_ptr<char, void (*)(void*)> __hn(nullptr, free);
2932
+ unique_ptr<char_type, void (*)(void*)> __hd(0, free);
2933
+ // secure memory for digit storage
2934
+ if (static_cast<size_t>(__n) > __bs - 1) {
2935
+ __n = __libcpp_asprintf_l(&__bb, _LIBCPP_GET_C_LOCALE, "%.0Lf", __units);
2936
+ if (__n == -1)
2937
+ __throw_bad_alloc();
2938
+ __hn.reset(__bb);
2939
+ __hd.reset((char_type*)malloc(static_cast<size_t>(__n) * sizeof(char_type)));
2940
+ if (__hd == nullptr)
2941
+ __throw_bad_alloc();
2942
+ __db = __hd.get();
2943
+ }
2944
+ // gather info
2945
+ locale __loc = __iob.getloc();
2946
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__loc);
2947
+ __ct.widen(__bb, __bb + __n, __db);
2948
+ bool __neg = __n > 0 && __bb[0] == '-';
2949
+ money_base::pattern __pat;
2950
+ char_type __dp;
2951
+ char_type __ts;
2952
+ string __grp;
2953
+ string_type __sym;
2954
+ string_type __sn;
2955
+ int __fd;
2956
+ this->__gather_info(__intl, __neg, __loc, __pat, __dp, __ts, __grp, __sym, __sn, __fd);
2957
+ // secure memory for formatting
2958
+ char_type __mbuf[__bs];
2959
+ char_type* __mb = __mbuf;
2960
+ unique_ptr<char_type, void (*)(void*)> __hw(0, free);
2961
+ size_t __exn = __n > __fd ? (static_cast<size_t>(__n) - static_cast<size_t>(__fd)) * 2 + __sn.size() + __sym.size() +
2962
+ static_cast<size_t>(__fd) + 1
2963
+ : __sn.size() + __sym.size() + static_cast<size_t>(__fd) + 2;
2964
+ if (__exn > __bs) {
2965
+ __hw.reset((char_type*)malloc(__exn * sizeof(char_type)));
2966
+ __mb = __hw.get();
2967
+ if (__mb == 0)
2968
+ __throw_bad_alloc();
2969
+ }
2970
+ // format
2971
+ char_type* __mi;
2972
+ char_type* __me;
2973
+ this->__format(
2974
+ __mb, __mi, __me, __iob.flags(), __db, __db + __n, __ct, __neg, __pat, __dp, __ts, __grp, __sym, __sn, __fd);
2975
+ return std::__pad_and_output(__s, __mb, __mi, __me, __iob, __fl);
2976
+ }
2977
+
2978
+ template <class _CharT, class _OutputIterator>
2979
+ _OutputIterator money_put<_CharT, _OutputIterator>::do_put(
2980
+ iter_type __s, bool __intl, ios_base& __iob, char_type __fl, const string_type& __digits) const {
2981
+ // gather info
2982
+ locale __loc = __iob.getloc();
2983
+ const ctype<char_type>& __ct = std::use_facet<ctype<char_type> >(__loc);
2984
+ bool __neg = __digits.size() > 0 && __digits[0] == __ct.widen('-');
2985
+ money_base::pattern __pat;
2986
+ char_type __dp;
2987
+ char_type __ts;
2988
+ string __grp;
2989
+ string_type __sym;
2990
+ string_type __sn;
2991
+ int __fd;
2992
+ this->__gather_info(__intl, __neg, __loc, __pat, __dp, __ts, __grp, __sym, __sn, __fd);
2993
+ // secure memory for formatting
2994
+ char_type __mbuf[100];
2995
+ char_type* __mb = __mbuf;
2996
+ unique_ptr<char_type, void (*)(void*)> __h(0, free);
2997
+ size_t __exn =
2998
+ static_cast<int>(__digits.size()) > __fd
2999
+ ? (__digits.size() - static_cast<size_t>(__fd)) * 2 + __sn.size() + __sym.size() + static_cast<size_t>(__fd) +
3000
+ 1
3001
+ : __sn.size() + __sym.size() + static_cast<size_t>(__fd) + 2;
3002
+ if (__exn > 100) {
3003
+ __h.reset((char_type*)malloc(__exn * sizeof(char_type)));
3004
+ __mb = __h.get();
3005
+ if (__mb == 0)
3006
+ __throw_bad_alloc();
3007
+ }
3008
+ // format
3009
+ char_type* __mi;
3010
+ char_type* __me;
3011
+ this->__format(
3012
+ __mb,
3013
+ __mi,
3014
+ __me,
3015
+ __iob.flags(),
3016
+ __digits.data(),
3017
+ __digits.data() + __digits.size(),
3018
+ __ct,
3019
+ __neg,
3020
+ __pat,
3021
+ __dp,
3022
+ __ts,
3023
+ __grp,
3024
+ __sym,
3025
+ __sn,
3026
+ __fd);
3027
+ return std::__pad_and_output(__s, __mb, __mi, __me, __iob, __fl);
3028
+ }
3029
+
3030
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS money_put<char>;
3031
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
3032
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS money_put<wchar_t>;
3033
+ # endif
3034
+
3035
+ // messages
3036
+
3037
+ class _LIBCPP_EXPORTED_FROM_ABI messages_base {
3038
+ public:
3039
+ typedef intptr_t catalog;
3040
+
3041
+ _LIBCPP_HIDE_FROM_ABI messages_base() {}
3042
+ };
3043
+
3044
+ template <class _CharT>
3045
+ class _LIBCPP_TEMPLATE_VIS messages : public locale::facet, public messages_base {
3046
+ public:
3047
+ typedef _CharT char_type;
3048
+ typedef basic_string<_CharT> string_type;
3049
+
3050
+ _LIBCPP_HIDE_FROM_ABI explicit messages(size_t __refs = 0) : locale::facet(__refs) {}
3051
+
3052
+ _LIBCPP_HIDE_FROM_ABI catalog open(const basic_string<char>& __nm, const locale& __loc) const {
3053
+ return do_open(__nm, __loc);
3054
+ }
3055
+
3056
+ _LIBCPP_HIDE_FROM_ABI string_type get(catalog __c, int __set, int __msgid, const string_type& __dflt) const {
3057
+ return do_get(__c, __set, __msgid, __dflt);
3058
+ }
3059
+
3060
+ _LIBCPP_HIDE_FROM_ABI void close(catalog __c) const { do_close(__c); }
3061
+
3062
+ static locale::id id;
3063
+
3064
+ protected:
3065
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~messages() override {}
3066
+
3067
+ virtual catalog do_open(const basic_string<char>&, const locale&) const;
3068
+ virtual string_type do_get(catalog, int __set, int __msgid, const string_type& __dflt) const;
3069
+ virtual void do_close(catalog) const;
3070
+ };
3071
+
3072
+ template <class _CharT>
3073
+ locale::id messages<_CharT>::id;
3074
+
3075
+ template <class _CharT>
3076
+ typename messages<_CharT>::catalog messages<_CharT>::do_open(const basic_string<char>& __nm, const locale&) const {
3077
+ # ifdef _LIBCPP_HAS_CATOPEN
3078
+ return (catalog)catopen(__nm.c_str(), NL_CAT_LOCALE);
3079
+ # else // !_LIBCPP_HAS_CATOPEN
3080
+ (void)__nm;
3081
+ return -1;
3082
+ # endif // _LIBCPP_HAS_CATOPEN
3083
+ }
3084
+
3085
+ template <class _CharT>
3086
+ typename messages<_CharT>::string_type
3087
+ messages<_CharT>::do_get(catalog __c, int __set, int __msgid, const string_type& __dflt) const {
3088
+ # ifdef _LIBCPP_HAS_CATOPEN
3089
+ string __ndflt;
3090
+ __narrow_to_utf8<sizeof(char_type) * __CHAR_BIT__>()(
3091
+ std::back_inserter(__ndflt), __dflt.c_str(), __dflt.c_str() + __dflt.size());
3092
+ nl_catd __cat = (nl_catd)__c;
3093
+ static_assert(sizeof(catalog) >= sizeof(nl_catd), "Unexpected nl_catd type");
3094
+ char* __n = catgets(__cat, __set, __msgid, __ndflt.c_str());
3095
+ string_type __w;
3096
+ __widen_from_utf8<sizeof(char_type) * __CHAR_BIT__>()(std::back_inserter(__w), __n, __n + std::strlen(__n));
3097
+ return __w;
3098
+ # else // !_LIBCPP_HAS_CATOPEN
3099
+ (void)__c;
3100
+ (void)__set;
3101
+ (void)__msgid;
3102
+ return __dflt;
3103
+ # endif // _LIBCPP_HAS_CATOPEN
3104
+ }
3105
+
3106
+ template <class _CharT>
3107
+ void messages<_CharT>::do_close(catalog __c) const {
3108
+ # ifdef _LIBCPP_HAS_CATOPEN
3109
+ catclose((nl_catd)__c);
3110
+ # else // !_LIBCPP_HAS_CATOPEN
3111
+ (void)__c;
3112
+ # endif // _LIBCPP_HAS_CATOPEN
3113
+ }
3114
+
3115
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS messages<char>;
3116
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
3117
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS messages<wchar_t>;
3118
+ # endif
3119
+
3120
+ template <class _CharT>
3121
+ class _LIBCPP_TEMPLATE_VIS messages_byname : public messages<_CharT> {
3122
+ public:
3123
+ typedef messages_base::catalog catalog;
3124
+ typedef basic_string<_CharT> string_type;
3125
+
3126
+ _LIBCPP_HIDE_FROM_ABI explicit messages_byname(const char*, size_t __refs = 0) : messages<_CharT>(__refs) {}
3127
+
3128
+ _LIBCPP_HIDE_FROM_ABI explicit messages_byname(const string&, size_t __refs = 0) : messages<_CharT>(__refs) {}
3129
+
3130
+ protected:
3131
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~messages_byname() override {}
3132
+ };
3133
+
3134
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS messages_byname<char>;
3135
+ # ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
3136
+ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS messages_byname<wchar_t>;
3137
+ # endif
3138
+
3139
+ template <class _Codecvt,
3140
+ class _Elem = wchar_t,
3141
+ class _WideAlloc = allocator<_Elem>,
3142
+ class _ByteAlloc = allocator<char> >
3143
+ class _LIBCPP_TEMPLATE_VIS wstring_convert {
3144
+ public:
3145
+ typedef basic_string<char, char_traits<char>, _ByteAlloc> byte_string;
3146
+ typedef basic_string<_Elem, char_traits<_Elem>, _WideAlloc> wide_string;
3147
+ typedef typename _Codecvt::state_type state_type;
3148
+ typedef typename wide_string::traits_type::int_type int_type;
3149
+
3150
+ private:
3151
+ byte_string __byte_err_string_;
3152
+ wide_string __wide_err_string_;
3153
+ _Codecvt* __cvtptr_;
3154
+ state_type __cvtstate_;
3155
+ size_t __cvtcount_;
3156
+
3157
+ public:
3158
+ _LIBCPP_HIDE_FROM_ABI wstring_convert(_Codecvt* __pcvt = new _Codecvt);
3159
+
3160
+ _LIBCPP_HIDE_FROM_ABI wstring_convert(_Codecvt* __pcvt, state_type __state);
3161
+ _LIBCPP_HIDE_FROM_ABI wstring_convert(const byte_string& __byte_err, const wide_string& __wide_err = wide_string());
3162
+ _LIBCPP_HIDE_FROM_ABI ~wstring_convert();
3163
+
3164
+ wstring_convert(const wstring_convert& __wc) = delete;
3165
+ wstring_convert& operator=(const wstring_convert& __wc) = delete;
3166
+
3167
+ _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(char __byte) { return from_bytes(&__byte, &__byte + 1); }
3168
+ _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const char* __ptr) {
3169
+ return from_bytes(__ptr, __ptr + char_traits<char>::length(__ptr));
3170
+ }
3171
+ _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const byte_string& __str) {
3172
+ return from_bytes(__str.data(), __str.data() + __str.size());
3173
+ }
3174
+ _LIBCPP_HIDE_FROM_ABI wide_string from_bytes(const char* __first, const char* __last);
3175
+
3176
+ _LIBCPP_HIDE_FROM_ABI byte_string to_bytes(_Elem __wchar) { return to_bytes(&__wchar, &__wchar + 1); }
3177
+ _LIBCPP_HIDE_FROM_ABI byte_string to_bytes(const _Elem* __wptr) {
3178
+ return to_bytes(__wptr, __wptr + char_traits<_Elem>::length(__wptr));
3179
+ }
3180
+ _LIBCPP_HIDE_FROM_ABI byte_string to_bytes(const wide_string& __wstr) {
3181
+ return to_bytes(__wstr.data(), __wstr.data() + __wstr.size());
3182
+ }
3183
+ _LIBCPP_HIDE_FROM_ABI byte_string to_bytes(const _Elem* __first, const _Elem* __last);
3184
+
3185
+ _LIBCPP_HIDE_FROM_ABI size_t converted() const _NOEXCEPT { return __cvtcount_; }
3186
+ _LIBCPP_HIDE_FROM_ABI state_type state() const { return __cvtstate_; }
3187
+ };
3188
+
3189
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3190
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3191
+ inline wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::wstring_convert(_Codecvt* __pcvt)
3192
+ : __cvtptr_(__pcvt), __cvtstate_(), __cvtcount_(0) {}
3193
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3194
+
3195
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3196
+ inline wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::wstring_convert(_Codecvt* __pcvt, state_type __state)
3197
+ : __cvtptr_(__pcvt), __cvtstate_(__state), __cvtcount_(0) {}
3198
+
3199
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3200
+ wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::wstring_convert(
3201
+ const byte_string& __byte_err, const wide_string& __wide_err)
3202
+ : __byte_err_string_(__byte_err), __wide_err_string_(__wide_err), __cvtstate_(), __cvtcount_(0) {
3203
+ __cvtptr_ = new _Codecvt;
3204
+ }
3205
+
3206
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3207
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3208
+ wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::~wstring_convert() {
3209
+ delete __cvtptr_;
3210
+ }
3211
+
3212
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3213
+ typename wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::wide_string
3214
+ wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::from_bytes(const char* __frm, const char* __frm_end) {
3215
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3216
+ __cvtcount_ = 0;
3217
+ if (__cvtptr_ != nullptr) {
3218
+ wide_string __ws(2 * (__frm_end - __frm), _Elem());
3219
+ if (__frm != __frm_end)
3220
+ __ws.resize(__ws.capacity());
3221
+ codecvt_base::result __r = codecvt_base::ok;
3222
+ state_type __st = __cvtstate_;
3223
+ if (__frm != __frm_end) {
3224
+ _Elem* __to = &__ws[0];
3225
+ _Elem* __to_end = __to + __ws.size();
3226
+ const char* __frm_nxt;
3227
+ do {
3228
+ _Elem* __to_nxt;
3229
+ __r = __cvtptr_->in(__st, __frm, __frm_end, __frm_nxt, __to, __to_end, __to_nxt);
3230
+ __cvtcount_ += __frm_nxt - __frm;
3231
+ if (__frm_nxt == __frm) {
3232
+ __r = codecvt_base::error;
3233
+ } else if (__r == codecvt_base::noconv) {
3234
+ __ws.resize(__to - &__ws[0]);
3235
+ // This only gets executed if _Elem is char
3236
+ __ws.append((const _Elem*)__frm, (const _Elem*)__frm_end);
3237
+ __frm = __frm_nxt;
3238
+ __r = codecvt_base::ok;
3239
+ } else if (__r == codecvt_base::ok) {
3240
+ __ws.resize(__to_nxt - &__ws[0]);
3241
+ __frm = __frm_nxt;
3242
+ } else if (__r == codecvt_base::partial) {
3243
+ ptrdiff_t __s = __to_nxt - &__ws[0];
3244
+ __ws.resize(2 * __s);
3245
+ __to = &__ws[0] + __s;
3246
+ __to_end = &__ws[0] + __ws.size();
3247
+ __frm = __frm_nxt;
3248
+ }
3249
+ } while (__r == codecvt_base::partial && __frm_nxt < __frm_end);
3250
+ }
3251
+ if (__r == codecvt_base::ok)
3252
+ return __ws;
3253
+ }
3254
+
3255
+ if (__wide_err_string_.empty())
3256
+ __throw_range_error("wstring_convert: from_bytes error");
3257
+
3258
+ return __wide_err_string_;
3259
+ }
3260
+
3261
+ template <class _Codecvt, class _Elem, class _WideAlloc, class _ByteAlloc>
3262
+ typename wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::byte_string
3263
+ wstring_convert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::to_bytes(const _Elem* __frm, const _Elem* __frm_end) {
3264
+ __cvtcount_ = 0;
3265
+ if (__cvtptr_ != nullptr) {
3266
+ byte_string __bs(2 * (__frm_end - __frm), char());
3267
+ if (__frm != __frm_end)
3268
+ __bs.resize(__bs.capacity());
3269
+ codecvt_base::result __r = codecvt_base::ok;
3270
+ state_type __st = __cvtstate_;
3271
+ if (__frm != __frm_end) {
3272
+ char* __to = &__bs[0];
3273
+ char* __to_end = __to + __bs.size();
3274
+ const _Elem* __frm_nxt;
3275
+ do {
3276
+ char* __to_nxt;
3277
+ __r = __cvtptr_->out(__st, __frm, __frm_end, __frm_nxt, __to, __to_end, __to_nxt);
3278
+ __cvtcount_ += __frm_nxt - __frm;
3279
+ if (__frm_nxt == __frm) {
3280
+ __r = codecvt_base::error;
3281
+ } else if (__r == codecvt_base::noconv) {
3282
+ __bs.resize(__to - &__bs[0]);
3283
+ // This only gets executed if _Elem is char
3284
+ __bs.append((const char*)__frm, (const char*)__frm_end);
3285
+ __frm = __frm_nxt;
3286
+ __r = codecvt_base::ok;
3287
+ } else if (__r == codecvt_base::ok) {
3288
+ __bs.resize(__to_nxt - &__bs[0]);
3289
+ __frm = __frm_nxt;
3290
+ } else if (__r == codecvt_base::partial) {
3291
+ ptrdiff_t __s = __to_nxt - &__bs[0];
3292
+ __bs.resize(2 * __s);
3293
+ __to = &__bs[0] + __s;
3294
+ __to_end = &__bs[0] + __bs.size();
3295
+ __frm = __frm_nxt;
3296
+ }
3297
+ } while (__r == codecvt_base::partial && __frm_nxt < __frm_end);
3298
+ }
3299
+ if (__r == codecvt_base::ok) {
3300
+ size_t __s = __bs.size();
3301
+ __bs.resize(__bs.capacity());
3302
+ char* __to = &__bs[0] + __s;
3303
+ char* __to_end = __to + __bs.size();
3304
+ do {
3305
+ char* __to_nxt;
3306
+ __r = __cvtptr_->unshift(__st, __to, __to_end, __to_nxt);
3307
+ if (__r == codecvt_base::noconv) {
3308
+ __bs.resize(__to - &__bs[0]);
3309
+ __r = codecvt_base::ok;
3310
+ } else if (__r == codecvt_base::ok) {
3311
+ __bs.resize(__to_nxt - &__bs[0]);
3312
+ } else if (__r == codecvt_base::partial) {
3313
+ ptrdiff_t __sp = __to_nxt - &__bs[0];
3314
+ __bs.resize(2 * __sp);
3315
+ __to = &__bs[0] + __sp;
3316
+ __to_end = &__bs[0] + __bs.size();
3317
+ }
3318
+ } while (__r == codecvt_base::partial);
3319
+ if (__r == codecvt_base::ok)
3320
+ return __bs;
3321
+ }
3322
+ }
3323
+
3324
+ if (__byte_err_string_.empty())
3325
+ __throw_range_error("wstring_convert: to_bytes error");
3326
+
3327
+ return __byte_err_string_;
3328
+ }
3329
+
3330
+ template <class _Codecvt, class _Elem = wchar_t, class _Tr = char_traits<_Elem> >
3331
+ class _LIBCPP_TEMPLATE_VIS wbuffer_convert : public basic_streambuf<_Elem, _Tr> {
3332
+ public:
3333
+ // types:
3334
+ typedef _Elem char_type;
3335
+ typedef _Tr traits_type;
3336
+ typedef typename traits_type::int_type int_type;
3337
+ typedef typename traits_type::pos_type pos_type;
3338
+ typedef typename traits_type::off_type off_type;
3339
+ typedef typename _Codecvt::state_type state_type;
3340
+
3341
+ private:
3342
+ char* __extbuf_;
3343
+ const char* __extbufnext_;
3344
+ const char* __extbufend_;
3345
+ char __extbuf_min_[8];
3346
+ size_t __ebs_;
3347
+ char_type* __intbuf_;
3348
+ size_t __ibs_;
3349
+ streambuf* __bufptr_;
3350
+ _Codecvt* __cv_;
3351
+ state_type __st_;
3352
+ ios_base::openmode __cm_;
3353
+ bool __owns_eb_;
3354
+ bool __owns_ib_;
3355
+ bool __always_noconv_;
3356
+
3357
+ public:
3358
+ _LIBCPP_HIDE_FROM_ABI
3359
+ wbuffer_convert(streambuf* __bytebuf = nullptr, _Codecvt* __pcvt = new _Codecvt, state_type __state = state_type());
3360
+
3361
+ _LIBCPP_HIDE_FROM_ABI ~wbuffer_convert();
3362
+
3363
+ _LIBCPP_HIDE_FROM_ABI streambuf* rdbuf() const { return __bufptr_; }
3364
+ _LIBCPP_HIDE_FROM_ABI streambuf* rdbuf(streambuf* __bytebuf) {
3365
+ streambuf* __r = __bufptr_;
3366
+ __bufptr_ = __bytebuf;
3367
+ return __r;
3368
+ }
3369
+
3370
+ wbuffer_convert(const wbuffer_convert&) = delete;
3371
+ wbuffer_convert& operator=(const wbuffer_convert&) = delete;
3372
+
3373
+ _LIBCPP_HIDE_FROM_ABI state_type state() const { return __st_; }
3374
+
3375
+ protected:
3376
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int_type underflow();
3377
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int_type pbackfail(int_type __c = traits_type::eof());
3378
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int_type overflow(int_type __c = traits_type::eof());
3379
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* __s, streamsize __n);
3380
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual pos_type
3381
+ seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_base::out);
3382
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual pos_type
3383
+ seekpos(pos_type __sp, ios_base::openmode __wch = ios_base::in | ios_base::out);
3384
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int sync();
3385
+
3386
+ private:
3387
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool __read_mode();
3388
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL void __write_mode();
3389
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL wbuffer_convert* __close();
3390
+ };
3391
+
3392
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3393
+ template <class _Codecvt, class _Elem, class _Tr>
3394
+ wbuffer_convert<_Codecvt, _Elem, _Tr>::wbuffer_convert(streambuf* __bytebuf, _Codecvt* __pcvt, state_type __state)
3395
+ : __extbuf_(nullptr),
3396
+ __extbufnext_(nullptr),
3397
+ __extbufend_(nullptr),
3398
+ __ebs_(0),
3399
+ __intbuf_(0),
3400
+ __ibs_(0),
3401
+ __bufptr_(__bytebuf),
3402
+ __cv_(__pcvt),
3403
+ __st_(__state),
3404
+ __cm_(0),
3405
+ __owns_eb_(false),
3406
+ __owns_ib_(false),
3407
+ __always_noconv_(__cv_ ? __cv_->always_noconv() : false) {
3408
+ setbuf(0, 4096);
3409
+ }
3410
+
3411
+ template <class _Codecvt, class _Elem, class _Tr>
3412
+ wbuffer_convert<_Codecvt, _Elem, _Tr>::~wbuffer_convert() {
3413
+ __close();
3414
+ delete __cv_;
3415
+ if (__owns_eb_)
3416
+ delete[] __extbuf_;
3417
+ if (__owns_ib_)
3418
+ delete[] __intbuf_;
3419
+ }
3420
+
3421
+ template <class _Codecvt, class _Elem, class _Tr>
3422
+ typename wbuffer_convert<_Codecvt, _Elem, _Tr>::int_type wbuffer_convert<_Codecvt, _Elem, _Tr>::underflow() {
3423
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3424
+ if (__cv_ == 0 || __bufptr_ == nullptr)
3425
+ return traits_type::eof();
3426
+ bool __initial = __read_mode();
3427
+ char_type __1buf;
3428
+ if (this->gptr() == 0)
3429
+ this->setg(&__1buf, &__1buf + 1, &__1buf + 1);
3430
+ const size_t __unget_sz = __initial ? 0 : std::min<size_t>((this->egptr() - this->eback()) / 2, 4);
3431
+ int_type __c = traits_type::eof();
3432
+ if (this->gptr() == this->egptr()) {
3433
+ std::memmove(this->eback(), this->egptr() - __unget_sz, __unget_sz * sizeof(char_type));
3434
+ if (__always_noconv_) {
3435
+ streamsize __nmemb = static_cast<streamsize>(this->egptr() - this->eback() - __unget_sz);
3436
+ __nmemb = __bufptr_->sgetn((char*)this->eback() + __unget_sz, __nmemb);
3437
+ if (__nmemb != 0) {
3438
+ this->setg(this->eback(), this->eback() + __unget_sz, this->eback() + __unget_sz + __nmemb);
3439
+ __c = *this->gptr();
3440
+ }
3441
+ } else {
3442
+ if (__extbufend_ != __extbufnext_) {
3443
+ _LIBCPP_ASSERT_NON_NULL(__extbufnext_ != nullptr, "underflow moving from nullptr");
3444
+ _LIBCPP_ASSERT_NON_NULL(__extbuf_ != nullptr, "underflow moving into nullptr");
3445
+ std::memmove(__extbuf_, __extbufnext_, __extbufend_ - __extbufnext_);
3446
+ }
3447
+ __extbufnext_ = __extbuf_ + (__extbufend_ - __extbufnext_);
3448
+ __extbufend_ = __extbuf_ + (__extbuf_ == __extbuf_min_ ? sizeof(__extbuf_min_) : __ebs_);
3449
+ streamsize __nmemb = std::min(static_cast<streamsize>(this->egptr() - this->eback() - __unget_sz),
3450
+ static_cast<streamsize>(__extbufend_ - __extbufnext_));
3451
+ codecvt_base::result __r;
3452
+ // FIXME: Do we ever need to restore the state here?
3453
+ // state_type __svs = __st_;
3454
+ streamsize __nr = __bufptr_->sgetn(const_cast<char*>(__extbufnext_), __nmemb);
3455
+ if (__nr != 0) {
3456
+ __extbufend_ = __extbufnext_ + __nr;
3457
+ char_type* __inext;
3458
+ __r = __cv_->in(
3459
+ __st_, __extbuf_, __extbufend_, __extbufnext_, this->eback() + __unget_sz, this->egptr(), __inext);
3460
+ if (__r == codecvt_base::noconv) {
3461
+ this->setg((char_type*)__extbuf_, (char_type*)__extbuf_, (char_type*)const_cast<char*>(__extbufend_));
3462
+ __c = *this->gptr();
3463
+ } else if (__inext != this->eback() + __unget_sz) {
3464
+ this->setg(this->eback(), this->eback() + __unget_sz, __inext);
3465
+ __c = *this->gptr();
3466
+ }
3467
+ }
3468
+ }
3469
+ } else
3470
+ __c = *this->gptr();
3471
+ if (this->eback() == &__1buf)
3472
+ this->setg(0, 0, 0);
3473
+ return __c;
3474
+ }
3475
+
3476
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3477
+ template <class _Codecvt, class _Elem, class _Tr>
3478
+ typename wbuffer_convert<_Codecvt, _Elem, _Tr>::int_type
3479
+ wbuffer_convert<_Codecvt, _Elem, _Tr>::pbackfail(int_type __c) {
3480
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3481
+ if (__cv_ != 0 && __bufptr_ && this->eback() < this->gptr()) {
3482
+ if (traits_type::eq_int_type(__c, traits_type::eof())) {
3483
+ this->gbump(-1);
3484
+ return traits_type::not_eof(__c);
3485
+ }
3486
+ if (traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1])) {
3487
+ this->gbump(-1);
3488
+ *this->gptr() = traits_type::to_char_type(__c);
3489
+ return __c;
3490
+ }
3491
+ }
3492
+ return traits_type::eof();
3493
+ }
3494
+
3495
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3496
+ template <class _Codecvt, class _Elem, class _Tr>
3497
+ typename wbuffer_convert<_Codecvt, _Elem, _Tr>::int_type wbuffer_convert<_Codecvt, _Elem, _Tr>::overflow(int_type __c) {
3498
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3499
+ if (__cv_ == 0 || !__bufptr_)
3500
+ return traits_type::eof();
3501
+ __write_mode();
3502
+ char_type __1buf;
3503
+ char_type* __pb_save = this->pbase();
3504
+ char_type* __epb_save = this->epptr();
3505
+ if (!traits_type::eq_int_type(__c, traits_type::eof())) {
3506
+ if (this->pptr() == 0)
3507
+ this->setp(&__1buf, &__1buf + 1);
3508
+ *this->pptr() = traits_type::to_char_type(__c);
3509
+ this->pbump(1);
3510
+ }
3511
+ if (this->pptr() != this->pbase()) {
3512
+ if (__always_noconv_) {
3513
+ streamsize __nmemb = static_cast<streamsize>(this->pptr() - this->pbase());
3514
+ if (__bufptr_->sputn((const char*)this->pbase(), __nmemb) != __nmemb)
3515
+ return traits_type::eof();
3516
+ } else {
3517
+ char* __extbe = __extbuf_;
3518
+ codecvt_base::result __r;
3519
+ do {
3520
+ const char_type* __e;
3521
+ __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe);
3522
+ if (__e == this->pbase())
3523
+ return traits_type::eof();
3524
+ if (__r == codecvt_base::noconv) {
3525
+ streamsize __nmemb = static_cast<size_t>(this->pptr() - this->pbase());
3526
+ if (__bufptr_->sputn((const char*)this->pbase(), __nmemb) != __nmemb)
3527
+ return traits_type::eof();
3528
+ } else if (__r == codecvt_base::ok || __r == codecvt_base::partial) {
3529
+ streamsize __nmemb = static_cast<size_t>(__extbe - __extbuf_);
3530
+ if (__bufptr_->sputn(__extbuf_, __nmemb) != __nmemb)
3531
+ return traits_type::eof();
3532
+ if (__r == codecvt_base::partial) {
3533
+ this->setp(const_cast<char_type*>(__e), this->pptr());
3534
+ this->__pbump(this->epptr() - this->pbase());
3535
+ }
3536
+ } else
3537
+ return traits_type::eof();
3538
+ } while (__r == codecvt_base::partial);
3539
+ }
3540
+ this->setp(__pb_save, __epb_save);
3541
+ }
3542
+ return traits_type::not_eof(__c);
3543
+ }
3544
+
3545
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3546
+ template <class _Codecvt, class _Elem, class _Tr>
3547
+ basic_streambuf<_Elem, _Tr>* wbuffer_convert<_Codecvt, _Elem, _Tr>::setbuf(char_type* __s, streamsize __n) {
3548
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3549
+ this->setg(0, 0, 0);
3550
+ this->setp(0, 0);
3551
+ if (__owns_eb_)
3552
+ delete[] __extbuf_;
3553
+ if (__owns_ib_)
3554
+ delete[] __intbuf_;
3555
+ __ebs_ = __n;
3556
+ if (__ebs_ > sizeof(__extbuf_min_)) {
3557
+ if (__always_noconv_ && __s) {
3558
+ __extbuf_ = (char*)__s;
3559
+ __owns_eb_ = false;
3560
+ } else {
3561
+ __extbuf_ = new char[__ebs_];
3562
+ __owns_eb_ = true;
3563
+ }
3564
+ } else {
3565
+ __extbuf_ = __extbuf_min_;
3566
+ __ebs_ = sizeof(__extbuf_min_);
3567
+ __owns_eb_ = false;
3568
+ }
3569
+ if (!__always_noconv_) {
3570
+ __ibs_ = max<streamsize>(__n, sizeof(__extbuf_min_));
3571
+ if (__s && __ibs_ >= sizeof(__extbuf_min_)) {
3572
+ __intbuf_ = __s;
3573
+ __owns_ib_ = false;
3574
+ } else {
3575
+ __intbuf_ = new char_type[__ibs_];
3576
+ __owns_ib_ = true;
3577
+ }
3578
+ } else {
3579
+ __ibs_ = 0;
3580
+ __intbuf_ = 0;
3581
+ __owns_ib_ = false;
3582
+ }
3583
+ return this;
3584
+ }
3585
+
3586
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3587
+ template <class _Codecvt, class _Elem, class _Tr>
3588
+ typename wbuffer_convert<_Codecvt, _Elem, _Tr>::pos_type
3589
+ wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __om) {
3590
+ int __width = __cv_->encoding();
3591
+ if (__cv_ == 0 || !__bufptr_ || (__width <= 0 && __off != 0) || sync())
3592
+ return pos_type(off_type(-1));
3593
+ // __width > 0 || __off == 0, now check __way
3594
+ if (__way != ios_base::beg && __way != ios_base::cur && __way != ios_base::end)
3595
+ return pos_type(off_type(-1));
3596
+ pos_type __r = __bufptr_->pubseekoff(__width * __off, __way, __om);
3597
+ __r.state(__st_);
3598
+ return __r;
3599
+ }
3600
+
3601
+ template <class _Codecvt, class _Elem, class _Tr>
3602
+ typename wbuffer_convert<_Codecvt, _Elem, _Tr>::pos_type
3603
+ wbuffer_convert<_Codecvt, _Elem, _Tr>::seekpos(pos_type __sp, ios_base::openmode __wch) {
3604
+ if (__cv_ == 0 || !__bufptr_ || sync())
3605
+ return pos_type(off_type(-1));
3606
+ if (__bufptr_->pubseekpos(__sp, __wch) == pos_type(off_type(-1)))
3607
+ return pos_type(off_type(-1));
3608
+ return __sp;
3609
+ }
3610
+
3611
+ template <class _Codecvt, class _Elem, class _Tr>
3612
+ int wbuffer_convert<_Codecvt, _Elem, _Tr>::sync() {
3613
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3614
+ if (__cv_ == 0 || !__bufptr_)
3615
+ return 0;
3616
+ if (__cm_ & ios_base::out) {
3617
+ if (this->pptr() != this->pbase())
3618
+ if (overflow() == traits_type::eof())
3619
+ return -1;
3620
+ codecvt_base::result __r;
3621
+ do {
3622
+ char* __extbe;
3623
+ __r = __cv_->unshift(__st_, __extbuf_, __extbuf_ + __ebs_, __extbe);
3624
+ streamsize __nmemb = static_cast<streamsize>(__extbe - __extbuf_);
3625
+ if (__bufptr_->sputn(__extbuf_, __nmemb) != __nmemb)
3626
+ return -1;
3627
+ } while (__r == codecvt_base::partial);
3628
+ if (__r == codecvt_base::error)
3629
+ return -1;
3630
+ if (__bufptr_->pubsync())
3631
+ return -1;
3632
+ } else if (__cm_ & ios_base::in) {
3633
+ off_type __c;
3634
+ if (__always_noconv_)
3635
+ __c = this->egptr() - this->gptr();
3636
+ else {
3637
+ int __width = __cv_->encoding();
3638
+ __c = __extbufend_ - __extbufnext_;
3639
+ if (__width > 0)
3640
+ __c += __width * (this->egptr() - this->gptr());
3641
+ else {
3642
+ if (this->gptr() != this->egptr()) {
3643
+ std::reverse(this->gptr(), this->egptr());
3644
+ codecvt_base::result __r;
3645
+ const char_type* __e = this->gptr();
3646
+ char* __extbe;
3647
+ do {
3648
+ __r = __cv_->out(__st_, __e, this->egptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe);
3649
+ switch (__r) {
3650
+ case codecvt_base::noconv:
3651
+ __c += this->egptr() - this->gptr();
3652
+ break;
3653
+ case codecvt_base::ok:
3654
+ case codecvt_base::partial:
3655
+ __c += __extbe - __extbuf_;
3656
+ break;
3657
+ default:
3658
+ return -1;
3659
+ }
3660
+ } while (__r == codecvt_base::partial);
3661
+ }
3662
+ }
3663
+ }
3664
+ if (__bufptr_->pubseekoff(-__c, ios_base::cur, __cm_) == pos_type(off_type(-1)))
3665
+ return -1;
3666
+ this->setg(0, 0, 0);
3667
+ __cm_ = 0;
3668
+ }
3669
+ return 0;
3670
+ }
3671
+
3672
+ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
3673
+ template <class _Codecvt, class _Elem, class _Tr>
3674
+ bool wbuffer_convert<_Codecvt, _Elem, _Tr>::__read_mode() {
3675
+ if (!(__cm_ & ios_base::in)) {
3676
+ this->setp(0, 0);
3677
+ if (__always_noconv_)
3678
+ this->setg((char_type*)__extbuf_, (char_type*)__extbuf_ + __ebs_, (char_type*)__extbuf_ + __ebs_);
3679
+ else
3680
+ this->setg(__intbuf_, __intbuf_ + __ibs_, __intbuf_ + __ibs_);
3681
+ __cm_ = ios_base::in;
3682
+ return true;
3683
+ }
3684
+ return false;
3685
+ }
3686
+
3687
+ template <class _Codecvt, class _Elem, class _Tr>
3688
+ void wbuffer_convert<_Codecvt, _Elem, _Tr>::__write_mode() {
3689
+ if (!(__cm_ & ios_base::out)) {
3690
+ this->setg(0, 0, 0);
3691
+ if (__ebs_ > sizeof(__extbuf_min_)) {
3692
+ if (__always_noconv_)
3693
+ this->setp((char_type*)__extbuf_, (char_type*)__extbuf_ + (__ebs_ - 1));
3694
+ else
3695
+ this->setp(__intbuf_, __intbuf_ + (__ibs_ - 1));
3696
+ } else
3697
+ this->setp(0, 0);
3698
+ __cm_ = ios_base::out;
3699
+ }
3700
+ }
3701
+
3702
+ template <class _Codecvt, class _Elem, class _Tr>
3703
+ wbuffer_convert<_Codecvt, _Elem, _Tr>* wbuffer_convert<_Codecvt, _Elem, _Tr>::__close() {
3704
+ wbuffer_convert* __rt = nullptr;
3705
+ if (__cv_ != nullptr && __bufptr_ != nullptr) {
3706
+ __rt = this;
3707
+ if ((__cm_ & ios_base::out) && sync())
3708
+ __rt = nullptr;
3709
+ }
3710
+ return __rt;
3711
+ }
3712
+
3713
+ _LIBCPP_SUPPRESS_DEPRECATED_POP
3714
+
3715
+ _LIBCPP_END_NAMESPACE_STD
3716
+
3717
+ _LIBCPP_POP_MACROS
3718
+
3719
+ // NOLINTEND(libcpp-robust-against-adl)
3720
+
3721
+ #endif // !defined(_LIBCPP_HAS_NO_LOCALIZATION)
3722
+
3723
+ #if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES)
3724
+ # include <__cxx03/atomic>
3725
+ # include <__cxx03/cstdarg>
3726
+ # include <__cxx03/iterator>
3727
+ # include <__cxx03/mutex>
3728
+ # include <__cxx03/stdexcept>
3729
+ # include <__cxx03/type_traits>
3730
+ # include <__cxx03/typeinfo>
3731
+ #endif
3732
+
3733
+ #endif // _LIBCPP___CXX03_LOCALE