Changes between Version 4 and Version 5 of C++Features
- Timestamp:
- Aug 12, 2025, 2:45:58 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C++Features
v4 v5 10 10 11 11 for (auto i = 1u; I < ast.nodes.size(); ++i) { 12 13 == Decltype == 14 15 Same 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 }}} 12 21 13 22 == Initializer Lists ==