Cling (i.e., cppyy) cannot handle the definition of variant as it is provided in recent GCC C++ standard library implementations. We should investigate whether this can be fixed upstream in cppyy-cling somehow. Otherwise, we should probably use a non-standard variant implementation for Side.
See https://sft.its.cern.ch/jira/browse/ROOT-10220 for the upstream issue.