std::get_if
std::visit
`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.
std::string
const
FileStackNode::dump
clang-format
enum
std::vector