Use inheritance to avoid extra space consumption (because sizeof(tuple<>) == 1).