Revision dfa5401af6d9cd5ba21b68d532d84bdd23517ea4 authored by Brad King on 14 June 2022, 18:20:32 UTC, committed by Brad King on 14 June 2022, 18:21:01 UTC
1 parent 3b4bd01
Raw File
cxx_range_for.cpp

void someFunc()
{
  int accumulated = 0;
  int numbers[] = { 1, 2, 5 };
  for (int i : numbers) {
    accumulated += i;
  }
}
back to top