Skip to content
Commit 06e7d989 authored by Murray Cumming's avatar Murray Cumming
Browse files

More not taking a shared_ptr<> when the function doesn't share ownership.

As suggested by:

Bjarne Stroustrup: 2015: Writing Good C++14:
video: https://www.youtube.com/watch?v=1OEu9C51K2A
slide: https://github.com/isocpp/CppCoreGuidelines/blob/master/talks/Stroustrup%20-%20CppCon%202015%20keynote.pdf

C++ Core Guidelines:
"F.7: For general use, take T* or T& arguments rather than smart pointers":
 https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#f7-for-general-use-take-t-or-t-arguments-rather-than-smart-pointers
parent 383bfa8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment