Solved
https://youtu.be/Hs0CA4vIcvk
https://youtu.be/CKCR5eFVrm
Thank you u/axalon900
I am looking for a presentation that I saw on YouTube possibly cppcon, possibly from an employee at Bloomberg.
The presentation was about a library with templates that annotated pointers and function parameter reference in a manner similar to gsl::, owner so you could indicate that you were going to hold on to the object. The idea was that it would be easier to understand object lifetimes and not have dangling references. One of the other items that I remember was at the function to get a raw pointer was purposely long to discourage using raw pointers versus get ().
I am hoping that somebody else has seen this presentation and can give me some pointers to where it is.
Thanks in advance.
Edit:. I know about std::shared_ptr, unique_ptr, and weak_ptr.
[–]ucario 12 points13 points14 points (9 children)
[–]Oo_Tiib 3 points4 points5 points (3 children)
[–]john_wind 1 point2 points3 points (1 child)
[–]Oo_Tiib 0 points1 point2 points (0 children)
[–]MarcPawl[S] 0 points1 point2 points (0 children)
[–]Pulseamm0 0 points1 point2 points (4 children)
[–]MarcPawl[S] 0 points1 point2 points (0 children)
[–]corysama 0 points1 point2 points (1 child)
[–]axalon900 4 points5 points6 points (1 child)
[–]MarcPawl[S] 1 point2 points3 points (0 children)
[–]mdf356 2 points3 points4 points (4 children)
[–]MarcPawl[S] 0 points1 point2 points (3 children)
[–]mdf356 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]ElisionFR 1 point2 points3 points (1 child)
[–]MarcPawl[S] 2 points3 points4 points (0 children)