xref: /llvm-project/libcxx/test/libcxx/feature_test_macro/test_data.json (revision c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c)
1[
2  {
3    "name": "__cpp_lib_any",
4    "values": {
5      "c++17": {
6        "201606": [
7          {
8            "implemented": true
9          }
10        ]
11      }
12    },
13    "headers": [
14      "any"
15    ]
16  },
17  {
18    "name": "__cpp_lib_barrier",
19    "values": {
20      "c++20": {
21        "201907": [
22          {
23            "implemented": true
24          }
25        ]
26      },
27      "c++26": {
28        "299900": [
29          {
30            "implemented": true
31          }
32        ]
33      }
34    },
35    "headers": [
36      "barrier"
37    ],
38    "test_suite_guard": "!defined(_LIBCPP_VERSION) || (_LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC)",
39    "libcxx_guard": "_LIBCPP_HAS_THREADS && _LIBCPP_AVAILABILITY_HAS_SYNC"
40  },
41  {
42    "name": "__cpp_lib_format",
43    "values": {
44      "c++20": {
45        "201907": [
46          {
47            "number": "P0645R10",
48            "title": "Text Formatting",
49            "implemented": true
50          },
51          {
52            "number": "P1361R2",
53            "title": "Integration of chrono with text formatting",
54            "implemented": false
55          }
56        ],
57        "202106": [
58          {
59            "number": "P2216R3",
60            "title": "std::format improvements",
61            "implemented": true
62          }
63        ],
64        "202110": [
65          {
66            "number": "P2372R3",
67            "title": "Fixing locale handling in chrono formatters",
68            "implemented": false
69          },
70          {
71            "number": "P2418R2",
72            "title": "FAdd support for std::generator-like types to std::format",
73            "implemented": true
74          }
75        ]
76      },
77      "c++23": {
78        "202207": [
79          {
80            "number": "P2419R2",
81            "title": "Clarify handling of encodings in localized formatting of chrono types",
82            "implemented": false
83          }
84        ]
85      },
86      "c++26": {
87        "202306": [
88          {
89            "number": "P2637R3",
90            "title": "Member Visit",
91            "implemented": true
92          }
93        ],
94        "202311": [
95          {
96            "number": "P2918R2",
97            "title": "Runtime format strings II",
98            "implemented": true
99          }
100        ]
101      }
102    },
103    "headers": [
104      "format"
105    ]
106  },
107  {
108    "name": "__cpp_lib_parallel_algorithm",
109    "values": {
110      "c++17": {
111        "201603": [
112          {
113            "implemented": true
114          }
115        ]
116      }
117    },
118    "headers": [
119      "algorithm",
120      "numeric"
121    ]
122  },
123  {
124    "name": "__cpp_lib_variant",
125    "values": {
126      "c++17": {
127        "202102": [
128          {
129            "title": "``std::visit`` for classes derived from ``std::variant``",
130            "implemented": true
131          }
132        ]
133      },
134      "c++20": {
135        "202106": [
136          {
137            "number": "",
138            "title": "Fully constexpr ``std::variant``",
139            "implemented": false
140          }
141        ]
142      },
143      "c++26": {
144        "202306": [
145          {
146            "number": "",
147            "title": "Member visit",
148            "implemented": true
149          }
150        ]
151      }
152    },
153    "headers": [
154      "variant"
155    ]
156  },
157  {
158    "name": "__cpp_lib_missing_FTM_in_older_standard",
159    "values": {
160      "c++17": {
161        "2017": [
162          {
163            "title": "Some FTM missing a paper in an older Standard mode, which should result in the FTM never being defined.",
164            "implemented": false
165          }
166        ]
167      },
168      "c++20": {
169        "2020": [
170          {
171            "title": "",
172            "implemented": true
173          }
174        ]
175      },
176      "c++26": {
177        "2026": [
178          {
179            "title": "",
180            "implemented": true
181          }
182        ]
183      }
184    },
185    "headers": []
186  }
187]
188