Check Types

Template Metaprogramming is programming at compile time. But what has template metaprogramming in common with the type-traits library? A lot! The type-traits library is pure template metaprogramming, tamed in a library. With this post, my presentation of the type-traits library becomes more structured.

Read more
Views: 17341

More and More Save

In the post Statically checked I wrote that the functions of the type-traits library are an ideal fit for static_assert. The reason is that static_assert requires a constant expression. The functions of the type-traits library provide a lot of checks which can be performed at compile time. With these posts, I will prove my statement.

Read more
Views: 13982

Statically Checked

static_assert is the tool in modern C++ to make your code safe.

Read more
Views: 16469

{}-Initialization

The initialization of variables was uniformed in C++11. The rule is quite simple. {}-Initialization is always applicable. 

Read more
Views: 146912

auto-matically inititialized

Probably the most frequently used feature of C++11 is auto. Thanks to auto the compiler determines the type of a variable from its initializer. But what is the point with safety-critical software? 

Read more
Views: 11879

Facts

After the myths, the facts will follow. Therefore, we leave the area of half-truth and untruth statements about C++.

Read more
Views: 12836

Myths

As I started working in the embedded environment I was astonished that there was so much prejudice against the usage of C++ in the embedded programming. Most are based on a wrong understanding of the programming language C++.

 

Read more
Views: 13203

Requirements of Embedded Programming

Bjarne Stroustrup's FAQ makes it crystal clear. One of the design goals for C++11 was to make C++ even better for the embedded world.

Read more
Views: 15729

Sleep and wait

The new time library is an important component of the threading interface. As well threads, locks, condition variables as future have an understanding of time. All four have in common that they can sleep, wait or block until a time point or for a time duration.

Read more
Tags: time
Views: 53166

The Three Clocks

A clock consists of a starting point and a time tick. C++ offers with std::chrono::system_clock, std::chrono::steady_clock, and std::chrono::high_resolution_clock three clocks.

Read more
Tags: time
Views: 143206

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 8779

Yesterday 10973

Week 19753

Month 180427

All 6829119

Currently are 159 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments