Comment Comment by harrouet Why not use std::variant instead of an enum and a collection of ifs ? parent harrouet 10 days ago