Why do I have to add one when setting a class background brush to a system color?
Источник: The Old New Thing
Источник: The Old New Thing
The Old New Thing
Why do I have to add one when setting a class background brush to a system color?
When you register a window class, you can specify that the background color is a system color by adding one to the system color index, and then casting the result to HBRUSH: WNDCLASS wc; ... wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); Why do we add one?
The Evolutions of Lambdas in C++14, C++17 and C++20--Jonathan Boccara
Источник: isocpp.org (Standard C++)
Источник: isocpp.org (Standard C++)
Extending and Simplifying C++: Thoughts on Pattern Matching using `is` and `as` - Herb Sutter
Источник: CppCon
Источник: CppCon
YouTube
Extending and Simplifying C++: Thoughts on Pattern Matching using `is` and `as` - Herb Sutter
https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
C++20 is a unique historic milestone: It's the first edition of Standard C++ that’s “D&E-complete,” with essentially all of the features Bjarne Stroustrup outlined in /The Design and Evolution of…
https://github.com/CppCon/CppCon2021
---
C++20 is a unique historic milestone: It's the first edition of Standard C++ that’s “D&E-complete,” with essentially all of the features Bjarne Stroustrup outlined in /The Design and Evolution of…
Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit - Gela Malek Pour - CppCon 2021
Источник: CppCon
Источник: CppCon
YouTube
Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit - Gela Malek Pour - CppCon 2021
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
In this 20-minute demo, we will walk you through setting up the Qt SDK environment and creating a sample that visualizes a time aware layer using Esri’s toolkit.
---
Gela Malek Pour
---
Videos…
https://github.com/CppCon/CppCon2020
---
In this 20-minute demo, we will walk you through setting up the Qt SDK environment and creating a sample that visualizes a time aware layer using Esri’s toolkit.
---
Gela Malek Pour
---
Videos…
[Перевод] Как я написал алгоритм сортировки, который быстрее std::sort. Часть 1
Источник: Habr
Автор: mr-pickles
Источник: Habr
Автор: mr-pickles
Хабр
Как я написал алгоритм сортировки, который быстрее std::sort. Часть 1
Прим. Wunder Fund: ну, вы наверное, и сами догадываетесь, как мы любим быстрые алгоритмы и оптимизации. Если вы тоже такое любите — вы знаете, что делать)В наши дни сказать, что изобрёл алгоритм...