memory - c++ get address of variable without operator& -
i have got class has overloaded unary operator&
. objects of type created using new
, address of variable accessible need utilize static object. possible address?
since c++11, may utilize function std::addressof
c++ memory memory-management addressof
No comments:
Post a Comment