Entries by Rainer Grimm

C++ Core Guidelines: Function Definitions

Functions are the “fundamental building block of programs.”  and “the most critical part in most interfaces.”  These statements introduce the rules to function of the C++ core guidelines. Of course, both statements are right. So, let’s dive deeper into the more than 30 rules for defining functions, passing arguments to functions, and returning values from […]

C++ Core Guidelines: The Philosophy

Today, I will dig deeper into the C++ Core Guidelines. I wrote about the Introduction section in my last post about the C++ Core Guidelines. Today I write about the section that is “primarily for humans”. This is the most general section and is called Philosophy. The rules are so general that you can apply […]