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 absolutely right. So, lets dive deeper into the more than 30 rules for defining functions, passing arguments to functions, and returning values from functions.

Read more
Comments 2Views: 4408

C++ Core Guideline: The Guideline Support Library

The guidelines support library (GSL) is a small library for supporting the guidelines of the C++ core guidelines. It should help to write better C++ programs. Therefore, its key concerns are memory safety and type safety. They are already a few implementations of the GSL available.

Read more
Comments 1Views: 6343

My Book "Concurrency with Modern C++" is 75% complete

Concurrency with Modern C++ is a journey through current and upcoming concurrency in C++. This early version includes the memory model, the current multithreading interface, the parallel STL, and concurrency with the upcoming C++20 standard.

Read more
Add CommentViews: 984

C++ Core Guidelines: Interfaces II

Interfaces are a contract between a service provider and a service consumer. The C++ Core Guidelines has 20 rules to make them right because "interfaces is probably the most important single aspect of code organization".

Read more
Add CommentViews: 4588

C++ Core Guidelines: Interfaces I

Interfaces are a contract between a service provider and a service consumer. The C++ Core Guidelines has 20 rules to make them right because "interfaces is probably the most important single aspect of code organization".

Read more
Add CommentViews: 16058

My Book "Concurrency with Modern C++" is 50% complete

Concurrency with Modern C++ is a journey through current and upcoming concurrency in C++. It includes the memory model and the current multithreading interface.

Read more
Comments 76Views: 1773

C++ Core Guidelines: The Philosophy

Today, I will dig a little bit deeper into the C++ Core Guidelines. In my last post about the C++ Core Guidelines I wrote about the Introduction section. 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 them to each programming language.

Read more
Add CommentViews: 12143

My Newest E-Books

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2308

All 597551

Currently are 218 guests and no members online