ultimatepp/uppdev/Any/Any.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

19 lines
251 B
C++

#include <Core/Core.h>
using namespace Upp;
int x;
thread__ int *alfa[10] = { &x, &x };
CONSOLE_APP_MAIN
{
Any alpha;
alpha.Create<int>();
__BREAK__;
if(alpha.Is<int>())
RLOG("int");
if(alpha.Is<int>())
RLOG("int");
}