🎉 Smithery is now a part of Arcade.dev! Read more in our announcement here
C++ Mental Models: Pointer vs Reference, Initialization, Undefined Behavior.
What happens in memory?
Is it a Copy or Reference?
auto x = y
auto& x = y
Does it dangle?
&local
T&
T*
std::move