filmov
tv
Custom Smart Pointer | C++ | Compiler Hacking

Показать описание
Let's build a Smart Pointer! Our value type is always heap allocated, but if we had a Smart Pointer instead of a raw pointer, we could do some nifty magic and *sometimes* avoid a heap allocation, like in the case of integers.
About the Project: Natalie is a very early-stage work-in-progress Ruby implementation that compiles Ruby to an executable. It does so by transpiling Ruby to C++ and feeding it to gcc or clang to produce a binary.
#programming #compiler #smartpointer #pointer #heap
About the Project: Natalie is a very early-stage work-in-progress Ruby implementation that compiles Ruby to an executable. It does so by transpiling Ruby to C++ and feeding it to gcc or clang to produce a binary.
#programming #compiler #smartpointer #pointer #heap
SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)
Modern C++: Upgrade Your Skills with Shared Pointers!
are 'smart pointers' actually smart?
unique_ptr is NOT just for heap allocations | custom deleters
Back to Basics: C++ Smart Pointers - David Olsen - CppCon 2022
Smart Pointers Explained with Code Implementation | MUST know topic for C++ Interview!!
The Smart Pointers I Wish I Had - Matthew Fleming - CppCon 2019
Custom Smart Pointer | C++ | Compiler Hacking
C++ Smart Pointers : Custom Deleter | shared_ptr unique_ptr
Mastering Smart Pointers in C++: Unique_ptr, Shared_ptr, and Weak_ptr Explained!
C++ Crash Course: Smart Pointers
Customize deleter for smart Pointer in C++
C++Now 2019: Matthew Fleming “An Alternate Smart Pointer Hierarchy”
std::unique_ptr - A scoped smart pointer | Modern Cpp Series Ep. 33
Smart Pointers in C++
C++'s Smart Pointers: Template-Parameter
C++ Custom deleters in smart pointers #cppcodingtips #cpp #cppbasics #pointers #smartpointer
Master smart pointers in C++ with 4 simple steps.
C++'s Smart Pointers: Custom Destruction
07 Advanced C++: Smart Pointers, Bignamini
20160927 1300 C++ smart pointers Bignamini
Porting JUCE smart pointer usage to C++ 11, Martin Robinson
Let's Code a Mud in C++11 - Part 16: Smart Pointers
Allocate an array using smart pointer
Комментарии