How to find the memory used by any object

后端 未结 5 2115
情书的邮戳
情书的邮戳 2020-12-09 16:04
class Help
{
public:
        Help();
        ~Help();

        typedef std::set Terms;
        typedef std::map &         


        
5条回答
  •  失恋的感觉
    2020-12-09 16:42

    If you're looking for the actual block of memory, the numerical value of a pointer to it should be it. (Then just add the number of bytes, and you have the end of the block).

提交回复
热议问题