hacking C++ (@hackingcpp) header
hacking C++ (@hackingcpp) profile picture

Learn contemporary C++ with code examples, concise explanations, cheat sheets and infographics. #cpp #cplusplus #programming #learning #education

Germany
Joined March 2020
Replying to @ProgramMax
I see what you mean. But then you could just do this, right?
58
Replying to @ProgramMax
What about this classic trick?
1
1
4
606
Replying to @thisisgm
Just keep on doing what you’ve been doing. Make flea even more awesome for all of us.
7
221
Unfortunately. If the rank is less than the rank of int, there’s a promotion to either int or unsigned int. It’s a real mess.
1
26
Replying to @vzverovich
Yo mama is so big they call her “local_params”
6
404
Replying to @thisPtr
For runnable examples see also: hackingcpp.com/cpp/std/algor…
10
772
Replying to @basit_ayantunde
Made that a while back: #cpp20 #cpp23 std::string interface novelties
1
5
1,131
Replying to @fenbf
I’ll definitely plan to use range views more often, but for now C++23 is (unfortunately?) not an option. For those who are interested, I made an overview of all range views with runnable examples: hackingcpp.com/cpp/std/range…
1
2
9
1,028
New cheat sheet and overview article of the “range views” in the C++20 and C++23 standard library. Article: hackingcpp.com/cpp/std/range… More cheat sheets: hackingcpp.com/cpp/cheat_she… #cpp #cplusplus #cpp20 #cpp23 #programming #coding #CheatSheet
2
38
2
205
22,094
Replying to @EricLengyel
They might also appreciate this cheat sheet that I made a while ago.
3
33
1,510
Algorithms for finding a single element in a range using C++20 and C++23. For an overview with runnable examples, see hackingcpp.com/cpp/std/algor…. For more cheat sheets see hackingcpp.com/cpp/cheat_she…. #cpp #cpp20 #cpp23 #cplusplus #algorithms #CheatSheet
26
96