ultimatepp/uppdev/Vector/Vector.cpp
cxl 2e4b276e07 Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

32 lines
423 B
C++

#include <Core/Core.h>
using namespace Upp;
Vector<int> Test()
{
Vector<int> x;
x << 1 << 2 << 3;
return pick(x);
}
CONSOLE_APP_MAIN
{
Vector<String> test;
test.Add("1");
test.Add("2");
test.Add("3");
test.Add("5");
test.Add("4");
DUMPC(test);
Vector<String> b = pick(test);
for(auto x: b)
DLOG(x);
DDUMP(__cplusplus);
#ifdef CPP_11
LOG("C++ 11 active");
#endif
}