std::variant is a library addition in C++17 for sum types, and std::visit is one of the ways to process the values in a std::variant.
Two weeks ago, I attended the ACCU Conference in Bristol again, and again it was a blast. ACCUConf is by far the most interesting and enjoyable conference I have attended […]
Today’s guest post is by Saurabh Hooda. Saurabh is one of the co-founders of hackr.io. You can find Saurabh on Twitter and Medium. image source C++ is, hands down, one […]
Contrary to Sunday’s orchestrated April Fool’s posts, raw pointers are not going anywhere. However, there are some things in those posts that are based on reality. I’ll go into a […]
There’s some great news coming from the C++ standards committee: Raw pointers are gone – or rather will be in C++20.
In my last post, I wrote about forward declarations for normal classes. Today, I give you some information about forward-declaring templates and enums.
As promised last week in my post about strange include techniques, I will go into reducing compile time dependencies. Reducing dependencies by shifting them from headers to source files can […]
After having had to clean up some unusual #include techniques, I’ll put together some advice on how not to use #include – and how to use it.
Today, Matt Bentley writes for us about terse names in our Code. Matt was born in 1978 and never recovered from the ordeal. He has lived a long and interesting […]
This week’s guest post is by Matthew Butler, who shows us some insights about how the relationship between complexity and performance can be less than obvious in multiple ways. Matthew […]