Entries by Rainer Grimm

Dining Philosophers Problem I

At Christmas time, I had a few nice discussions with Andre Adrian. He solved the classical dining philosopher’s problem in various ways using modern C++. I convinced him to write an article about this classic synchronization issue, and I’m happy to publish it in three consecutive posts.

The Type-Traits Library: Type Checks

The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications at compile time. The library has over 100 functions but grows with each new C++ standard release. Today, I present the type checks.