I am new to C++. I read very frequently from some sites that variant member?.
class School { int x; -> data member. }
I know data member
A variant is a structure containing a union member and an unsigned integer member that describes which member of the union is currently being used. If you don't know what a union is, read about it first, and then come back.