boost::function Usage Question