I initially thought they\'re all the same, but it turned out to be wrong. So can anyone briefly explain the differences between these three? For example:
It shouldn't make a big difference since large parts of the next C++ standard were in fact inherited from Boost. So if you have std::bind
and don't have to be compatible with other compilers, just use it.boost::bind
is good if you want to be compiler-independent. I think std::tr1::bind
doesn't have any advantages over the other two if they are available: it is nonstandard with respect to both C++03 and C++0x.