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:
cxl 2014-03-16 16:35:29 +00:00
parent 51687976c2
commit e5dfeba4be
58 changed files with 1176 additions and 2335 deletions

View file

@ -2,17 +2,18 @@
using namespace Upp;
struct ArrayOneHelper {
Array<T> array;
One<T> one;
public:
operator One<T>&();
~ArrayOneHelper() { array.Add(one.Detach()); }
};
CONSOLE_APP_MAIN
{
Test(array.AddOne());
Array< Vector<int> > a;
a.Add() << 1 << 2 << 3;
auto b = clone(a);
DUMPCC(a);
DUMPCC(b);
Vector<int> h;
h.Insert(0, {1, 2, 3});
h.Insert(1, {5, 4, 3});
DDUMPC(h);
}