Why does this std::function and operator cause a segmentation fault?

后端 未结 0 973
天命终不由人
天命终不由人 2021-01-29 06:52

I don\'t see anything wrong with this code but it gives me a seg fault. Changing the std::function to a normal function solves the problem. Also removing the addition in the ove

相关标签:
回答
  • 消灭零回复
提交回复
热议问题