TabbedTable cpp solution