14.3.11.4 Description
These member functions replace the data and TypeCode value
currently contained in the Any
with the value of the
TC
and Value
arguments passed in.
The functions perform a nontype-safe replacement, which means that
the caller is responsible for consistency between the TypeCode
value and the data type of the storage pointed to by the
Value
argument.
If the value of Release is CORBA_TRUE
, this
function releases the existing TypeCode pseudo-object in the
Any
object and frees the storage pointed to be the
Any
object reference.
Parent topic: void CORBA::Any::replace()