Comparing std::tr1::function<> objects

前端 未结 7 1667
粉色の甜心
粉色の甜心 2020-12-07 02:36

I\'ve been trying to implement a C#-like event system in C++ with the tr1 function templates used to store a function that handles the event.

I created a vector so

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 03:12

    FAQ #1 in the boost function documentation seems to address your question - and the easy answer is "no".

提交回复
热议问题