Recent Posts

When does a C++ temporary object die?

28 March 2019

A lot of operations of C++ require temporary values. Using them before their destruction is imperative. However, not all C++ programmers I met have a solid understanding of when a temporary expire. This situation often leads to over-conservative estimations, which will not cause any harm. Nevertheless, sometimes it will cause programmers to assume guarantees that the language does not provide, which leads to insidious bugs.


C++ Lambda in depth - Part 1: Introduction

25 March 2019

C++ lambda expressions are a construct added to C++ back in C++11, and it continues to evolve in each version of the C++ standard. A core part of the language nowadays, lambda expressions enable programmers of writing anonymous functions in C++. This post describes what a lambda is, provides some basic usages, and outlines their benefits.


Book Review: "Functional Programming in C++"

22 March 2019

Functional Programming in C++ by Ivan Čukić is a new book about applying functional programming principles in C++. This book is for people…


Older posts are available in the archive.