Last active
January 11, 2017 14:20
-
-
Save picanumber/e6eb30ada12dac1475c7522944a9f2ff to your computer and use it in GitHub Desktop.
Custom destructuring the sorted view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sorted_view sv(first_name, last_name, sport, medals_gold, | |
medals_silver, medals_bronze, medals_total); | |
auto [bName1, bName2, bSport, bGoldM, bSilverM, bBronzeM, bTotalM] = sv; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment