summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1636_Regression/README
blob: e9417c4dd20d113f67aa997108b406aea48c5ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$Id$

An Any is populated with a union whose member is not empty.
Call dynAny->from_any (Any);
to put the Any'd union into a DynAny object.
Call dynAny->to_any () : Any
to get the Any'd union from a DynAny object.

Repeat the process except this time, use a union whose member is empty,
ie, _default () has been called on the union.

from_any (Any) succeeded.
to_any () : Any failed.

to_any () needs to check for an empty union before adding its member
to a CDR stream.