This post continues (ends?) the story of my attempts to create a nice “pattern matching” syntax for variant visitation.
Back in October 2016, in part 1 of the series, I discussed a simple way of implementing a visit_in_place
function that would allow variants to be visited providing a set of lambda expressions that would be overloaded on the spot.