TGViewer
this->notes. this->notes. @thisnotes · 4.51K subscribers
Post #83 498
#cpp #proposals #rep
Тут можно посмотреть статус большинства proposals.
https://github.com/cplusplus/papers/issues

А вот новая подборка proposals:

1. Рассмотрим вот такой код:
using Int = int;
assert(std::is_same_v<Int, int>);

Знаете ли вы, что он не скомпилируется? Для решения этой проблемы был предложен http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2264r2.html .

2. std::execution как часть стандартной библиотеки для работы с асинхронностью: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2300r2.html .

3. constexpr class: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2350r2.pdf .
Единственное, что считаю нужным отметить: субъективно, мне бы хотелось чтобы это так и выглядело constexpr class A, а не как предлагается class A constexpr, ведь constexpr это, можно сказать, модификатор типа, и в 1м варианте код будет более консистентым.

4. A more constexpr bitset: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2417r1.pdf .

5. std::string::substr &&
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2438r0.html
More from @thisnotes
  1. Sep 25, 2026Спасибо большое!
  2. Sep 25, 2026Post #525
  3. Sep 25, 2026Post #524
  4. Sep 25, 2026Post #523
  5. Sep 25, 2026Post #522
  6. Sep 25, 2026Post #521
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →