C++中复制构造函数和赋值操作符
先看一个例子:
定义了一个类:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZkAAAG2CAIAAAAiPWx6AAAgAElEQVR4nO3dvU/jyv7HcSoqGgoaimm3oFiaSDxJ/LCogNUiFBDFQZGIdBsURSKiWJ1bbFaBXYnunuYWJmkoTnWayxESK1JvdcpQ8qfkV/hpbM/YzoNNPLxfogBjbMdMPvnO2JnMCQAov7m3PgAAmAKyDIAJyDIAJiDLAJiALANggqQsW20NTuzBiT2w9go7nlwt9V8WrpS/sRZfX+b69WDBVW9u+DI3DC8Mr6/ZFIC3kFqXWevf882yT9/mndTwv16/LY+4jWX7pyJ0/DwavszblhgpyxI2661PlgEz5O2zzKMPmnTx0Fm2f84Ne0uT7YIsA0ojyDK/R3lid1eDFaJZJq0mLa+0D7yFBzUraaFWLGisxdeXWEdPWuiUb7Gybt62dFmz1H9ZuKovRKo/fXcylmXS3odkGTBL3CxbbQ1OWuoKRFuXVdoHXuqtthTrKBfqRbJM/nGp73YSxVVPWShFQ+fTt/nhz8VPil14xVp9IRxGyhIssnCp7+cddRkwY5wsq1v203pFuUIsy/a6fl3mV3Afak8ndjQNlQv1wlkWqoD8AS+vCot2HrNnmbeLaBhlyLL6QrBNsgyYMaNmmbSmVJe5nJiLhJdyoUI4y+TgiHP6iUGixZIoWnbFdkGWAWZxssxa/56tj1lpH3hZttqKjKz5K2RbGBXvY2rG3d3jCqXJVS9y9TNt7H+MLLMWX93ycNn+yXgZMFv8sX9r/Xuk5ygvCUb6/bH/g1rbUq3pBZ9yYYKksX+vIHJCRDVUH6zs9kbd0THdPRlBloW26W1WuTC4ztCvT3LVFcD0cd8/ABOQZQBMQJYBMAFZBsAEZBkAE5BlAExAlgEwQSjLqp2Hh4eHh071rY4GAMYjZdlGwybGAJSTlGXVzoPd2Hi7QwGAsZFlAEwQzjK6mADKycmyaochfwBlFtRlDP0DKC/GywCYgCwDYAKyDIAJuFcWgAlC72HaaNi8hwlAGfHecg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NuS6qF8jSxhaMlDLEtomyBYAAAzOoPpELOMoI3LrfnCh3F3SaixnB9kimL6Jyyez4Ze88RaRrZPdD3vzwoT5/Yu8PpGw7ueuDwCA0TH4sZxJwSBq1E1DL7OZ496TeHSF7R7ULFtI60xWa5yYjRu9qhW45eTB4w/qWM75/QvTWE6/HjLgAgAwTkbm2VlDy6+H1C0AAGOEbNFDUc2CYAEAGCtkCwAA4BLZAgAAuES2AAAALpEtAACAS2QLAADgkpQtovsaeBgDAADomF632DjmrkkAANApQ5/IxjGVCwAA0KFi2YIvCgcAAMWYs4XaKUK2AAAAxZjvE/HrIc+qBgAAHShWtwAAACimjfEWBA4AANBSsWwRPfiCARcAAKCVgveg+vWQugUAAGit9bOzopoFwQIAABTBM78BAIBLEx8/fhz0PgAAgNHB96ACAACXyBYAAMAlsgUAAHDp/wNvq6VsP/5OHwAAAABJRU5ErkJggg==" alt="" />
- 当我们仅仅定义一个Test类对象test1时:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAo4AAABlCAIAAABMcPXfAAAQt0lEQVR4nO2dPW8bxxaGWalSo0KNiukIFhFgAoIhex3A8TIVbZJBoMhpAgIWmCYQBFhQQ6egLqTYgBsilYuV3ASG+9gw4CD6CS6ZUj9Ft9ivmZ0zS1IiqZH1PFChHe7n7Mx555w5u1tRAAAA4DGV6z4BAAAAKAOpBgAA8BqkGgAAwGs0qb57+CQahc1rOpE7K+eDytnDSVffOvpwtJUuBLtRtBvM57wAAACul0tIdXj/5RwUfRqpDnYjTaiVUmrr6EOhBAAA4OvgEgHw+Uj15NhCrZRSW0cf8KwBAOArJJHq+v5oOxptG171Thid3u9+jsufdEOlVC1dTP8+378r77fVWTrvrJwNKhd7K1G3cpF6zAfdysUg+ct86KxQ86pXzwbLUWcpLj/vrGU/uDRZVnAAAIAbju5VF9zlnTAabe/vKKVU83Q7Oq3Lq8m0OksXg+UDtXo2qJx31lqdJV1ulYoj3ssH+fJatFeQ6spFd1UppR4uX+Rrur1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IkXuIK5hbf7B4eSeIErmP998eDwSBIvcAULb31JvMAhvFl8d3h0LIkXuII//vx4dNwp7H68KXrlp9/60CuUsAOL75eOvnSKuR+fgqQn/9IuQDfvWiz2v2yhf/exftw5KeB+fHSKIxFbVljfC9DNuxZb/OVM/Pul+pfOaQH342OzpDHOx0YZTTCFabPoZu9P9E+dYUBF8pPrmfwDjw+1lc4JSjyn+8pOZTSmI2HqMq1m17XYn1jyfHb6Ofyc9VFdbHWAsVQPOifdAu7Hm4JDDvwww5Fd1zR55Lh/MegpClFOkT6TclhlUFFbCU9O6cQDBqMt0eZi6FrPTFiKoKTTJcn5/SG3Mwsx4sFUJUQ9aJx2z4q5H++ZJF4nwTw55RRT2kjXYn+U9mzxM/sG1EuC5bB5nnhdLEzHPcNkAyglOH6U0nxLfF0yScz+MBcn5Zj8RkUpqysJgtW17tnXcvzmio+nhIcnSIGw0SpH4nXvKvwOEziHsNnunv1TgsQLBCyEzXb3K5F4/HZUfonEorqvjHhXamY8ZWomtXlBP+BfW3N2ltOXTPQAAAAASUVORK5CYII=" alt="" />
原因在于,给test2初始化的时候调用了Test类中的复制构造函数,而这个复制构造函数中:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqwAAABUCAIAAADI/vI6AAAWZElEQVR4nO2dTWscSbaGtRI2rYb2wlxQ03EvBlEMLuiiC1N2uLndzvKq3FVtjDzSphFI1MoIg4U3yXCvNchqgblQP6AsDYxR72Yl6ME99ixnPRv30j/Fd5ERmSciTmRGZn2oPt6HWkihzPjKrDxvnHMitSIAAAAAsJSsXHYHAABzQb19Lht2SSRb9nG1frR13vF9uv0NfeCGHHgOGzRrxf3ZkAOm9XKjaDW7cT35sRF32j376EYcyRY7IlVJrR9t6RryaDW71qDcEsWGHOieeI8pRyO2pzQZUbe/Qaex1o/I1RHmXGW9asTsVcu5FvyVasQdozl+sCPeJKAYiAAAQBg9aT95e9I1gbV+RKypYXRNM+Ox4sQYWNbXNNLVRIDZ51wR4BhFnkac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5dXr66dMlwhfcSefK36V8EBEAAMw9EAEsptlQgWEPD3ZNczhCDJtbg5YSAeLWo7cnj6LCnIZqDbnWMWDsMyACPKi5yulSPhABAIC55zJEAPHnjywCxPMdexOgmEg4INfAOIFtZhUekhPA5ut5vfS6RdOi7x0cHO4UZr9Xaoi1jkVj94iApPLG4Ukav/fmKtp1+sMB/PS6uwOYvpUXAZ5wAHQBAGCOmG5OAMngS+BEQLbFn6QHekVAspnQqpbdHTCuxEDtFUgMmJMtaBxcMjFQNe3kwSULbqNC7rBJNeRaxxJjZ21zlKXgPbJcGjQx0Fcn188qIoD4eEqLACYxMPlnkUgKAADMD5cSDrgkmMf2/OJ3+OcHL4BB5dgNKynl/hCeAADAPLFMImChZIBPBBRFLsA4cF8WlHgBoAAAAPPFcokAUTI/cIZhRECyyR7vP544i3IPAQDAvL8xEAAAAAAVgQgAAAAAlhSIAAAAAGBJgQgAAAAAlhReBCSpzsh+AgAAABaYHE8A3ooKAAAALDJ54QDshAIAAAAWGIgAAAAAYEkpEAGIBwAAAACLSsHuALk/xLtQAQAAgIUEngAAAABgSUFOAAAAALCkQAQAAAAASwpEAAAAALCk4GVBAAAAwJKC1wYDAAAASwr+gRAAAACwpEAEAAAAAEsKRAAAAACwpEAEAAAAAEsKRAAAAACwpPw/BxfKuPwOO9oAAAAASUVORK5CYII=" alt="" />
又有对成员的初始化列表,即对成员TestChild tc进行初始化,这里由于是对未初始化的对象进行初始化,所以使用了TestChild的复制构造函数。而tc=test.tc是对已经初始化的对象进行赋值,所以使用的是赋值操作符。
- 如果我们把Test类的复制构造函数改为:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjUAAAGWCAIAAAAPF+USAAAgAElEQVR4nO3dv09bW7/ncSr0PLpc3UtBMTy6q3ikiDMiUqybQQEnUm52UhFIIkQIxYksYaVCCAmL4lCFyCEZMUWk027MSBdlulNZyohMmHJOO43TXIk/ZAqm2L/WT3tv/1w275dcwGb/tlmf/V172Z4SAAD4Z2r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m8CrmTGi/IIiX1751vPPHgAHA41Nl4E+alrBVrDwZ0M+MwgkU2A/ikpsBktuvvU1xTmbF2jcDBigUhdmppm24rUlaLY92HJgEHgiQBzqAdJqpY5jOSRdiAD1UAxSW1HGgXmBSHaun8JUAH4INWs+QIcBOsN80WZxdhVNzF9k1CwzgB+hs7aS2oLH0R3FenklD6sK0KM4apo/smg2tHXoDCATlj5rVG1o7usUAAkdRU1cvBhC4CzGAwGksr6s/1i4GELgKMYDAaVSvekMMIHAX1bXrxQACdyEGEDgNMYDAaVSJAQQuQwwgcBpVteuPtXWJAQRu4j9xYG2b6Mr0bwAAAABJRU5ErkJggg==" alt="" />
因为,test2被test1初始化的时候调用了Test类的复制构造函数,而由于此时Test的复制构造函数没有初始化列表,Test类成员就使用的是TestChild tc的默认构造函数。而后再tc=test.tc中,由于tc已经被初始化,所以使用了赋值操作符。
- 如果再将复制构造函数改为:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAGMCAIAAADSpxRbAAAgAElEQVR4nO3dPWvc6r73cVeuDMGFGx9Ql+1740BmE7wTT9YiO0q4YTtxEozjeMMKAx5S3Jg5Bg8ulpsTB8cJuAmsaoM85oaQclUDOTjE9XoFk2aBX8gpfAo9XY8aaR4018x8P6iIZY2extFP/0uXpBkPAAA4ZmbUKwAAAFTEMwAAziGeAQBwDvEMAIBziGcAAJxDPAMA4BziGQAA53SJ50qzsxV0toKOv1bO+gAAgFzVs7/6YbjxvP5u9vrHjDhcvVssOI/F4NvMZX0oqwcAQMmciOfYwuWPuYMeP0s8AwAmhxTPSVP2VtCqpKPVeBYmE8avHD2NRz6t+VkjrbR49uev4no6jV5hZFhka8X3bNB1UQAAOCyN50qzs9U0lp/26nnl6Gkc5JWmYRrjSDslnsUfFy7j0D04N1bJVM8AgMmRxHPdDy5WV4zTaPG81kqq56TOXqpdbAVqwBtH2snxLFTJYk0c1crnC/JniWcAwOToIZ6FKYXqORImt5LHxpEGcjzX566/za/bpq3PySFNPA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AQE5UzwAAOIdrzwAAOId4BgDAOcQzAADO4bEkAAA4h4d6AgDgHF6JAQCAc4hnAACcQzwDAOAc4hkAAOcQzwAAOId4BgDAOcQzAADOIZ4BAHAO8QwAgHOIZwAAnEM8AwDgHOIZAADnEM8AADiHeAYAwDnEMwAAziGeAQBwDvEMAIBziGcAAJxDPAMA4BziGQAA50xGPC9c/pg7MP7Gn7/6MXNZT0ccnM9c/5i5lkfK01tmBQBAWYYYz+vvZsMgTIard4sF57EYfDPkaBKx1z9mA98rFM8Zs42nz47n5f3z3dOXOdcfAIBelFA927OzOz1HF4NvM9fnC/0tgngGADhtFPHsz1/90FqYhZFhka0V37OBb4vPhcsfcwf1OaVGt7dja/EsLP3aHs8/7b3+/nVXGF7v349+tX2SjHyxnXxg87jdbh9v5t1TAACEyo9n8ceFy6h12js4N5azao6uv5u9/ja/blhEXFLX5+R8NRbKysiFyyTCe6qet092v5/cM0xLPAMAelJ6PEt1anLxOK6V1Vbr/PEcL0LN1xzxXJ9L59lLPN87FcpoAAD6V3o8i1moCxuo05DWwlUtjrVFEM8AgPE3ksZtS7eskByQB+dKf+9uXcN6iGd//ioq4heDb1nXnkPbJ7uf95aFEcv751mN20Gjmjk/AABUI+4aFpetYS6aenKlE0fN4NGVZtuNVWk8S/OMZ2scmXZDu6zn6AR+//FntWvY8v65qWtYtRFw8RkAUNxkPJbEWdVGQPUMACiMeB6WsHImmwEAPSCeAQBwDvEMAIBziGcAAJxDPAMA4BziGQAA56TxvHncbnOTLgAADpCr52ojIKABABg1pXF785hbdQEAGLUc8cxbEQEAKJcSz6bWbeIZAIByGXpu85olAABGK0f1DAAAypX32jPVNAAApckRz7y0GACAcuW5sYqXFgMAUKoujyXhpcUAAJSPh3oCAOAcXokBAIBziGcAAJxDPAMA4BziGQAA5xDPAAA4h3gGAMA5xDMAAM4hngEAcM7/Aj+JHBD625/6AAAAAElFTkSuQmCC" alt="" />
此时再执行Test test2=test1,输出结果为:
aaarticlea/png;base64,iVBORw0KG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ZMz/fnNLeD6Dir4LA2aKjGkGiJIaF1gkXcH2wDEclKyOeiJHS0YnpiKvza0Ph9OzIouS+WFuQoDUqMfA+KngJU5u+WhXi1xcQPdwnly18WbCHxj3z4z7ZzY/bB8R/R2ZYAAPT5guUrtItxh7jHMyN6bW5b5S7Zn+OTFkcjo4OR2cmA5sbX8Uni0CT4upRUDHwCJTu3IAzgVtASeS2ZJbTHXKeePEkKlAOPL6sL2TmvlVZBEeFUaL1HsS7AQ5dYyZ0gsJea6cPfOiAi4z2GeM7A8I08HZyGv7427a3rNFxLKDpyKAX5TbglWu6HKS5I+MggkksQfiMo0BYmdPnaZeRR8IzQVC84Hw/PbObrpIu0I9SJHJmcGKZLql+qEeSxYB+UqcS4bHvEjkho0UfWI5WNoNzwfD88HZhY87n9Kz/v93woIBeSwpFVgkj8mz4G4ClxBgQJU7MwRgCdjLLSanIODSdEZwdiE4uxCaW/y4+0l4PoMYQJTURWovNBltcvZdLoeEJ0YlOXuoktDcQmh2MTS3uLP7SXguDoejA56PT0Vem1vbXLscPXEjr+hGXvHf/5SM+QPU9wwcTpKSe+mP3Mt/nr/6l8PVl5HFtcvRD2d+un7259/O/vJ7p9MtPI+Mw9EBpy9eO33h+pmL19uf9Kbx555zdMSp81dP/fjrqQvX2hw9wu+EORwd8H3ulZzcKzm5V1rtLv7//HD0RM65SznnLn/3w6WWTueRjKxEp8PhYPkP0T8qyk6L6FsAAAAASUVORK5CYII=" alt="" />
因为,这里在Test的复制构造函数的初始化列表中对tc进行了初始化,所以就不会再用tc的默认构造函数初始化了。
- 如果我们这里再对一个test3这样初始化:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAAAVCAIAAAASIDGYAAACF0lEQVRoge1YO66CQBSlsrKxoLGYDbABglTG9iUUkNBQWRpCQuIGDKFhC5NM4xJILIxsw9Kl+AoYZwaGPwjvMSc0IHcuc88594ISEJglpKkfQIAPQcxMIYiZKZZCjBnEgfn1rJoLoat1CiXE/FxW76dEH6/LtuVqW3iXkmOTOxUfnSKr5fKV4XZ4etzSw/F3zE+aC1lahs8OdocrL7sZxN0UUXSMnDzX5w4rATAtMR/onvNAB/1zXqBlhOyKjwybmx2YQdzFNQ2I2W9e2EOk6NTF1FgFw63gnp9S9xwsbVZiRHTUtqmLV0+pCqfXD9WywoydHVjG45aRlIIjDDOI64xUSwx9Kie43GfEdUYfx6gR2Y8a4Q3bIVfaXMmrUVqsesGOkT1DThYA8JgZgBjKGbQPMn8gmY3tQQylTVqJmUJzW63uRYxmuVN/tOwFu+BnaN3N6og5rt/3zU9Z9HHN0tODGMtglc7CMtgCVQ8JIvmmxAyRXfccHitgHGKAnDwra73fvKj7z6jpu5wdZl0bQ41ulQN5d7hS2y6EU2CqzC/K4NnLWSltZdVctRv+2D1beCf9jaGN3Fw6/DMU3y/pfpJVVvER6TAlzScNxwMmP2NKmBk2e74TMjdzhr/mwrohs4APTE5hvgmuMDQXtnbMP8SE1BQ/MFO31M6cRRADpvpLpkfWpRDz5yCImSkEMTOFIGamEMTMFL8SR4apXEw7BwAAAABJRU5ErkJggg==" alt="" />
重复前面三步,结果是完全一样的。虽然Test test2=test1和Test test3(test2)表面形式上来看不同,但是他们实际上做的事是相同的,这说明我们不能从表面上来判断它是调用的复制构造函数还是赋值操作符,而需要看具体执行的是什么操纵。如果执行的是自己初始化,那么使用的是默认构造函数;如果用别的对象对自己进行初始化,那么使用的是复制构造函数;如果自身已经初始化过,而用别的对象对自己进行赋值,那么使用的就是赋值操作符。
- 如果我们此时再多写一句:test3=test1,则会输出结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPQAAAA1CAIAAAD5+VG4AAAH70lEQVR4nO1dbU8bRxC+P9IkDcUG83aAMS8mBhuDgTi2EW9VwLw3SRVK82IpbdUvaSslPwOSAIEAISEJhUTNkUpV1fypfrhysm93Z2bPB2e7+8iKVrOzzzwzO7sx4AMtPjLbNzITS8/svP69pjGoKShUDK5NLSenbyev394//KO+tctrOQoK7mH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nzd9Ny99Nzd10cnuvzNLTJybzWYhNgWFDfZk0ZcK/JHTx1wDmHOM/L/v2B4anl4avnq1PL+4cfGtm7TmN+X8LZZoBtFU/AxkDpvNv3EKJRANn8gLuoMQDW3O4iPLcbHluKji7uF3y2xKkXsQpEb3LIoLZeHO7YZgf62kdvaAj1FlOOt+qwkcOXqdfNle4bScmDHlOsK3WlrlQi2teghgXVSQgCegL/IqPrbe5i/KDDUl9nc4f+EEuharpF7sbmy93DPeQWRBs+FKfz3wammcOLZlvotrwqVhUBbNNAWDbT1PtncuVRd67UcBQX34G/uNl9r69vqMTOFioL5157UH3xSqDz8C8WsWaCedn5/AAAAAElFTkSuQmCC" alt="" />
原因在于,test3是已经初始化过的对象,再对test3赋值,就调用了Test类的赋值操作符:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkAAAAB5CAIAAABeEgktAAAZW0lEQVR4nO2dTUscyxrHXWUVkCzOIhF6IagXRu4ZlEHTOZ4h7XAXnegJwWSyOIMQcXERCWSYRQYOxIt5ARHkZjsxG5nlWQ0IHpL1+QTeTSAfJXfRVV1PVT3VL+O8tfn/cDGW1fXa/fzreap6nPIAAACAAjI17gYAAAAA/QABAwAAUEggYAAAAArJDyZg/n6n1+v1er3DrXE3ZRRsHV7rjl59Nu/Vzs73jp4kZ1o9On/0LHuTOvt+n60BAORjqAIW3H13GYQpmTb+c+P7/6boz7f/3MlZ0Z3OX1NfdlKz+fudyNZtHfYmx8xUX/3594ffB19u3NthMsYpHsRsXknASi8/MdduHf4oyyMAxs74BUzy05f/3Wz1WVF2AYss3Uhse1aGI2Aj6uIYp3hks5lPwCZseQTAdUYJWLl5+bQT/ZyWo6TKwUOREhupnaBzenf7Ikp8uB14Vs4ocUHmkT8XdyvJLbGsW3Drm1ywK8tFEqNVvLW6v9EJrLIlYnWcZZFcffXn3wKpLr9/+PvDK5n856uqO6eeVSb//uHvv/Wc5FK91MxlJvTUNqLXbIqzz+azt3tHL2pn53ufz/c+SzV69jb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QtPY/9Jp8ACJojijZAxAAAYFaMVMG8ncBzhKzeN7as4wBjcfae20IYjYGztOQXMzol/AQUAAMNkxAKmRxGpN6bSRVxxQZ3LOAiGLGBW7WyZkZSqnyA0E7W24V9AAQDAMJmQY/TXEvwLKAAAGCIQsKGAfwEFAADDBgIGAACgkEDAAAAAFBIIGAAAgEICAQMAAFBIIGAAAAAKiRCwrcNeDy8tAQAAKA7EA/P3O5AwAAAABYGGELcO8eoSAACAggABAwAAUEiogCGGCAAAoDCYpxDxFeoAAAAKATwwAAAAhQR7YAAAAAoJBAwAAEAhgYABAAAoJHiRGQAAQCHBV0kBAAAoJPgyXwAAAIUEAgYAAKCQQMAAAAAUEggYAACAQgIBAwAAUEggYAAAAAoJBAwAAEAhgYABAAAoJBAwAAAAheT/jpU0YlU0DtcAAAAASUVORK5CYII=" alt="" />
而Test类的赋值操作符中,又有对tc的赋值,因为test1也初始化过了,这里再对test1赋值就调用了TestChild类的赋值操作符。
全部代码如下:
class TestChild
{
public:
TestChild()
{
x = ;
y = ;
cout << "TestChild: Default Constructor!" << endl;
}
~TestChild(){}
TestChild(const TestChild& tc)
{
x = tc.x;
y = tc.y;
cout << "TestChild: Copy Constructor!" << endl;
} const TestChild& operator=(const TestChild& right)
{
x = right.x;
y = right.y;
cout << "TestChild:Assignment operator!" << endl;
return *this;
} int x, y;
}; class Test
{
public: Test(){ printf("Test: Default Constructor!\n"); }
explicit Test(const TestChild& tcc)
{
tc = tcc;
}
~Test(){}
/*Test(const Test& test) :tc(test.tc)//tc(test.tc),这里是对tc进行初始化,所以调动的是Copy Contrustor
{
tc = test.tc;//这里是赋值所以调用的是assignment operator
printf("Test: Copy Constructor!\n");
}*/ /*Test(const Test& test)
{
tc = test.tc;//先Construct tc,在对tc assignment operator
printf("Test: Copy Constructor!\n");
}*/ /*Test(const Test& test) :tc(test.tc)//这里直接用复制构造函数初始化,而忽略了下边TestChild tc
{
printf("Test: Copy Constructor!\n");
}*/ const Test & operator=(const Test& right)
{
tc = right.tc;//这里又有对数据成员tc的赋值,已经初始化过的tc再次赋值,此处也调用了
//TestChild的赋值操作符
printf("Test:Assignment operator!\n");
return *this;
} TestChild tc;
}; int main()
{
Test test1;//调用自身的默认构造函数;由于有成员TestChild,所以也会调用TestChild的默认构造函数 cout << "---------------------------------------------" << endl;
Test test2 = test1;//用test1构造一个不存在的test2,所以这里是调用的test2的复制构造函数; cout << "---------------------------------------------" << endl;
Test test3(test2); cout << "---------------------------------------------" << endl;
test3 = test1;
system("pause");
return ;
}
做一个总结,参考:http://bbs.csdn.net/topics/210020066
复制构造函数
拷贝构造函数,经常被称作X(X&),是一种特殊的构造函数,他由编译器调用来完成一些基于同一类的其他对象的构件及初始化。它的唯一的一个参数 (对象的引用)是不可变的(因为是const型的)。这个函数经常用在函数调用期间于用户定义类型的值传递及返回。拷贝构造函数要调用基类的拷贝构造函数 和成员函数。如果可以的话,它将用常量方式调用,另外,也可以用非常量方式调用。
在C++中,下面三种对象需要拷贝的情况。因此,拷贝构造函数将会被调用。
1). 一个对象以值传递的方式传入函数体
2). 一个对象以值传递的方式从函数返回 (对象传入函数和从函数返回一个对象,都是利用的对象的一个副本)
3). 一个对象需要通过另外一个对象进行初始化
以上的情况需要拷贝构造函数的调用。(这三种情况其实都是执行的初始化)
“一个用于构造对象(构造过程中的拷贝),一个用于拷贝对象(构造完成以后的拷贝)”
“用一个已存在的对象去构造一个不存在的对象(构造之前不存在),就是拷贝构造;用一个已存在的对象去覆盖另一个已存在的对象,就是赋值运算.
”
C++中复制构造函数和赋值操作符的更多相关文章
- C++学习基础六——复制构造函数和赋值操作符
1.什么是复制构造函数 复制构造函数:是构造函数,其只有一个参数,参数类型是所属类的类型,且参数是一个const引用. 作用:将本类的成员变量赋值为引用形参的成员变量. 2.什么是赋值操作符 赋值操作 ...
- C++在单继承、多继承、虚继承时,构造函数、复制构造函数、赋值操作符、析构函数的执行顺序和执行内容
一.本文目的与说明 1. 本文目的:理清在各种继承时,构造函数.复制构造函数.赋值操作符.析构函数的执行顺序和执行内容. 2. 说明:虽然复制构造函数属于构造函数的一种,有共同的地方,但是也具有一定的 ...
- C++11六大函数(构造函数,移动构造函数,移动赋值操作符,复制构造函数,赋值操作符,析构函数)
在C++中,有三大函数复制控制(复制构造函数,赋值操作符,析构函数),而在C++11中,加入了移动构造函数,移动赋值操作符.我就斗胆将他们命名为六大函数好了. 一.构造函数 c++primer中说过: ...
- [C++]复制构造函数、赋值操作符与隐式类类型转换
问题:现有类A定义如下: class A{public: A(int a) //构造函数 { ...
- C++复制构造函数和赋值符的区别
From http://blog.csdn.net/randyjiawenjie/article/details/6666937 非常感谢原作者分享. class CTest{public: CTe ...
- c++ 复制构造函数和赋值函数
c++ 自动提供了下面这些成员函数 1默认构造函数 2.复制构造函数 3.赋值操作符 4.默认析构函数 5.地址操作符 赋值构造函数copy construtor 用于将一个对象复制到新创建的对象中, ...
- [c++基础]3/5原则--拷贝构造函数+拷贝赋值操作符
/* * main.cpp * * Created on: Apr 7, 2016 * Author: lizhen */ #include <iostream> #include &qu ...
- C++中复制构造函数与重载赋值操作符总结
前言 这篇文章将对C++中复制构造函数和重载赋值操作符进行总结,包括以下内容: 1.复制构造函数和重载赋值操作符的定义: 2.复制构造函数和重载赋值操作符的调用时机: 3.复制构造函数和重载赋值操作符 ...
- 深入理解c++构造函数, 复制构造函数和赋值函数重载(operator=)
注 以下代码编译及运行环境均为 Xcode 6.4, LLVM 6.1 with GNU++11 support, Mac OS X 10.10.2 调用时机 看例子 // // main.cpp / ...
随机推荐
- UEFI主板GPT方式安装CentOS6.4
1. 设置BIOS:禁用CSM,禁用安全启动: 或不用禁用CSM,但以EFI方式安装系统: 2. 使用Diskgen或类似工具把硬盘格式为GPT格式(可以建立多于4个的主分区了): 3. 官 ...
- HDU 5868 Different Circle Permutation(burnside 引理)
HDU 5868 Different Circle Permutation(burnside 引理) 题目链接http://acm.hdu.edu.cn/showproblem.php?pid=586 ...
- stm32 串口乱码的解决
版权声明:本文为博主原创文章. 前几天在中移物联网申请了一个迷你开发板,运行官方提供的程序,感觉板子是正常的.但是自己写的程序能够刷到板子上,但是串口却是乱码.官方和我的额程序都是用的库函数的方式写的 ...
- [折腾纪实]JAVA的坑
开贴记录使用JAVA踩的坑-- P.S. 学习编程最好的方法就是用一个贴心的IDE写,然后隔着屏幕都能感觉到IDE在骂自己SB-- Overridable method calls in constr ...
- __stack_chk_fail栈检查失败
1. __stack_chk_fail的作用 在了函数的局部变量和保存的指令指针(译注:此处指返回地址和EBP)之间.这个值被称作金丝雀(“canary”)值 参考 http://www.freebu ...
- UILabel属性小解
#import "ViewController.h" @interface ViewController () @end @implementation ViewControlle ...
- jquery属性与样式
1.attr()与prop() 每个元素都有一个或者多个特性,这些特性的用途就是给出相应元素或者其内容的附加信息.如:在img元素中,src就是元素的特性,用来标记图片的地址. 操作特性的DOM方法主 ...
- angular指令
转自:http://www.cnblogs.com/rohelm/p/4051437.html 对于指令,可以把它简单的理解成在特定DOM元素上运行的函数,指令可以扩展这个元素的功能. 首先来看个完整 ...
- JqGrid相关操作
JqGrid相关操作 根据jqGrid的文档,要想生成一个jqGrid,最直接的方法就是:$("#grid_id").jqGrid(options);也就是通过选择符得到一个tab ...
- 设计模式 -- 责任链模式或者叫职责链模式(Chain of Responsibility(CoR))
什么是链?前后相连,一个连接下一个,其中包括多个节点,其实责任链模式也类似,他是多个对象之间相互关联,下一个对象的操作由上一个对象关联下来,上一个对象有个方法用于指向其他对象.职责链之间的前后关系是可 ...