Lines Matching defs:std

23         "std",
62 # `test/std/` parts of the test suite are intended to be
289 # "c++26": 202306, # P2592R3 Hashing support for std::chrono value classes
535 "values": {"c++26": 202403}, # P2845R8: Formatting of std::filesystem::path
958 "c++20": 202106, # P2231R1 Missing constexpr in std::optional and std::variant
959 "c++23": 202110, # P0798R8 Monadic operations for std::optional + LWG3621 Remove feature-test macro __cpp_lib_monadic_optional
965 "values": {"c++26": 202406}, # P3168R2 Give std::optional Range Support
1003 # "c++26": 202403, # P3107R5: Permit an efficient implementation of std::print
1004 # "c++26": 202406, # P3235R3 std::print more types faster with less memory
1027 # 202311 # DR P2836R1 std::basic_const_iterator should follow its underlying type’s convertibility
1173 "values": {"c++26": 202406}, # P2300R10 std::execution
1240 "values": {"c++26": 202311}, # P2447R6 std::span over an initializer list
1422 "c++17": 202102, # std::visit for classes derived from std::variant
1423 "c++20": 202106, # P2231R1 Missing constexpr in std::optional and std::variant
1494 def get_std_before(d, std):
1496 candidates = std_dialects[0 : std_dialects.index(std)]
1504 def get_value_before(d, std):
1505 new_std = get_std_before(d, std)
1511 def get_for_std(d, std):
1515 if std not in std_dialects:
1517 # Find the value for the newest C++ dialect between C++14 and std
1518 std_list = list(std_dialects[0 : std_dialects.index(std) + 1])
1526 def get_std_number(std):
1527 return std.replace("c++", "")
1535 def produce_macros_definition_for_std(std):
1539 if std not in tc["values"]:
1545 if get_value_before(tc["values"], std) is not None:
1550 line += " %sL" % tc["values"][std]
1566 for std in get_std_dialects():
1569 std_number=get_std_number(std),
1570 macro_definition=produce_macros_definition_for_std(std),
1685 # error "{name} should be defined in {std}"
1688 # error "{name} should have the value {value} in {std}"
1699 # error "{name} should be defined in {std}"
1702 # error "{name} should have the value {value} in {std}"
1712 # error "{name} should be defined in {std}"
1715 # error "{name} should have the value {value} in {std}"
1721 def generate_std_test(test_list, std):
1724 val = get_for_std(tc["values"], std)
1733 name=tc["name"], value=val, std=std
1739 std=std,
1743 result += test_types["defined"].format(name=tc["name"], value=val, std=std)
1763 for std in std_dialects[:-1]:
1764 other_std_tests.append("#elif TEST_STD_VER == " + get_std_number(std))
1765 other_std_tests.append(generate_std_test(test_list, std))
1791 for std in [s for s in get_std_dialects() if s in tc["values"].keys()]:
1793 prefix, "%sL [%s]" % (tc["values"][std], std.replace("c++", "C++"))
1900 for std in get_std_dialects():
1901 table += [["**" + std.replace("c++", "C++") + "**", ""]]
1903 if std not in tc["values"].keys():
1905 value = "``%sL``" % tc["values"][std]
1956 for std in std_dialects:
1957 if std not in feature["values"].keys():
1961 entry[std] = last
1964 values = feature["values"][std]
1965 assert len(values) > 0, f"{feature['name']}[{std}] has no entries"
1970 ), f"{feature['name']}[{std}][{value}] has no entries"
1980 entry[std] = last
2024 for std, ftms in data.items():
2027 dialect=std,
2043 https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations#library-feature-test-macros
2108 # because the `test/std/` parts of the test suite are intended to be
2213 for std in self.std_dialects:
2214 result[get_std_number(std)] = list()
2219 for std, value in values.items():
2228 entry["implemented"] = self.implemented_ftms[ftm][std] == self.standard_ftms[ftm][std]
2233 result[get_std_number(std)].append(dict({ftm: entry}))