97_veschey_kotorye_dolzhen_znat_kazhdy_programmist.pdf
801.2 KB
#common
Я бы не сказал, что прямо надо это знать, но мысли местами интересные.
Я бы не сказал, что прямо надо это знать, но мысли местами интересные.
#cpp
Некоторые малоизвестные возможности
https://devblogs.microsoft.com/oldnewthing/20211004-00/?p=105754
Некоторые малоизвестные возможности
std::optional.https://devblogs.microsoft.com/oldnewthing/20211004-00/?p=105754
#poll
Есть ли тут какие-то проблемы? Можно обсудить в cumментариях. Завтра выложу ответ(если его никто не пробьёт).
Есть ли тут какие-то проблемы? Можно обсудить в cumментариях. Завтра выложу ответ(если его никто не пробьёт).
#cpp #rep
Convert an enum to a string.
1. https://belaycpp.com/2021/08/24/best-ways-to-convert-an-enum-to-a-string/
2. https://github.com/Neargye/magic_enum
Convert an enum to a string.
1. https://belaycpp.com/2021/08/24/best-ways-to-convert-an-enum-to-a-string/
2. https://github.com/Neargye/magic_enum
#cpp
Why the keyword class has no more reason to exist.
https://belaycpp.com/2021/09/17/history-of-c-explanation-on-why-the-keyword-class-has-no-more-reason-to-exist/
Why the keyword class has no more reason to exist.
https://belaycpp.com/2021/09/17/history-of-c-explanation-on-why-the-keyword-class-has-no-more-reason-to-exist/
#cpp #proposals #rep
Тут можно посмотреть статус большинства proposals.
https://github.com/cplusplus/papers/issues
А вот новая подборка proposals:
1. Рассмотрим вот такой код:
Знаете ли вы, что он не скомпилируется? Для решения этой проблемы был предложен http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2264r2.html .
2.
3. constexpr class: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2350r2.pdf .
Единственное, что считаю нужным отметить: субъективно, мне бы хотелось чтобы это так и выглядело
4. A more constexpr bitset: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2417r1.pdf .
5.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2438r0.html
Тут можно посмотреть статус большинства 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
#cpp
0. [History of C++] Templates: from C-style macros to concepts.
https://belaycpp.com/2021/10/01/history-of-c-templates-from-c-style-macros-to-concepts/
1. Stringy templates.
https://vector-of-bool.github.io/2021/10/22/string-templates.html
2. The flat mixin(название интригует, да?).
https://groundswellaudio.github.io/posts/cpp_the_flat_mixin/
3. Flexible reflection system in C++(in 2 parts).
https://preshing.com/20180116/a-primitive-reflection-system-in-cpp-part-1/
0. [History of C++] Templates: from C-style macros to concepts.
https://belaycpp.com/2021/10/01/history-of-c-templates-from-c-style-macros-to-concepts/
1. Stringy templates.
https://vector-of-bool.github.io/2021/10/22/string-templates.html
2. The flat mixin(название интригует, да?).
https://groundswellaudio.github.io/posts/cpp_the_flat_mixin/
3. Flexible reflection system in C++(in 2 parts).
https://preshing.com/20180116/a-primitive-reflection-system-in-cpp-part-1/
#cpp
Как работают исключения в С++.
Серия переводов: https://habr.com/ru/post/279111/
или оригинал: https://monkeywritescode.blogspot.com/p/c-exceptions-under-hood.html .
Как работают исключения в С++.
Серия переводов: https://habr.com/ru/post/279111/
или оригинал: https://monkeywritescode.blogspot.com/p/c-exceptions-under-hood.html .
#common #fun
Требования к паролям -- полная чушь.
https://habr.com/ru/company/productivity_inside/blog/323864/
Требования к паролям -- полная чушь.
https://habr.com/ru/company/productivity_inside/blog/323864/