New issue
Advanced search Search tips

Issue 824998 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Grit should emit resources in C++11 friendly arrays

Project Member Reported by dcheng@chromium.org, Mar 22 2018

Issue description

Grit resources are currently declared with unknown size in the header, e.g. https://cs.chromium.org/chromium/src/out/Debug/gen/ui/resources/grit/ui_resources_map.h

This means that range-based for loops can't be used to iterate over them. We should be able to include the actual size in the headers, and that should allow range-based for loops to Just Work.
 

Sign in to add a comment