The Dynamic Landscape of C++ Standardization
C++
I'm C++ Software Engineer
I'm also heavily involved in the international C++ community
Speaker and organizer of C++ conferences
A leader in C++ standardization committee
#include <iostream>
int Multiply(int n) {
return n * 2;
}
int main()
{
std::array<int, 10> res = {0};
// Initialize data by 0-9
for (int i = 0 ; i < SIZE ; i++) {
res[i] = i;
}
// Update data values (calling Multiply)
for (int i = 0 ; i < SIZE ; i++) {
res[i] = Multiply(res[i]);
}
// Print data values [0, 2, 4, ..., 18]
int i = 0;
std::cout << "[";
for (; i < SIZE - 1 ; i++) {
std::cout << res[i] << ", ";
}
std::cout << res[i] << "]\n";
}
https://godbolt.org/z/P9Eer3sK7
#include <ranges>
#include <print>
#include <vector>
int main()
{
auto res = std::views::iota(0, 10)
| std::views::transform([](const auto i){
return i*2;
});
std::println("{}", res);
}
https://godbolt.org/z/75fvGv5nq
(C++11: lambdas)
C++98
C++23
(C++14: auto)
C++98
C++23
Compiled
(to Byte Code)
Languages
Compiled Languages
Interpreted
Languages
(C++17: transform)
* this one is C++20 "transform"
C++98
C++23
(C++20: ranges (and views))
C++98
C++23
(C++23: print)
C++98
C++23
From https://www.reddit.com/r/cpp/comments/17vnfqq/
202311_kona_iso_c_committee_trip_report_second/
Herb Sutter
WG21 Convenor
Prf. Bjarne Stroustrup
C++ Inventor
First Appeared
First standard release
(worked on since 89')
Bug fixes
(Second release)
Bug fixes
Major release
(Start 3 years cycle)
Major release
Major release
Major release
Major release
13 Years
5 Years
8 Years
3 Y
3 Y
3 Y
3 Y
3 Y
From https://isocpp.org/ (by Herb Sutter)
From https://isocpp.org/ (by Herb Sutter)
"pointers provenance" - how long can the mail thread be?
350
Where YOU come in!
Inbal Levi
sinbal2lextra@gmail.com
linkedin/inballevi
Stay in touch!