1. 程式人生 > >C++Event機制的簡單實現

C++Event機制的簡單實現

複製程式碼

<---------------first begin---------------
executeCb1 result = 100
executeCb2 result = 100
executeCb1 result = 200
executeCb2 result = 200
---------------after delete---------------
executeCb2 result = 100
executeCb2 result = 200

複製程式碼