mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-09 19:39:36 +00:00
0af1e512c2
`std::visit` is (arguably) cleaner code, but older versions of gcc and clang (not very old; the ones packaged with Ubuntu 22.04 LTS) compile them as tables of function pointers, instead of efficient jump tables.