Added Howard Hinnant's elegant C++14 solution avoiding the need for custom tuple explosion