Structured bindings in C++17

Structured bindings are a useful new feature in c++17. They are particularly handy where you have multiple return values. Here are some examples showing how things have evolved over different versions of c++:

This entry was posted in programming and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *