
Learn contemporary C++ with code examples, concise explanations, cheat sheets and infographics. #cpp #cplusplus #programming #learning #education
Germany
Joined March 2020
- Tweets785
- Following714
- Followers5.4K
- Likes16.2K
hacking C++ retweeted
The Pimpl pattern: heap allocate your implementation, write a copy constructor, write a move constructor, write a destructor, write copy assignment, write move assignment
C++26: std::indirect<Impl> impl_;
Done. The compiler generates everything 🧵👇
hacking C++ retweeted
Jjust did a round of updates to my starter project. Including automatic build and deployment of your project to github pages with a CI emscripten build!
* emscripten
* CI OS / Compiler updates
* Fine tuning of static analysis
github.com/cpp-best-practice…
cpp-best-practices.github.io…
hacking C++ retweeted
I'm getting very close to publication of my latest book: The Programming Puzzles Big Book (Fun for ages 7-99)!
leanpub.com/programming_puzz…
This is your last chance to get it for the pre-release price of only $4.99 and help me find any remaining bugs.
This is 400 pages of puzzles!
hacking C++ retweeted
🎉 Big news! CLion is now free for non-commercial use! Whether you're a student, hobbyist, open-source hero, or just in love with C or C++, you can now code your heart out – for free! jb.gg/cl_free_x
#cpp #cplusplus
hacking C++ retweeted
Posted a new video about std::chrono which provides an overview of what functionality was added in C++11, C++17, and C++20. Watch to find out how much of chrono your compiler supports. We were pretty surprised at what we discovered. #cplusplus
youtube.com/watch?v=63GKRVb8…
hacking C++ retweeted
Alright team, we can do this!
Retweet if you know anyone who is not currently a subscriber of C++ Weekly!
youtube.com/@cppweekly
hacking C++ retweeted
I'm toying with making a list of C++ Tricks, Tips and Tidbits. They are intended for like one of those pop up "did you know?" dialog boxes.
github.com/lefticus/lefticus…
Add some via comment or PR if you are interested!
hacking C++ retweeted
New blog post featuring:
- Terrible jokes
- Floating point
- StackOverflow bashing
- Shameless self-promotion
#programming #cplusplus #stackoverflow
zverovich.net/2023/06/04/pri…
hacking C++ retweeted
Major updates to my Ultimate CMake template:
* fetch_content-able
* CPM for dependencies
* LTO by default
* simplified usage
* older versions are archived
* hardening BY DEFAULT
Designed to catch as many errors as possible, as early as possible
github.com/cpp-best-practice…
hacking C++ retweeted
Been playing a lot with CPM lately, and I must say, I'm VERY happy with how it's working out.
youtu.be/dZMU3iAPhtI
Mostly it comes down to there being no question at all about how dependencies were compiled, because they are all just Right There.
Watch the video for cons
hacking C++ retweeted
Do you know answers to all of my questions? )
C++ Initialization Quiz buff.ly/3GyLIkX
#programming #cpp
hacking C++ retweeted
I finally managed to write a blog post again:
| Configuring algorithms in Modern C++
| hannes.hauswedell.net/post/2…
| #cplusplus #cpp @meetingcpp

ALT When designing library code, one often wonders: “Are these all the parameters this function will ever need?” and “How can a user conveniently change one parameter without specifying the rest?” This post introduces some Modern C++ techniques you can use to make passing configuration options easy for your users, while allowing you to add more options later on.
hacking C++ retweeted
Have a look at my article on Ranges and Projections:
cppstories.com/2023/projecti…
Do you have more examples? Join the discussion in the article :)
#programming #cpp #cpp20
hacking C++ retweeted
TIL about `const T (&... x)[N]` (aka passing variadic arguments has never been easier)
Replying to @ericniebler
This is cheating a bit, but it technically works: compiler-explorer.com/z/1TxG…
hacking C++ retweeted
I'm announcing my first ever open-to-the public remote seminar:
C++ Best Practices - Tooling
eventbrite.com/e/c-best-prac…
Early bird tickets available! March 8, 1.5 hrs
I hope to make training available to a larger group of people but in a way that works with my interactive style!
hacking C++ retweeted
Support @CompileExplore (Godbolt) folks!
We all rely on it directly or indirectly; it's an important piece of infrastructure our C++ community relies upon.
It's a huge amount of work to maintain, extend and host $ at scale.
Thank you @mattgodbolt @partouf & et al.
#cpp #cplusplus


















