mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 13:47:10 +01:00
Any SOO
This commit is contained in:
@@ -72,6 +72,9 @@ AnyTest::~AnyTest()
|
||||
|
||||
void AnyTest::testInt()
|
||||
{
|
||||
Any e;
|
||||
assert (e.empty());
|
||||
|
||||
Any a = 13;
|
||||
assert (a.type() == typeid(int));
|
||||
int* i = AnyCast<int>(&a);
|
||||
|
||||
Reference in New Issue
Block a user