void copy(variant const& v) { if (v.current == invalid) return; copy(v.current, v.get(v.current)); current = v.current; }