Is std::bind exactly equivalent to a function object If I create a similar one ?
<Though the subject line may be a bit misleading, bear with me a little>
I was reading up on pthread `s and then found out std::thread. It ...seems wonderful.
So, are the following versions of the snippet exactly equivalent?
Or is there some hidden difference I should know about ?
void foo(std::string bar)
[Also, I remember seeing a thread here in which someone posted about a bug in gcc's implementation of std::thread. I can't find it now. Anyone remember what it was about?]