[boost] [result_of] decltype and function objects