Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::addressofCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | std::addressofDaily bit(e) of C++ ♻️179, Obtaining the true address of objects that overload the address-of operator using std::addressof.Šimon TóthJul 29, 20246Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::addressofCopy linkFacebookEmailNotesMoreShareThe C++11 std::addressof utility solves a very simple problem.How do you obtain the actual address of an object when the built-in address-of operator can be overloaded?Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe