📜  或在 cpp - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:51.170000             🧑  作者: Mango

代码示例2
class Entity{
  public: 
      ~Destructor();
      //This is a destructor, which destroys instances and can free up memory.
};

//Source for answer:
// https://stackoverflow.com/questions/1395506/in-c-what-does-a-tilde-before-a-function-name-signify

//Other Sources:
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/rzarg/cplr380.htm