Equip the visitor macro with a virtual dtor.