CORBA Programming Reference
CORBA::Any & CORBA::Any::operator=(const CORBA::Any & InitAny)
A reference to an Any to use in the assignment. The Any to use in the assignment determines whether the Any assumes ownership of the memory in Value
. If Release
is CORBA_TRUE
, the
Any assumes ownership and deep-copies the InitAny
argument's value; if Release is CORBA_FALSE
, the Any shallow-copies the InitAny
argument's value.
This is the assignment operator for the Any class. Memory management of this member function is determined by the current value of the Release
flag. The current value of the Release
flag determines whether the current memory is released before the assignment. If the current Release
flag is CORBA_TRUE
, the Any releases any value previously held; if the current Release flag is CORBA_FALSE
, the Any does not release any value previously held.