/explore
|
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. |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
defmacro.org
An article about Lisp programming language. |
|
| | | |||