[boost] Getting the types of arguments for a bind.