Tuple sum Time : Space : 123456#include <tuple>template <typename... Ts>double tuple_sum(const std::tuple<Ts...>& tpl) { return std::get<int>(tpl) + std::get<double>(tpl);}