Posts

cogs

C++ Core Guidelines: Semantic of Function Parameters and Return Values

/
Today,  I conclude my treatise about the rules for functions in the C++ core guidelines. The last…
FunctionParameters

C++ Core Guidelines: The Rules for in, out, in-out, consume, and forward Function Parameter

/
You have many choices to pass function parameters. You can pass by value or by reference. A reference…
cogs

C++ Core Guidelines: Function Definitions

/
Functions are the "fundamental building block of programs."  and "the most critical part in most…