I've tried that, but then the compiler (clang and sometimes gcc) starts complaining that the operator[] is ambiguous when the argument is a uint32_t. My commit 6533afb above in the pull request was an attempt at this (multiple versions), but it failed.