C++ Language/Variables/DecomposingAuto

The statement  simultaneously defines two variables (  and  ), initializing each of them to some corresponding value from the right-hand-side. The right-hand-side could be a  or it could be an object (whose first data member is a , and second data member is a  ).

Additional information about decomposing-auto (includes interactive examples)