November 01, 2005
An Efficient Variant Type
Listing 3
struct MyStruct { };
a = MyStruct();
cout << "the type currently held is a " << a.type().name() << endl;
|
|
||||||||||||||||||||||||||||
|
|
|
|