LogoSudip
  • Tags
  • Series
  • Categories
  • Archives
  1. Home
  2. Tags
  3. cpp

C++ Idiom : Address-of | Get address of object of overloaded ‘&’ operator

Oct 11, 2020 2 min read #technical#learning-cpp#cpp#cpp-idiom
Intent To get the address of object of a class that have overloaded ‘&’ operator that do not return real address of object Side Note The idiom presented in this article is no longer needed to be hand written on the compiler that supports at least c++11 standard. More tested std::addressof() in header <memory> …
Sudip Ghimire
Sudip Ghimire
Rising developer
Self-learning
Pokhara, Nepal
About Me

Recent Posts

  • Success - bringing luck & hardwork together
  • Offchain worker and transactions in polkadot substrate
  • Rust Workshop - iBriz academy 2022
  • include! macro in rust
  • Fundamental Idea locality of reference in compiler optimization

Categories

technical 9 draft 1 lifestyle 1

Series

learning-rust 6 learning-cpp 2 algorithm 1 compiler-optimization 1

Tags

programming 6 rust 5 rust-macro 3 blockchain 2 compiler-optimization 1 cpp 1 cpp-idiom 1 cpp-idom 1 default-argument 1 function-overloading 1 lifestyle 1 locality 1 numerical 1 philosophy 1 polkadot 1 principle-of-locality 1 smart-pointers 1 std-rc 1 substrate 1 success 1 sudip 1 workshop 1
  • Copyright © 2021-2022 Sudip ghimire. All Rights Reserved.