Inlägg

Inline classes.

So, lets get started with some real blogging around C++ standard proposals. I will start out not with one of my own proposals, although I did try to find a solution to this problem before. I'm experimenting also with how to get the text into blogger in a good and easy way. This text was written using Texts , a markdown editor, and then I converted that to HTML and pasted into the html view of the blogging web page. Results is not that good, but somewhat useful. I will try to improve this way of working for future posts. One big problem seems to be that blogger removes the empty lines between paragraphs, in the markdown there is quite a long break after this paragraph for instance, and in the code examples I must place one empty line at the top and two at the bottom to get it to look this decent. The problem relates to nested classes. There are many APIs which are designed so that the user is supposed to subclass a certain base class to modify a behavior or get a callback called

Starting a new blog

Dear fellow programmers! Today I'm finally starting a blog on a subject I have been working quite a lot on for many years, in my spare time. Yes, it is about C++ programming and more specifically how we can make C++ programming better by improving the standard. When I started with C++ in about 1994 the language was far from mature and compilers were far from being able to support the language we had. More on this in a later post. However, with C++11 things started to move. The C++11 standard was such a great improvement that it inspired me and many others into working on furthering this even more. The work (and my part is tiny of course) has resulted in more updates in the C++14 and C++17 standards and also in a much closer tracking of the standard by the major compilers, which of course is as important for the regular users. My motivation for engaging in the standardization work goes a bit deeper than just being able to write the code I want in an easier way. It is about susta