Re: [04/23] Move iterator_range to a new iterator-utils.h file

2020-11-25 Thread Jeff Law via Gcc-patches
On 11/13/20 1:13 AM, Richard Sandiford via Gcc-patches wrote: > A later patch will add more iterator-related utilities. Rather than > putting them all directly in coretypes.h, it seemed better to add a > new header file, here called "iterator-utils.h". This preliminary > patch moves the existi

[04/23] Move iterator_range to a new iterator-utils.h file

2020-11-13 Thread Richard Sandiford via Gcc-patches
A later patch will add more iterator-related utilities. Rather than putting them all directly in coretypes.h, it seemed better to add a new header file, here called "iterator-utils.h". This preliminary patch moves the existing iterator_range class there too. I used the same copyright date range