Skip to content

Instantly share code, notes, and snippets.

@qiaohaijun
Created June 9, 2017 16:10
Show Gist options
  • Select an option

  • Save qiaohaijun/5eab20c91844d00d067551ad116afa87 to your computer and use it in GitHub Desktop.

Select an option

Save qiaohaijun/5eab20c91844d00d067551ad116afa87 to your computer and use it in GitHub Desktop.

c++ class 的四个特殊成员函数

  1. 构造函数
  2. 析构函数
  3. 拷贝构造函数
  4. 拷贝赋值函数
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment