Check Types
/
0 Comments
Template Metaprogramming is programming at compile time. But what has template metaprogramming in common…
More and More Save
In the post Statically checked I wrote that the functions of the type-traits library are an ideal fit…
Statically Checked
static_assert is the tool in modern C++ to make your code safe.
static_assert
The usage of static_assert…
{}-Initialization
The initialization of variables was unified in C++11. The rule is quite simple. {}-Initialization is…
auto-matically inititialized
Probably the most frequently used feature of C++11 is auto. Thanks to auto, the compiler determines the…
Facts
After the myths, the facts will follow. Therefore, we leave the area of half-truth and untruth statements…
Myths
As I started working in the embedded environment I was astonished that there was so much prejudice against…
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…
Sleep and Wait
The new time library is an important component of the threading interface. As well, as threads, locks,…
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,…
Time Duration
Time duration is the difference between two time points. It will be measured in time ticks.
Time…
Time Point
The starting point (epoch) and the additional time duration define the time point. It consists of two…