Home
Sandor Dargo's Blog
Cancel

C++23: std::out_ptr and std::inout_ptr

This week, let’s continue exploring the new world of C++23. We are going to discuss two new standard library functions and their outputs (std::out_ptr, std::inout_ptr), two new standard library typ...

Influence: The Psychology of Persuasion by Robert B. Caldini

An easy-to-read book for those who want to learn about how influencing others works. It’s not only useful to learn how to influence other people but also to understand how others try to manipulate ...

C++23: auto(x) and decay copy

When I first saw auto I thought that woah, not so fast, how am I going to know the type of my variables? Then I started to understand that auto helps in so many different ways. It helps remove the ...

C++23: How lambdas are going to change?

C++23 is coming soon and it will change how lambdas work in 3 different ways. They will not only become simpler in certain circumstances but they will be also aligned more with other features of th...

Non-coding roles or something you like?

This is an excerpt from by book called The Seniority Trap. I’m sharing some parts from each chapter. Check out the #thesenioritytrap for more parts. — Have you ever heard about the Peter Principl...

C++23: The <expected> header; expect the unexpected

What do you do when you have to return multiple values from a function? Do you return an instance of some data structure? Do you use output variables? Maybe you throw an exception to get rid of the...

Why to use C++ in 2022

C++ is a programming language that is roughly 40 years old and it’s still unavoidable. In this article, we are going to see where and why it’s used and whether it has a future or not. Let’s get in...

3 Things MongoDB Can Help You With

Web and application development has been one of the most sought-after fields over the past decade thanks to technological advancements – but life’s not all fun and games for programmers. Accordin...

The evolution of statements with initializers in C++ - part 2

In these two articles, we see how C++ evolved in terms of writing different statements that include initializers. Simple? Boring? I don’t think so, it just shows how far we got in C++ and in progra...

Template Metaprogramming with C++ by Marius Bancila

Are you familiar with templates? Are you also comfortable with them? Do you know how to use them in an idiomatic way compiling against a modern standard? If you answered no to any of these questio...