C++ blog
Notes on modern C++
Coroutines, value categories, lifetime, name lookup, and the slow march of the language. Written by Dawid Pilarski.
All posts
- corename-lookup
Friends and where to find them
(The title is inspired with the title of one of the papers for C++ – declaration and where to find them – author: S. Davis Herring, link in the Bibliography)
- core
Objects, their lifetimes and pointers
This post might seem to you, that’s very basic regarding the C++ content. It indeed is basic, but I believe it’s far from being easy. I also believe, that most of the C++ developers will find somet…
- core
Dynamic_cast and typeid as (non) RTTI tools.
You are already very likely to know about the dynamic_cast and typeid tools from the C++ language. Those tools allow you to get some information about the types of objects in the runtime. And yes……
- coreshort-c-facts
Point of declaration
After difficult posts about the coroutines and before yet another one I decided to take a break and write about something easier instead. This time we will have a look at one of the aspects of the…
- evolutioncoroutines
co_awaiting coroutines
Have you been co_awaiting the next post about the coroutines? Well after some break from writing finally it’s here.
- evolutioncoroutines
Your first coroutine
Once you got familiar with the introduction to the coroutines, then I think it’s high time to actually implement your first co-routine object. This whole post is all about understanding how to impl…
- core
Qualification conversion
Let’s consider following piece of code from the C++ standard:
- evolutioncoroutines
Coroutines introduction
And so it’s happened. After a long time of doubts, opposition, and preparation of this feature, WG21 agreed on how the coroutines should look like, and coroutines will likely come into C++ 20. Sinc…
- core
Value categories – [l, gl, x, r, pr]values
So you have heard about lvalues and rvalues for sure, but there actually are also xvalues, prvalues and glvalues. It’s easy to get lost in it, so let’s have a look at what actually are those things.
- evolution
Error handling now and tomorrow
So we will be talking about the error handling. Well first, I guess I need to explain myself why I decided to talk about this topic.