Changes between Version 4 and Version 5 of C++Features


Ignore:
Timestamp:
Aug 12, 2025, 2:45:58 PM (2 months ago)
Author:
pett
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C++Features

    v4 v5  
    1010
    1111        for (auto i = 1u; I < ast.nodes.size(); ++i) {
     12
     13== Decltype ==
     14
     15Same purpose as typedef, ensure declarations have the same type, but sometimes more convenient, or better if the type isn't something you have direct control over:
     16
     17{{{
     18            auto list_size = PySequence_Fast_GET_SIZE(models);
     19            for (decltype(list_size) i = 0; i < list_size; ++i)
     20}}}
    1221
    1322== Initializer Lists ==