Home » U++ Library support » U++ Core » Vector& Vector::operator<<(T&& x) is missing
Vector& Vector::operator<<(T&& x) is missing [message #53063] |
Tue, 18 February 2020 18:48 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Missing code:
Vector& operator<<(T&& x) { Add(pick(x)); return *this; }
This would allow to compile code below.
Vector<int> vi1,vi2;
Vector<Vector<int>> vvi;
vi1<<1<<2;
vi2<<3<<4;
vvi << clone(vi1) << clone(vi2);
vvi << pick(vi1) << pick(vi2);
Regards,
Novo
|
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:48:09 CET 2024
Total time taken to generate the page: 0.01861 seconds
|