In addition to member data, unions can have member functions, as described in “Member Functions”. While unions can have special functions such as constructors and destructors, unions cannot contain virtual functions. (For more information about constructors, see topic ; for more information on destructors, see topic in Chapter 11.)