U++ framework
Do not panic. Ask here before giving up.

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 Go to previous message
Novo is currently offline  Novo
Messages: 1433
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
 
Read Message
Read Message
Previous Topic: Possible inconsistency with Rect::Contains() right-bottom bounds?
Next Topic: ImageDraw not available in Draw
Goto Forum:
  


Current Time: Sun Nov 08 05:09:31 GMT+1 2026

Total time taken to generate the page: 0.00595 seconds