Hacker News new | ask | show | jobs
by harrouet 38 days ago
Why not use std::variant instead of an enum and a collection of ifs ?