13.1.25.7 Any Constructors, Destructor, Assignment Operator
The default constructor creates an Any with a TypeCode of type
tk_null, and no value. The copy constructor calls
_duplicate on the TypeCode_ptr of its Any
parameter and deep-copies the parameter’s value. The
assignment operator releases its own TypeCode_ptr and
deallocates storage for the current value if necessary, then
duplicates the TypeCode_ptr of its Any parameter and
deep-copies the parameter’s value. The destructor calls
release on the TypeCode_ptr and
deallocates storage for the value, if necessary.
Other constructors are described in the section Handling Untyped Values.
Parent topic: Any Type