in fatal/container/legacy_variant.h [690:705]
static void visit(
size_type const depth, union_type &u, TVisitor &&visitor,
UArgs &&...args
) {
if (depth == Depth) {
head_type::template visit(
depth, u.head, std::forward<TVisitor>(visitor),
std::forward<UArgs>(args)...
);
} else {
tail_type::template visit(
depth, u.tail, std::forward<TVisitor>(visitor),
std::forward<UArgs>(args)...
);
}
}