考備建構員的基本問題
請問如果有 operator= overloading 也有自定考備運運算子的 class
當
Cwin a,b;
a=b;
會去跑哪一個 function?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.204.40.189
→
06/03 14:11, , 1F
06/03 14:11, 1F
→
06/03 14:12, , 2F
06/03 14:12, 2F
→
06/03 14:54, , 3F
06/03 14:54, 3F
推
06/03 14:56, , 4F
06/03 14:56, 4F
推
06/03 15:01, , 5F
06/03 15:01, 5F
推
06/03 15:40, , 6F
06/03 15:40, 6F
推
06/03 16:14, , 7F
06/03 16:14, 7F
→
06/03 16:40, , 8F
06/03 16:40, 8F
→
06/03 17:03, , 9F
06/03 17:03, 9F
→
06/03 17:37, , 10F
06/03 17:37, 10F
→
06/03 17:46, , 11F
06/03 17:46, 11F
→
06/03 18:55, , 12F
06/03 18:55, 12F
→
06/03 19:27, , 13F
06/03 19:27, 13F
推
06/03 19:44, , 14F
06/03 19:44, 14F
→
06/03 20:09, , 15F
06/03 20:09, 15F
→
06/03 21:14, , 16F
06/03 21:14, 16F
→
06/03 21:22, , 17F
06/03 21:22, 17F
→
06/03 21:22, , 18F
06/03 21:22, 18F
→
06/03 21:34, , 19F
06/03 21:34, 19F
推
06/03 21:44, , 20F
06/03 21:44, 20F
→
06/03 21:44, , 21F
06/03 21:44, 21F
→
06/04 00:40, , 22F
06/04 00:40, 22F
→
06/04 05:01, , 23F
06/04 05:01, 23F
→
06/04 08:40, , 24F
06/04 08:40, 24F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章