mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -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
|
|
@ -9,15 +9,15 @@ CONSOLE_APP_MAIN
|
|||
v.Add(2);
|
||||
DUMPC(v);
|
||||
|
||||
Vector<int> v1 = v;
|
||||
Vector<int> v1 = pick(v);
|
||||
DUMPC(v1);
|
||||
// DUMPC(v); -> v is picked, this would crash with runtime error
|
||||
|
||||
v <<= v1;
|
||||
v = clone(v1);
|
||||
DUMPC(v1);
|
||||
DUMPC(v);
|
||||
|
||||
Vector<int> v2(v, 0);
|
||||
Vector<int> v2 = clone(v);
|
||||
DUMPC(v2);
|
||||
DUMPC(v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue