/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

herbsutter.com
| | arne-mertz.de

There are two different ways to create a `std::shared_ptr`: via one of its constructors and via `std::make_shared`. Both have different tradeoffs.
10.5 parsecs

Travel
| |
| | www.cppstories.com

While learning how to use the new C++ Standard, I encountered several intriguing cases with smart pointers. Casting? Array handling? Passing to functions? Let's review some common concerns so that we don't shoot yourself in the foot :) I created this post back in 2013, and I updated it in 2014 and recently in 2021.
5.0 parsecs

Travel
| |
| | eyakubovich.github.io

The guidance around function arguments and smart pointers is quite old, yet I still see it used incorrectly. In this post, we'll explore the guidance and the costs of not following the advice. C++ Core Guidelines make this point clear: F.7: For general use, take T* or T& arguments rather...
5.6 parsecs

Travel
| |
| | defmacro.org

An article about Lisp programming language.
20.2 parsecs

Travel
|