[boost] An analogue of boost.function with multiple signatures