Consider a tuple t of n objects with similar interface (like all have the same base class); n is known during compilation. I need to make a sum as following
t