Atomic References with C++20

Atomics receives a few important extensions in C++20. Today, I start with the new data type std::atomic_ref.

Read more
Tags: atomics
Views: 8044

Looking for Proofreaders for my New Book: C++20

I'm looking for proofreaders for my new book "C++20". The book serves two purposes. It provides you the details of the new C++20 standard and shows you how to use it. This book includes more than one hundred fifty examples to study the theory in praxis.

Read more
Views: 3268

Bit Manipulation with C++20

This post concludes my presentation of library features in C++20. Today I write about the class std::source_location and a few functions for bit manipulation.

Read more
Views: 18776

Feature Testing with C++20

When your program's compilation broke with a brand-new C++20 feature, you often end with a few questions: Did I something wrong? Did I found a compiler bug? Does my compiler not yet support this feature? Thanks to the feature testing in C++20, the last question is easy to answer.

Read more
Views: 5878

Safe Comparisons of Integrals with C++20

 When you compare signed and unsigned integers, you may not get the result you expect. Thanks to the six std::cmp_* functions, there is a cure in C++20.

Read more
Views: 8755

Calendar and Time-Zones in C++20: Time-Zones

This post concludes my introduction to the chrono extension in C++20. Today I present the time-zones functionality.

Read more
Tags: time
Views: 9839

Calendar and Time-Zones in C++20: Handling Calendar Dates

I presented in my last post "Calendar and Time Zone in C++20: Calendar Dates" the new calendar-related data types. Today, I go one step further and interact with them.

Read more
Tags: time
Views: 3379

Calendar and Time-Zones in C++20: Calendar Dates

A new type of the chrono extension in C++20 is a calendar date. C++20 offers various ways to create a calendar date and interact with them.

Read more
Tags: time
Views: 6695

Calendar and Time-Zones in C++20: Time of Day

With C++20, the chrono library from C++11 receives important additions. The most prominent ones are a calendar and time-zones support. But this is by far not all. C++20 gets new clocks, powerful formatting functionality for time durations, and a time of day type.

Read more
Tags: time
Views: 8288

More and More Utilities in C++20

Today, I present a few utilities for calculating the midpoint of two values, check if a std::string starts or ends with a substring, and create callables with std::bind_front. These little utilities may not seem so little when you need them.

Read more
Views: 9171

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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 5047

Yesterday 7909

Week 12956

Month 88007

All 6109071

Currently are 197 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments