as in util/hashtab.h:
// TODO: should probably use boost::bind for this, but didn't want to look at it
and in db/namespace.cpp:
// TODO: need to implement this
// need boost::bind or something to make this less ugly
And I took a little time to look at this piece of code and find it's easy to translate the function callback into using boost::bind.
Pull request here: https://github.com/mongodb/mongo/pull/109
Commit here: https://github.com/guanqun/mongo/commit/ff8246b38184a72464f2a1fb50d30da6a328e792
Please review and possibly merge it.