为什么 valgrind 的 DRD 工具会抱怨“线程负载冲突……大小为 4”:关于这样的代码:
void SomeFunction(const int& value)
{
boost::bind(..., value); /* <-- complaines on this line
with last backtrace function "new(int)" */
}
boost::bind() 是按引用还是按值存储值?