Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 next message
Novo is currently offline  Novo
Messages: 1358
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
Re: Vector& Vector::operator<<(T&& x) is missing [message #53064 is a reply to message #53063] Tue, 18 February 2020 18:53 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Applied. Thank you.

Mirek
Previous Topic: Possible inconsistency with Rect::Contains() right-bottom bounds?
Next Topic: ImageDraw not available in Draw
Goto Forum:
  


Current Time: Thu Apr 25 13:52:44 CEST 2024

Total time taken to generate the page: 0.03760 seconds