Is the ranged based for loop beneficial to performance?
The Standard is your friend, see [stmt.ranged]/1 For a range-based for statement of the form for ( for-range-declaration : expression ) statement let range-init be equivalent to the expression surrounded by parentheses ( expression ) and for a range-based for statement of the form for ( for-range-declaration : braced-init-list ) statement let range-init be equivalent … Read more