Intro This is the third (and probably last) article of my small mini series about maybe not so well known C++ features / pattern / programming techniques for which I found a practical usage during programming on my private projects. This time the topic is about the requires clause for overload resolution. The requires clause […]
Tag: C++20
Specialized to C++20
TOP 5 most astounding C++20 Syntax
โ Welcome ๐ to my ๐๐ ๐ Christmas ๐๐ ๐โจ Specialโจ โโ! Today I present you my personal TOP 5 most astounding C++20 syntax constructs. Hope you will enjoy and maybe will see something new and/or interesting. Here it goes: No. 5: This line creates an empty lambda and directly executes it. Effectively, you can consider it […]
This post was viewed [wpstatistics stat=pagevisits time=total id=528] times. Following a list of my preferred and maybe (?) best Visual Studio settings for modern C++ programming based on my experience and evaluations. Each mentioned setting will be explained with some short sentences. I will cover โReleaseโ Builds only – and I use Visual Studio 2022, […]
Design by Introspection (C++20)
Some time ago I stumbled upon a very interesting (and for me new) technique named โDesign by Introspectionโ, which is easily possible with the concept feature of C++20. This technique can be illustrated by the following small code snippet: First the parameter of the function value is of type auto, so it will be set […]