gbdev / rgbds

Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color

Home Page:https://rgbds.gbdev.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abbreviate `s.begin(), s.end()` with a `RANGE(x)` macro

Rangi42 opened this issue · comments

Not everything that we support allows std::ranges, and in the meantime we have a lot of s.begin(), s.end() arguments to things. A #define RANGE(s) std::begin(s), std::end(s) macro would shorten them.