mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 14:16:46 -06:00
cpp11 branch - committing the merge (rest of it)
git-svn-id: svn://ultimatepp.org/upp/trunk@7048 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
51687976c2
commit
e5dfeba4be
58 changed files with 1176 additions and 2335 deletions
|
|
@ -1,5 +1,14 @@
|
|||
#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;
|
||||
|
|
@ -9,4 +18,15 @@ CONSOLE_APP_MAIN
|
|||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue