In c++, even something like &obj is not always what it seems. Normally, when we write: struct Resource { int data = 42; }; int main() { Resource r; auto h = &r; std::cout << h << '\n'
I build things to understand them
I write about C++, performance, and building things from first principles. Currently exploring data structures, allocators, and how things work under the hood.
Markdown supported · ⌘↵ to post
No responses yet.