Now that we can use std::variant from the vanilla standard library, drop the third-party boost variant dependency.
Patch is split out from #20480. A step-by-step replacement is possible because we don’t have our own Variant
wrapper and the source code specifies boost::variant
explicitly.
I think a step-by-step replacement should be preferred, because it simplifies review.