Why does valgrind's DRD tool complaines "Conflicting load by thread ... at size 4": about such code:
void SomeFunction(const int& value)
{
boost::bind(..., value); /* <-- complaines on this line
with last backtrace function "new(int)" */
}
Does boost::bind() stores values by reference or value?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…