A C++ variant class.